Skip to Content.
Sympa Menu

baslinux - [BL] busybox 1.3.2 ftpput broken; other file transfer methods

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] busybox 1.3.2 ftpput broken; other file transfer methods
  • Date: Sun, 16 Sep 2007 01:22:17 +0000 (UTC)

The busybox 1.3.2 compiled by Karolis has a nonworking ftpput:

ftpput -u keesan -p mypassword ftp.freeshell.org ~keesan filename
(The help message says to put 'remote file' where I put my remote user directory - I find this very confusing).

Error message:
ftpput: invalid number `220 utako.freeshell.org FTP server....

The BL3 busybox 1.0.1 ftpput works properly.

Since I wanted to try some of the features of the 1.3.2 (though the rudimentary vi is not very useful) and already had it on the path in BL2, I copied the BL3 busybox to /busybox132 (on the path), renamed it busybox101, and ln -sf busybox101 ftpput

BL1.3.2 has an ftpget (it works similarly to ftp but switch the last two parts, to filename ~keesan) , but links can do the validated ftp download from a non pub_html (web) directory:

links ftp://keesan:mypassword AT ftp.freeshell.org/arpa/gm/k/keesan

I have not found a way to download a specific file directly from the command line, just to access the directory containing it. What did I do wrong? I added the file name at the end of the above and it is not found.

For some reason ~keesan works with ftpput instead of /arpa/gm/k/keesan (they are the same directory) but not with links for ftp.

You need the full wget, not busybox wget, to download via wget from
a non-public directory (or download subdirectories, etc.)

wget ftp://keesan:mypassword AT freeshell.org/arpa/gm/k/keesan/filename

I have compiled dropbear (dbclient is a small ssh-like program) which included a small scp program for file transfer in both directions, but I need to give a command, wait a few seconds, then give my password. The --help is cryptic and -p was not for password. Does standard scp let you specify password?

scp keesan AT freeshell.org:~keesan/$1 $1 (
to get files, or reverse the two last strings to get them).

Everything provided with or for BL3 has worked so far. It must be more carefully tested than the recent busyboxes.

Thanks again for the best linux in the world, Steven.

fttput has worked on the small files I tested it on.

I need to figure out httpd again. mini_httpd combined with links keeps breaking off the connection in the middle of large files, as does pure_ftpd combined with wget, for uploads from my computer elsewhere.

Sindi

keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page