Shell arguments...possible bugs? please verify

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
Belxjander
Posts: 315
Joined: Mon May 14, 2012 11:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

Shell arguments...possible bugs? please verify

Post 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?
chris
Posts: 564
Joined: Sat Jun 18, 2011 12:05 pm
Contact:

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

Post 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): 
Belxjander
Posts: 315
Joined: Mon May 14, 2012 11:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

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

Post by Belxjander »

@Chris: thank you for confirmation

Whomever is a beta tester can post the issue on the tracker
User avatar
abalaban
Beta Tester
Beta Tester
Posts: 456
Joined: Mon Dec 20, 2010 2:09 pm
Location: France
Contact:

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

Post by abalaban »

It's bug report #3926
AmigaOne X1000 running AOS 4 beta
AmigaOne XE/G4
Amiga 1200/PPC 603e + BVision PPC
User avatar
ssolie
Beta Tester
Beta Tester
Posts: 1010
Joined: Mon Dec 20, 2010 8:51 pm
Location: Canada
Contact:

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

Post by ssolie »

abalaban wrote:It's bug report #3926
I just updated that bug report with a link to this topic.
ExecSG Team Lead
Post Reply