Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use linux command line ftp with a @ sign in my username? [closed]

Tags:

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.

like image 745
bentford Avatar asked May 02 '09 07:05

bentford


People also ask

How do I log into Linux using FTP 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.

How do I bypass FTP username and password?

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.

What is user of close command in FTP?

Close an ftp connection to a remote system by using the bye command. ftp> bye 221-You have transferred 0 bytes in 0 files.


1 Answers

Try this: use "%40" in place of the "@"

like image 73
Angus S-F Avatar answered Oct 08 '22 23:10

Angus S-F