General discussion

Locked

FTP

By elio.mazzucco ·
I'm never used FTP commands before (scripting FTP). Is there any way via FTP script (Win NT 4.0) that you can mget *.* and then mdel *.* based on the files that you have downloaded. Keep in mind that during the mget/mdel process someone can be adding files. So the cart-blanche mdel *.* can't be used. There doesn't seem to be any equivalent move command in FTP. I need to automate this script to run unattended. Thanks in advance for any guidance.

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Three-Step Process

by JackOfAllTech In reply to FTP

1) Download the files into and empty folder,
2) Use your preferred scripting tool to get the list of files successfully downloaded and re-format as mdel commands
3) issue mdel commands

Ralph

Back to Desktop Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums