FTP: login from command line?

R

Rick Charnes

With the built-in Win2k FTP, can you log in from the OS command line
(rather than from the FTP prompt or an FTP script file)? I'd like to
pass domain, username and password from the OS command line. Thanks.
 
R

Rick Charnes

Thanks much for this. I don't see any way to include username and
password on the OS command line. Tip #0925 is about how to have FTP
call a script file to send username and password, which is what I'm
trying to avoid.
 
P

Pegasus \(MVP\)

Did you find a solution for your problem?


Thanks much for this. I don't see any way to include username and
password on the OS command line. Tip #0925 is about how to have FTP
call a script file to send username and password, which is what I'm
trying to avoid.

 
J

Jerold Schulman

@echo user UserName PassWord>"%TEMP%\mylogon.scr"&ftp -s:"%TEMP%\mylogon.scr" 23.21.123.13

Thanks much for this. I don't see any way to include username and
password on the OS command line. Tip #0925 is about how to have FTP
call a script file to send username and password, which is what I'm
trying to avoid.

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top