Re: How connect Translator /hurd/ftpfs with a non anonimous ftp account with user and passwd
Samuel Thibault <[email protected]> Sun, 17 Mar 2024 20:21:36 +0100
| Newsgroups | gmane.os.hurd.bugs,gmane.linux.debian.ports.hurd,gmane.os.hurd.general |
|---|---|
| Organization | I am not organized |
| Message-ID | <20240317192136.vqoo4sx6zpdjxffe@begin> |
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:[email protected]/ > ls: cannot access 'ftp://myuser:[email protected]/': Translator died This does work for me: $ settrans -c ftp: /hurd/hostmux /hurd/ftpfs / $ ls ftp://anonymous:[email protected]/ 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