[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How connect Translator /hurd/ftpfs with a non anonimous ftp account
From: |
Jose Luis Alarcon Sanchez |
Subject: |
Re: How connect Translator /hurd/ftpfs with a non anonimous ftp account with user and passwd |
Date: |
Mon, 18 Mar 2024 10:32:29 +0100 |
On Sun, Mar 17, 2024 at 08:21:36PM +0100, Samuel Thibault wrote:
> Jose Luis Alarcon Sanchez, le dim. 17 mars 2024 20:13:13 +0100, a ecrit:
> > 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
>
Hello!.
Already know what i was doing wrong yesterday. I was trying to reproduce from
the
beginning the whole process without 'deactivate' in the fist place all the nodes
with settrans -fg, and so the Translator died. Once erased all the nodes: /,
/hurd/ftpfs, /hurd/hostmux and ftp: i am able to begin again and now i'm
mounting my personal FTP account into the filesystem and operating with it
like with any other directory, with the Unix commands. This is very useful
and really very powerful.
Thanks.
Regards.
Jose Luis.
> This does work for me:
>
> $ settrans -c ftp: /hurd/hostmux /hurd/ftpfs /
> $ ls ftp://anonymous:anonymous@ftp.gnu.org/
> CRYPTO.README find.txt.gz non-gnu tmp
> MISSING-FILES gnu old-gnu tree.json.gz
> MISSING-FILES.README gnu+linux-distros pub video
> README ls-lrRt.txt.gz savannah welcome.msg
> before-2003-08-01.md5sums.asc mirrors third-party
>
> > $ ftp servername.net
> >
> > The part 'ftp://' is not needed. Can this be important?
>
> calling ftp already tells you're using the ftp protocol. Above, "ftp://"
> is merely to use the ftp:/ directory that you have set up.
>
> Samuel
>
--
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.