How can I run this on linux command line when my username has an @
sign in the middle?
ftp -u user:password@host/destination_folder/ sourcefile.txt
My username is [email protected]
and it thinks my host is domain.com
.
NOTE: This is an unattended upload, so I can't just type in the username and password.
If your account name on the FTP server is the same as your Linux user name, simply press the Enter key. This will use your Linux user name as the account name on the FTP server. If your Linux user name and the FTP account name are different, type in the FTP account user name and then press Enter.
Type the code "<a href=ftp://user_name:password@hostname/">FTP Link" to add the link. Replace "user_name" with the username for the FTP server and replace "password" with the password for the account. Replace "hostname" with the hostname of the FTP server. Replace "FTP Link" with any text you prefer.
Close an ftp connection to a remote system by using the bye command. ftp> bye 221-You have transferred 0 bytes in 0 files.
Try this: use "%40" in place of the "@"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With