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

FTPing from AIX to NT 4.0 help required

Status
Not open for further replies.

dklloyd

MIS
Mar 9, 2001
78
GB
Hope someone can help me out there....
I need to ftp files from an NT server onto the AIX via a script.
Currently I can manually issue the ftp from the AIX by entering the following; but I imagine I will have to use another command to accumplish this in a script like rcp:

ftp svrname
Connected to SVRNAME.
220 dougal Microsoft FTP Service (Version 3.0).
Name (svrname:root): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password: {password entered here by me}
230-Welcome to Server UK FTP Server`
230 Anonymous user logged in.
ftp> {and from here I can mget my files}

What would the alternative to this be as a command? Very much look forward to your ideas!
 
It's okay now!! Delved a bit further and found the answer within another problem on the site... I used:
ftp -in svrname <<!
quote name anonymous
quote pass a.c
mget........
!

Hope I didn't waste anyone's time. Thanks as always..
 
Going maddddd.
That's 'quote user' not 'quote name' above!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top