jor1k icon indicating copy to clipboard operation
jor1k copied to clipboard

request for ftp command

Open trabitboy opened this issue 10 years ago • 5 comments
trafficstars

hello, I read in one of the docs that easiest way to add software to the linux image is to ask for it because of the custom build chain. Would it be possible to have "ftp" command line tool? We use it to pass small development builds around.

trabitboy avatar May 11 '15 15:05 trabitboy

Two things:

First, if it helps any, it looks like you already have sftp and in a pinch you can do quite well with tar, ssh (or telnet) and the pipe operator. This is called a tarpipe.

Second, this is really what a package manager is for. For a distro of this size, opkg would be ideal, however I did do some[1] work a while back to see about running Debian w/ a package mirror hosted on the relay. I didn't get very far.

If somebody is willing to play the role of package maintainer, I'd be very pleased to host the apt repos on the same machine which hosts the VPN. Further, I'd be very happy to disable throttling of bandwidth for connections to/from the package repo. This would give the fastest possible access to the package repos.

@s-macke: FWIW I'm still embarrassingly in love with this project, but I never have the time to contribute in the way that I'd like. If you know of someone who'd like to be actively working on Debian support (or support for any other major distro) for (j)or1k, I'd really enjoy supporting the effort in any way I can. Specifically, I'd be happy to host (and to some degree, maintain) an automated build environment to make this a bit easier.

1: By "some" I mean very little, and I cannot take any credit for the OR1K Debian port as I was not involved with that in any way.

benjamincburns avatar May 11 '15 19:05 benjamincburns

@trabitboy: busybox comes with ftpput and ftpget. Is this not enough? An alternative would be to compile NcFTP or inetutils. I can try it.

s-macke avatar May 11 '15 22:05 s-macke

Thanks for the really useful/ educative answers ; trying the ftpput get / then tarpipe out of curiosity .

On 12 May 2015 at 00:16, Sebastian Macke [email protected] wrote:

@trabitboy https://github.com/trabitboy: busybox comes with ftpput and ftpget. Is this not enough? An alternative would be to compile NcFTP or inetutils. I can try it.

— Reply to this email directly or view it on GitHub https://github.com/s-macke/jor1k/issues/69#issuecomment-101064569.

trabitboy avatar May 12 '15 11:05 trabitboy

I compiled ncftp without problems. However the program crashes when a ftp connection is established. Somewhere in a memcpy routine.

s-macke avatar May 12 '15 20:05 s-macke

I could use ftpget and ftpput without pb; if I succeed in getting a directory listing with telnet, my use case is covered! Le 12 mai 2015 22:49, "Sebastian Macke" [email protected] a écrit :

I compiled ncftp without problems. However the program crashes when a ftp connection is established. Somewhere in a memcpy routine.

— Reply to this email directly or view it on GitHub https://github.com/s-macke/jor1k/issues/69#issuecomment-101415102.

trabitboy avatar May 12 '15 21:05 trabitboy