Page 1 of 1

Shell arguments...possible bugs? please verify

Posted: Mon Mar 04, 2013 1:27 am
by Belxjander
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?

Re: Shell arguments...possible bugs? please verify

Posted: Mon Mar 04, 2013 8:32 pm
by chris
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?
It looks like there's a bug in the ftp command's command line parsing, when the port is specified:

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): 

Re: Shell arguments...possible bugs? please verify

Posted: Fri Mar 08, 2013 12:14 pm
by Belxjander
@Chris: thank you for confirmation

Whomever is a beta tester can post the issue on the tracker

Re: Shell arguments...possible bugs? please verify

Posted: Fri Mar 08, 2013 12:28 pm
by abalaban
It's bug report #3926

Re: Shell arguments...possible bugs? please verify

Posted: Fri Mar 08, 2013 8:17 pm
by ssolie
abalaban wrote:It's bug report #3926
I just updated that bug report with a link to this topic.