Home » Questions » Computers [ Ask a new question ]

How to login to ftp in one step?

How to login to ftp in one step?

This works but not how I would like to log in:

Asked by: Guest | Views: 230
Total answers/comments: 2
bert [Entry]

"From the example that you mentioned, be sure to use the -n flag to disable auto-login

C:\adc_ftp>ftp -n -s:ftp_script.txt localhost

Where ftp_script.txt contains something like:

user
ftp
ftppassword
Some ftp commands...
quit"
bert [Entry]

"Auto-login to Filezilla in one step:

Create Site Profile in Filezilla, specifying the username and password (if you don't have one already)
Create a shortcut to Filezilla somewhere. (Mine's on the quick launch bar)
Right-click the shortcut to go into it's properties.
Append the end of the Target with --site=""0yoursiteprofile"".
The 0 is indicates it's a saved profile (as opposed to the default profile.)

The whole Target field should be something like:

""C:\Program Files\FileZilla FTP Client\filezilla.exe"" --site=""0yoursiteprofile""

Spaces, slashes and other symbols may need to be escaped if you have them in your profile name, so just avoid them, or read more about Filezilla's command-line switches.

That's all -- just click the shortcut to launch and login!

Note that within Filezilla's Shortcut's properties, you can also add a shortcut key-combination if desired."