Please report all spam threads, posts and suspicious members. We receive spam notifications and will take immediate action!
Results 1 to 2 of 2

Thread: FTP Copy Delete

  1. #1
    Join Date
    Aug 2004

    Exclamation 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. #2
    Join Date
    Aug 2004

    Default Re: FTP Copy Delete


    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts