[email protected]
[Top] [All Lists]

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

Subject: Re: ftp, login name with a '@' in the middle
From: Enrico Weigelt
Date: Fri, 16 Jan 2009 05:20:18 +0100
* Jesús Guerrero <[email protected]> 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:[email protected]:[email protected] /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/
---------------------------------------------------------------------
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>