DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Simple File Transfer Options  (Read 5,968 times)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Simple File Transfer Options
« on: April 13, 2013, 01:40 PM »
The following are some of the simpler file transfer options I've come across.

"Simpler" here is deliberately vague, but the situations under which I've thought to look for these has typically when I want to transfer a file between two machines without much set-up hassle.

  • netcat, sbd, ncat, and friends -- if you don't mind the command line
  • HTTP File Server (HFS) -- easy to start, uploading and downloading, even works under WINE (HTTP)
  • Droopy -- uploading only(?) and needs Python (HTTP)
  • Python 2: python -m SimpleHTTPServer / Python 3: python -m http.server -- downloading only and needs Python (HTTP)
  • mongoose -- cross-platform, no config necessary for simple downloading (HTTP)
  • osws -- one-shot file download and *nix-only(?) (HTTP)

Anyone have any favorites?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: Simple File Transfer Options
« Reply #1 on: April 13, 2013, 02:23 PM »
Rsync?
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Simple File Transfer Options
« Reply #2 on: April 15, 2013, 01:34 AM »
I haven't used rsync in a while -- my memory of it was that it was great for synchronizing things, but that remembering the command line options was not something I succeeded at :)



On a related note, I found that the upload.c example for the mongoose web server provides upload-by-form-via-http.  I made a minor change (save location /tmp -> .) and compiled it using mingw.  Also includes files necessary for compilation -- see included README.txt.

See attachment.

md5:c24c2e8b3a8f540b65ca43726a87e465
« Last Edit: April 16, 2013, 05:34 AM by ewemoa »

Original address: https://www.donationcoder.com/forum/index.php?topic=34635.0