We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


ftp - special characters in the user name allowed?

dcurylo asked
Medium Priority
Last Modified: 2013-12-23
user has a name xxx@yyy@domainname.com   -   is this legal?  When trying to ftp through our firewall, it is rejected even though this is their valid user id.
Watch Question

Top Expert 2015

Do you use real FTP client or a web browser ???
Usernames of any kind without whitespaces are quite OK, interpretation varies form server to server.


So there is no standard requirements?  It is a real ftp client.
Top Expert 2005

Well, xxx@yyy@domainname.com is not a valid email address, so a remote anonymous FTP server might well reject the session.
Top Expert 2015

RFC1123 denotes some standard of a kind, @ is not a telnet-special character (but it can confuse URL parser which prefers ftp://user:password@host)

xxx@yyy@domainname.com  is used in some cases of mail redirection, like in Lotus Notes.
E.g.  johnford@internalservice@company.intranet@globalemail.com
I forgot to mention that in this case, the address is evaluated first

  then (from globalmail.com internally)
  then (from company.intranet internal servers)
  then (from internalservice, likely to be a mail server, posting locally to johnford)

If it can make it more clear.
Top Expert 2015

Never seen FTP software named Lotus Notes
About ftp, for info, proxy ftps have a similar syntax for username
where domain is the actual host to connect to, using user xxx
I guess in the case of xxx@yyy@domain, xxx@yyy would be interpreted as a user name, for a proxy ftp.

In your case the firewall could prevent the host bouncing :
   user ---> your-ftp-server ----> domainname.com
- if your ftp server understands the proxy ftp syntax, it will try to connect to domainname.com, using xxx@yyy as user name
- if your ftp server is not supposed to authorize this host bouncing, it's fortunate the firewall prevents the connection to happen.
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.