Computing.Net > Forums > Windows XP > FTP Batch programming

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.

FTP Batch programming

Reply to Message Icon

Name: pagalreddy
Date: October 9, 2007 at 07:37:16 Pacific
OS: xp
CPU/Ram: 2gb
Comment:

Hi.

I m new to batch programming, I need to do this urgently.

The following is a sample implementation of pulling files using File Transfer Protocol utility (FTP).

1. Open an FTP session with the computer that contains iXYZ files using IP address, username and password.
2. Get a list of files at directory /xyz/IXYZ/primary.
3. Loop through the list of files. For each file in the list, if the file name ends with “.curr”,
ignore it. Otherwise first use GET command to retrieve the file, and then use MOVE command to
move the file to directory /xyz/IXYZ/secondary.
4. Repeat the process by going back to step 2.




Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: October 9, 2007 at 14:43:20 Pacific
Reply:

FTP doesn't like batch files. There are some work-arounds that can be used.

I read it wrong and answer it wrong too. So get off my case you peanut.


0
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 XP Forum Home


Sponsored links

Ads by Google


Results for: FTP Batch programming

Batch Program www.computing.net/answers/windows-xp/batch-program/177618.html

NT Batch Programming www.computing.net/answers/windows-xp/nt-batch-programming/152367.html

Need with batch program www.computing.net/answers/windows-xp/need-with-batch-program/158516.html