Discussion:
[BusyBox] ftpput generates "ALLO error: Unknown command."
Robert P. J. Day
2004-02-20 05:32:36 UTC
Permalink
using 1.00-pre7, my first attempt at testing ftpput, and i got

./ftpput -v -u rday -p rday scout /tmp ~/t.log
Connecting to scout[10.1.1.11]:21
ftpput: cmd (null)(null)
ftpput: cmd USER rday
ftpput: cmd PASS rday
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 11814(null)
ftpput: ALLO error: Unknown command.

i've googled and got very little in the way of pointers.
suggestions welcome, while i'm rooting around in the source
file.

rday
Glenn McGrath
2004-02-22 02:12:52 UTC
Permalink
On Thu, 19 Feb 2004 13:02:42 -0500 (EST)
Post by Robert P. J. Day
./ftpput -v -u rday -p rday scout /tmp ~/t.log
ftpput: ALLO error: Unknown command.
Works for me,

$ ./busybox ftpput -v -u bug1 -p <removed> 192.168.0.2 /tmp ./index.html
Connecting to 192.168.0.2[192.168.0.2]:21
ftpput: cmd (null)(null)
ftpput: cmd USER bug1
ftpput: cmd PASS <removed>
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 3085(null)
ftpput: cmd STOR ./index.html
ftpput: cmd (null)(null)
ftpput: cmd QUIT(null)

Im using proftpd, what ftp server are you using ?



Glenn
Robert P. J. Day
2004-02-22 10:50:41 UTC
Permalink
Post by Glenn McGrath
On Thu, 19 Feb 2004 13:02:42 -0500 (EST)
Post by Robert P. J. Day
./ftpput -v -u rday -p rday scout /tmp ~/t.log
ftpput: ALLO error: Unknown command.
Works for me,
$ ./busybox ftpput -v -u bug1 -p <removed> 192.168.0.2 /tmp ./index.html
Connecting to 192.168.0.2[192.168.0.2]:21
ftpput: cmd (null)(null)
ftpput: cmd USER bug1
ftpput: cmd PASS <removed>
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 3085(null)
ftpput: cmd STOR ./index.html
ftpput: cmd (null)(null)
ftpput: cmd QUIT(null)
Im using proftpd, what ftp server are you using ?
vsftpd. i'll download proftpd and give it a try. besides just
configuring ftpput in the config process, are there any other non-obvious
options i might have missed?

rday
Robert P. J. Day
2004-02-22 14:39:51 UTC
Permalink
Post by Glenn McGrath
On Thu, 19 Feb 2004 13:02:42 -0500 (EST)
Post by Robert P. J. Day
./ftpput -v -u rday -p rday scout /tmp ~/t.log
ftpput: ALLO error: Unknown command.
Works for me,
$ ./busybox ftpput -v -u bug1 -p <removed> 192.168.0.2 /tmp ./index.html
Connecting to 192.168.0.2[192.168.0.2]:21
ftpput: cmd (null)(null)
ftpput: cmd USER bug1
ftpput: cmd PASS <removed>
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 3085(null)
ftpput: cmd STOR ./index.html
ftpput: cmd (null)(null)
ftpput: cmd QUIT(null)
Im using proftpd, what ftp server are you using ?
i switched from vsftpd to proftpd, and ftpput now works fine. go figure.
so something's broken with vsftpd, and i'm not sure i'm curious enough to
know what it is to go looking for it. :-)

thanks.

rday
Robert P. J. Day
2004-02-22 11:49:11 UTC
Permalink
Post by Glenn McGrath
On Thu, 19 Feb 2004 13:02:42 -0500 (EST)
Post by Robert P. J. Day
./ftpput -v -u rday -p rday scout /tmp ~/t.log
ftpput: ALLO error: Unknown command.
Works for me,
$ ./busybox ftpput -v -u bug1 -p <removed> 192.168.0.2 /tmp ./index.html
Connecting to 192.168.0.2[192.168.0.2]:21
ftpput: cmd (null)(null)
ftpput: cmd USER bug1
ftpput: cmd PASS <removed>
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 3085(null)
ftpput: cmd STOR ./index.html
ftpput: cmd (null)(null)
ftpput: cmd QUIT(null)
Im using proftpd, what ftp server are you using ?
vsftpd. i'll download proftpd and give it a try. besides just
configuring ftpput in the config process, are there any other non-obvious
options i might have missed?

rday
Robert P. J. Day
2004-02-22 15:38:41 UTC
Permalink
Post by Glenn McGrath
On Thu, 19 Feb 2004 13:02:42 -0500 (EST)
Post by Robert P. J. Day
./ftpput -v -u rday -p rday scout /tmp ~/t.log
ftpput: ALLO error: Unknown command.
Works for me,
$ ./busybox ftpput -v -u bug1 -p <removed> 192.168.0.2 /tmp ./index.html
Connecting to 192.168.0.2[192.168.0.2]:21
ftpput: cmd (null)(null)
ftpput: cmd USER bug1
ftpput: cmd PASS <removed>
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 3085(null)
ftpput: cmd STOR ./index.html
ftpput: cmd (null)(null)
ftpput: cmd QUIT(null)
Im using proftpd, what ftp server are you using ?
i switched from vsftpd to proftpd, and ftpput now works fine. go figure.
so something's broken with vsftpd, and i'm not sure i'm curious enough to
know what it is to go looking for it. :-)

thanks.

rday

Robert P. J. Day
2004-02-19 18:02:42 UTC
Permalink
using 1.00-pre7, my first attempt at testing ftpput, and i got

./ftpput -v -u rday -p rday scout /tmp ~/t.log
Connecting to scout[10.1.1.11]:21
ftpput: cmd (null)(null)
ftpput: cmd USER rday
ftpput: cmd PASS rday
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 11814(null)
ftpput: ALLO error: Unknown command.

i've googled and got very little in the way of pointers.
suggestions welcome, while i'm rooting around in the source
file.

rday
Glenn McGrath
2004-02-22 03:14:27 UTC
Permalink
On Thu, 19 Feb 2004 13:02:42 -0500 (EST)
Post by Robert P. J. Day
./ftpput -v -u rday -p rday scout /tmp ~/t.log
ftpput: ALLO error: Unknown command.
Works for me,

$ ./busybox ftpput -v -u bug1 -p <removed> 192.168.0.2 /tmp ./index.html
Connecting to 192.168.0.2[192.168.0.2]:21
ftpput: cmd (null)(null)
ftpput: cmd USER bug1
ftpput: cmd PASS <removed>
ftpput: cmd TYPE I(null)
ftpput: cmd PASV(null)
ftpput: cmd CWD /tmp
ftpput: cmd ALLO 3085(null)
ftpput: cmd STOR ./index.html
ftpput: cmd (null)(null)
ftpput: cmd QUIT(null)

Im using proftpd, what ftp server are you using ?



Glenn
Loading...