Announcement

Collapse
No announcement yet.

FTP Copy Delete

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FTP Copy Delete

    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?

  • #2
    Re: FTP Copy Delete

    k,

    heres what i want 2 do.

    I need to get list of all the files in the remote folder, save them to a file, then loop through the file, and for each instance of filename, get and del that file.

    Any suggestions.

    Comment

    Working...
    X