Are shell arguments using some kind of stack or buffer?
in recently trying the ftp program in the shell I was seeing "connection refused" and "unknown host" responses for a direct IPv4 numeric address.
using "ftp <IP> <PORT>" gave errors where using the open command inside the ftp "shell" worked fine.
can anyone else confirm?
Shell arguments...possible bugs? please verify
-
- Posts: 315
- Joined: Mon May 14, 2012 11:26 pm
- Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
- Contact:
Re: Shell arguments...possible bugs? please verify
It looks like there's a bug in the ftp command's command line parsing, when the port is specified:Belxjander wrote:Are shell arguments using some kind of stack or buffer?
in recently trying the ftp program in the shell I was seeing "connection refused" and "unknown host" responses for a direct IPv4 numeric address.
using "ftp <IP> <PORT>" gave errors where using the open command inside the ftp "shell" worked fine.
can anyone else confirm?
Code: Select all
11.AmigaOS:> ftp main.aminet.net 21
ftp: connect: Connection refused
ftp> quit
11.AmigaOS:> ftp main.aminet.net
Connected to aminet.net.
220 ProFTPD 1.3.3a Server (My FTP server) [::ffff:69.163.220.116]
Name (main.aminet.net:root):
-
- Posts: 315
- Joined: Mon May 14, 2012 11:26 pm
- Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
- Contact:
Re: Shell arguments...possible bugs? please verify
@Chris: thank you for confirmation
Whomever is a beta tester can post the issue on the tracker
Whomever is a beta tester can post the issue on the tracker
Re: Shell arguments...possible bugs? please verify
It's bug report #3926
AmigaOne X1000 running AOS 4 beta
AmigaOne XE/G4
Amiga 1200/PPC 603e + BVision PPC
AmigaOne XE/G4
Amiga 1200/PPC 603e + BVision PPC
Re: Shell arguments...possible bugs? please verify
I just updated that bug report with a link to this topic.abalaban wrote:It's bug report #3926
ExecSG Team Lead