D Dman Active Member Licensed User Longtime User May 17, 2013 #1 I want to delete all of the files in the folder on of the server after I download them using the Automated FTP library. I have it downloading just fine but I am confused on the command for deleting the fileset on the server. I see this: DeleteFileSet (VerifyBeforeDelete As Boolean) in the documentation but am unsure on exactly how to use it. Any examples?
I want to delete all of the files in the folder on of the server after I download them using the Automated FTP library. I have it downloading just fine but I am confused on the command for deleting the fileset on the server. I see this: DeleteFileSet (VerifyBeforeDelete As Boolean) in the documentation but am unsure on exactly how to use it. Any examples?
GMan Well-Known Member Licensed User Longtime User May 17, 2013 #2 An example was given in the .lib - Thread, this should work: Delete the lastest FileSet in memory from the server. If you used a Mask to download a set of files, this function will delelete all files in that last set. NOTICE: use with care. Click to expand... Code: Copy DeleteFileSet(False) ' No confirmation DeleteFileSet(True) ' Confirmation Otherwise to delete files: Code: Copy DeleteFile("public/pictures/*.*") Last edited: May 17, 2013 Upvote 0
An example was given in the .lib - Thread, this should work: Delete the lastest FileSet in memory from the server. If you used a Mask to download a set of files, this function will delelete all files in that last set. NOTICE: use with care. Click to expand... Code: Copy DeleteFileSet(False) ' No confirmation DeleteFileSet(True) ' Confirmation Otherwise to delete files: Code: Copy DeleteFile("public/pictures/*.*")