|
I'm attempting to write a DOS batch file that will FTP to a server, log in, change directories, and get a specific file. I seem to remember having done something similar a long time ago by issuing the command with it's input redirected from a file. When I run it, it doesn't fill in the user-id and stops waiting on a password. Here's what I've got. What doesn't look right? Thanks. Batch File: cd \foldername ftp servername < inputactions.txt INPUTACTIONS.TXT: anonymous cd \serverfolder get filename quit Dave Parnin Nishikawa Standard Company Topeka, IN 46571 daparnin@xxxxxxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.