剪切与粘贴文件及文件夹
语法格式:
复制与粘贴文件及文件夹
CopyAndPasteFiles(string directoryid, string fileordirectoryid, string groupid)
参数一(必填):粘贴到哪一个目录下面的目录id。
参数二(必填):文件或者目录id,可以是多个,用逗号分隔"guid,guid".
参数三(必填):用于通知群里面的成员,pastegroupid的值为guid, 可以是群的id或者FTP(为自己的用户id)的id,如果为空"",表示不通知,
返回值:
{
PID:"d954b8eb-507b-4cd5-a43f-69880aed118f",
UseFilesServerThumbnailName:"1ef32d77-a1af-4cfe-aad0-8be6edd4c66c.jpg",
UserDirectoryDeep:9999,
UserDirectoryEncrypt:undefined,
UserDirectoryID:"e1ff8154-7765-49e5-ba06-dc803e9952d0",
UserFilesAddTime:"/Date(1512634570703)/",
UserFilesDescript:"",
UserFilesExtendName:"jpg",
UserFilesID:"f5f3a925-45a3-4816-a029-d27c0d06d0c6",
UserFilesName:"Coreldraw教程课件.jpg",
UserFilesServerName:"3d095319-8b02-4f30-990a-b0e543e988b4.jpg"
UserFilesSize:40124,
UserID:"42358aae-e878-45c2-820c-ce8c00abb1cc"
}
前端javascript调用数据库存储过程示例(可在编辑区域修改参数):
U.A.Request(US.AUTH, ["CopyAndPasteFiles","42358AAE-E878-45C2-820C-CE8C00ABB1CC","E1FF8154-7765-49E5-BA06-DC803E9952D0","d954b8eb-507b-4cd5-a43f-69880aed118f",""], AsynFun, []);
运行结果展示区域: