Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to ftp one server many times on day and I want to avoid retyping username and password.So I want to set default username and password for ftp client for spec ip/site, or configure the ftp daemon to make it keep ftp session as long as it could.

Is there any method for the first quesiton under windows and the second question under linux?

+clarify: I need something could do it within commandline.


share|improve this question
is ssh an option? You could put your public key on the server & not have to supply a password for either windows or linux. – DaveParillo Nov 4 '09 at 5:25
up vote 1 down vote accepted

With ncftp you can specify username on password, and also let you create bookmarks that include password. ncftpput/ncftpget are better options for scripting.

share|improve this answer

You could just use FileZilla as a ftp client. Set a profile for this specific site. FileZilla works on both windows and linux.

share|improve this answer
@MrStatic:I'd like some commandline things. – Jichao Nov 4 '09 at 6:59

I think you can use a file which contains the username and password and reference it via the ftp command (-s:filename option in windowsXP) in the commandline. I dont know the exact syntax of the file that contains the username and password but i think this page may help.

share|improve this answer

You could use the CrossFTP client, available on Windows, Linux and Mac.
The freeware version has Favorites, among many other features.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .