I have seen this question: link

I have similar, if not the same request. I'd like to create a script that will log me in ftp server. I do not want to automate the whole exchange, I just want to speed up the login. Security is not an issue, it can be most insecure way of doing it, I don't care, I doubt anyone would try to access the server, and even if someone does, I still don't care. =)

I have tried this:

ftp -n ftp.domain.com
quote USER user
quote PASS pass

It seems to log me in successfully, but when I try to issue a new command I get:

530 You aren't logged in
ftp: bind: Address already in use

try putting

machine ftp.domain.com
login user
passwod pass

in .netrc in your home dir.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.