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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple FTP script (W2K - W2K)

Status
Not open for further replies.

DaveNeubauer

IS-IT--Management
Jul 29, 2002
33
DE
I've always avoided ftp servers like the plague, but now need to do Windows 2000 Server to Windows 2000 Server ftp across my WAN. I'm thinking I can keep that secure.

Anyway, I've been trying to create a simple script that will login with an authenticated user and copy files up to a central file repository. I've tried different approaches, like ftp -s:script.scr 10.10.10.12, but I always get hung up on the syntax for the username and password. I've tried them both on one line; each on a separate line; /user username /pass password; ...

I know this is real simple stuff, and it's a little embarrasing to ask...but can someone give me a clue or a resource to read?

TIA
 
Try

user

password

with a empty line between the two. Works for me here. Nate Gagne
nathan.gagne@verizon.net
AKA Nick Burns - Your Company's Computer Guy
"Would you like me to save your game of Minesweeper first?"

Like my post? Let me know it was helpful!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top