ftp, login name with a '@' in the middle

Enrico Weigelt weigelt at metux.de
Fri Jan 16 04:20:18 UTC 2009


* Jesús Guerrero <i92guboj at terra.es> wrote:
> Hello,
> 
> I contracted a new hosting today and my user name has a '@'
> in the middle. How can I -well, can I at all?- instruct mc to login
> with such a name?

Your hoster is broken. '@' is not a valid character for usernames.

> Since mc uses the @ to separate the login name from the machine
> name it gets confused and it says it can't find the machine. The
> login line ends being like this:
> 
> /#ftp:foo at bar:password at ftp.box.es /dir

That would totally break the current syntax, which is almost an URL.

You probably could hack up the ftpfs code to handle urlencoded
escaping ...

> I haven't found anything in the mc inline help nor the man page,
> sorry if this is such a trivial question but I can't figure out if I am
> missing something or if mc has actually no way to handle this.

Clear answer: there is no handling for invalid usernames ;-P


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------



More information about the mc mailing list