Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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.

![]() |
![]() |
![]() |

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