Hi all,
I have a prob,
I want 2 dl x number of files from a FTP folder to a local folder, and then delete the files in the remote folder.
I've been using mget * and del *, the problem is, if a new file is being copied into the remote folder while im dl'ing, that file will be deleted afterwards without being copied.
I want 2 build up a list of files currently in the remote folder and copy and delete them one by one, but I have no idea how to do this.
Any suggestions?
I have a prob,
I want 2 dl x number of files from a FTP folder to a local folder, and then delete the files in the remote folder.
I've been using mget * and del *, the problem is, if a new file is being copied into the remote folder while im dl'ing, that file will be deleted afterwards without being copied.
I want 2 build up a list of files currently in the remote folder and copy and delete them one by one, but I have no idea how to do this.
Any suggestions?
Comment