[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How connect Translator /hurd/ftpfs with a non anonimous ftp account with user and passwd



On Sun, Mar 17, 2024 at 06:48:17PM +0100, Samuel Thibault wrote:
> Hello,
>
> Jose Luis Alarcon Sanchez, le dim. 17 mars 2024 18:34:29 +0100, a ecrit:
> > The 'test' work exactly as the text say, and i did ls on the GNU FTP, but i want to introduce here my
> > question: Can this be done also with a ftp server that requires an user name
> > and password?. I have my account with user name and password and do well
> > "traditional ftp". Can i get too have this Transparent FTP that the
> > marvelous concept of the Translator allows?.
>
> See /hurd/ftpfs --help:
>
> SERVER can be a hostname, in which case anonymous ftp is used, or may
> include a user and password like `USER:PASSWORD@HOST' (the `:PASSWORD'
> part is optional).
>
> So in theory you can pass user+password. But that will then show up in
> ls, so you don't actually want this. Something would need to be added to
> hostmux and/or ftpfs to support this in a safe way.
>

My sequence of commands:

 $ settrans -c ftp: /hurd/hostmux /hurd/ftpfs /
 $ ls ftp://myuser:mypasswd@servername.net/
ls: cannot access 'ftp://myuser:mypasswd@servername.net/': Translator died
 $

An important aclaration, when i connect the ftp server through conventional
ftp, i input:

 $ ftp servername.net
 >

The part 'ftp://' is not needed. Can this be important?. I tried this:

 $ ls myuser:mypasswd@servername.net
 $ ls: cannot access 'myuser:mypasswd@servername.net': No such file or directory
 $

I feel a bit frustated, i confess.

Anyway, you always are very kind, Samuel. A million thanks for that.

Regards.

Jose Luis.

--
https://lordofunix.org/

Not Registered GNU/Hurd User.
Registered BSD User 51101.
Registered Linux User #213309.
Memories..... You are talking about memories.
Rick Deckard. Blade Runner.


Reply to: