Computing.Net > Forums > Windows 2000 > Batch to 'mrename' files on FTP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch to 'mrename' files on FTP

Reply to Message Icon

Name: ikerstges
Date: September 30, 2004 at 01:01:36 Pacific
OS: Windows2000
CPU/Ram: PIII/256
Comment:

Hiall,

Scenario: my contact puts files with sequential numbers on an FTP location and my batch-script is running in 5 minute interval to get these files. I need to delete the files after download.

Currently I use a batchfile with an ftp-script that does:
....
echo off
mget [filename]*.txt
mdel [filename]*.txt
....
But the problem is that this will destroy any files that were put on the ftp-location during my download.

I would prefer to rename the files, thén download the renamed files and delete renamed files after download is completed.

In FTP-commands, there is no such thing as 'mrename', so I cannot use wildcards to rename multiple files on an FTP-server.

Any suggestions?

Kind regards,
Igor Kerstges.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Batch to 'mrename' files on FTP

print stream to file on W2k www.computing.net/answers/windows-2000/print-stream-to-file-on-w2k/13685.html

Sharing files on win2k www.computing.net/answers/windows-2000/sharing-files-on-win2k/9407.html

CD Audio tracks to wav file www.computing.net/answers/windows-2000/cd-audio-tracks-to-wav-file/44867.html