Amiga ftp quirks?
I'm seeing some quirks with the AS225 (beta 2) 'ftp'. I'm trying to use a Mac
tool called "Fetch", a GUI-based 'ftp'. It can't 'cd' into any Amiga
directories or fetch any Amiga files, because its list of files are prepended
with a '/'. Fetch's author says that Fetch doesn't prepend anything. A little
digging showed this, as I talked to Amiga 'ftp':
dir
200 PORT command successful.
150 Opening ASCII mode data connection for inet:c/ls -lkc.
226 Transfer complete (243 bytes)
d— 0 Jun 13 11:39 Clipboards
d— 0 Jun 13 11:39 ENV
—- 206 Jun 13 12:38 Lfoo
d— 0 Jun 13 11:39 T
d— 0 Jun 13 11:39 c
—- 29271 Jun 13 12:45 foo
6 files found, total size: 29477 bytes.
ls
200 PORT command successful.
/foo
/Lfoo
/c
/ENV
/Clipboards
/T
150 Opening ASCII mode data connection for file list.
226 Transfer complete
quote nlst ram:
200 PORT command successful.
ram:/foo
ram:/Lfoo
ram:/c
ram:/ENV
ram:/Clipboards
ram:/T
150 Opening ASCII mode data connection for file list.
226 Transfer complete
Why does the Amiga ftp tell the host that RAM:/Clipboards is a valid path?
When Fetch sends 'cwd RAM:/Clipboards', it fails.
Also, when I invoke 'inet:c/ls ram: >ram:foo', it spits out a one-column list
of files, but I've swapped it with some other 'ls' than the one shipped with
AS225. The original 'ls' spits out a list of files on a single line, with
trailing slashes on the directories. My 'ls' doesn't add slashes.