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

ftp -n (servername) 1

Status
Not open for further replies.

inteleserve

IS-IT--Management
Dec 13, 2002
75
US

ftp -n (servername)

Does anyone know how to get this to work? I cant even find the .netrc file to change. I hate typing in the user and password everytime as I use the ftp program 200 times a day...


Please help
 
Try this:
Code:
vi $HOME/.netrc
and insert this sort of line:
Code:
default login YourUserName password YourPassword
save your work and then:
Code:
chmod 600 $HOME/.netrc
ftp ServerName

Hope This Help
PH.
 

Thanks, Man


YOU HAVE HELPED ME SOOOOOOOOOOOOOOOOOOOOOO MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Ross
 
Is there a way to make a command run automatically, the close the ftp:

ftp nt (then put ross1.dbf)

Where I learn more about this????

Thanks,

Ross
 
Something like this ?
echo "put ross1.dbf\nbye" | ftp nt

Hope This Help
PH.
 
now we are getting real close...........but how do you specify binary??? and what if I also wanted to get ross2.dbf?

Thanks so much!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top