CURL Kludge on Angstrom to FTP files

42 views
Skip to first unread message

woody stanford

unread,
Mar 9, 2017, 9:24:45 AM3/9/17
to BeagleBoard
Am I mistaken or is there no FTP command on a Beagle's OS? Wow, I'm all for a tiny distro but that is ridiculous.

Fix: did you know that you can use CURL to FTP files? Serious lol :D And you can use it "in-line".

This is the best little tutorial I've seen on this rather obscure subject (VERY, VERY impressed with it):


....in that it gives some very pertinant practical examples.

woody stanford

unread,
Mar 9, 2017, 9:32:31 AM3/9/17
to BeagleBoard
Here is a good example of what I want to do is transfer a ZIP file with a code base I want to build to my Beagle.

I have Filezilla server running on my Windows 10 PC, so I can pull the ZIP file across with CURL on my BBB, I'm thinking.

This is how you would do it (just shell script it or type it manually via shell):

curl ftp://192.168.0.4/bb.org-overlays-master.zip --user myname:mypassword -o bb.org-overlays-master.zip

My Windows box's ip address on my LAN is 192.168.0.4.

Filezilla Server defaults with its root directory your Downloads directory.

So I just put a copy of the dtc compiler ZIP file in my windows Downloads directory, and from putty just type in the previous command.

Clever huh? ^ ^
Reply all
Reply to author
Forward
0 new messages