Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating File Transfer

Status
Not open for further replies.

ToddWW

Programmer
Mar 25, 2001
1,073
US
I need to automate file retrieval on an FTP site that I connect to via the internet. I can successfully do this using FTP from the windows command prompt when my computer is connected to the internet. Here is what I do today manually.

1.) Connect to the internet
2.) Open the Command Prompt
3.) Type the following commands. Actual commands typed are in italics.

C:\>FTP
ftp>open ftp.someftpsite.com
Enter Username:username
Enter Password:password
Connected to site
ftp>GET ./Data/Waiting stats.txt
File Transfer Successful
ftp>disconnect
ftp>exit
C:\>

Basically this puts the file stats.txt on my C: drive. Now, I know how to use Aspect to connect and disconnect to this site. What I'm looking for is how to use aspect to send that GET command and get the file.

Thanks for your help.

Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top