|
|
Subject:
Batch File & ftp.exe question
Category: Computers > Programming Asked by: jaboo-ga List Price: $15.00 |
Posted:
20 Sep 2005 09:00 PDT
Expires: 20 Sep 2005 17:53 PDT Question ID: 570120 |
Batch file question using native ftp.exe program.... I am currently using a batch file with an ftp.exe script to MGET *.XYZ and then MDELETE *.XYZ from an ftp site. This worked well, until it started deleting files that were never downloaded. They were added during/after the MGET so they just get deleted. The files are numerically sequential files but I have no way of knowing the current number. Is there anyway make this work with just Batch File & ftp.exe I tried to REN *.XYZ *.PEN then DL & deleted those, but you can rename with wildcards... You can't pass command line parameters to ftp except for pre-made scripts (i think) There is no delete after download option that I know of. Is there any way to make this work... I was thinking it might be possible to do a local "IF EXISTS" then an ftp delete, but I don't know the file names. Can a list of filenames be downloaded then used? Are there any other DOS programs that can run in a batch file that could do get first, delete first? I am perfectly ok with Get/Delete one by one. I would prefer to continue using ftp.exe if possible. Thanks, |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |