General discussion

Locked

Automate FTP session

By tekiechick ·
I have a Windows 2000 server from which I need to upload files to an external FTP server.

Is there a way to automate the OPENING of an FTP session? For instance, at a command prompt, I can enter the following command to automate the transfer:ftp -n -s:C:\ftp.txt xxx.xxx.xxx.xxx

This works wonderfully. However, If I create a batch file to include that command, the session won't open.

Any suggestions on how I can get this process to work?

This conversation is currently closed to new comments.

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

All Comments

Collapse -

Automate FTP session

by DKlippert In reply to Automate FTP session

Take a look at this paper:

http://www.calweb.com/~webspace/batch/samples/ftp.script.txt

(There are no spaces in the URL)

Collapse -

Automate FTP session

by tekiechick In reply to Automate FTP session

I don't seem to have access to this site. However, I did resolve the issue.

In an effort to intuitively name the batch file for those that come behind me, I succeeded in making a total idiot of myself. I named the batch file:

ftp.bat

Enough said.

I'm turning in my admin privleges and Geek badge and retiring to an exotic and South American country to lounge on the beach, paint, and drink

Collapse -

Automate FTP session

by tekiechick In reply to Automate FTP session

This question was closed by the author

Back to Windows Forum
3 total posts (Page 1 of 1)  

Related Forums