Code Monkey home page Code Monkey logo

easytransfer's Introduction

EasyTransfer is a program used to easily send one file to another person.

easytransfer <file_to_send>

It will run a HTTP server in the background, and give you a link for the file.
The link expires in 30 minutes or 2 downloads, whichever comes first.
Directories are supported:
easytransfer <folder_to_send>
The folder will automatically be compressed before being sent.

The file will NOT be saved in the cloud. The file is tranferred directly from
your computer to the other person's computer.

For a full list of options, type
easytransfer -h

This program will automatically forward ports using UPnP. If you are behind a
router without UPnP, it will probably not work.

It is tested on Linux and Mac OS X, but full support for Windows is coming.

This program requires the boost, libarchive, and miniupnpc. Specifically, it
requires boost_filesystem, boost_system, and boost_program_option.
It uses mongoose library as a lightweigh HTTP server, but a slightly modified
version is included with the source code. The make system is based on scons.
If you have scons installed, you can compile it by typing 'scons' in the folder.
You can install it by typing 'scons install'. You can remove it by just deleting
easytransfer from /usr/local/bin.

On Ubuntu (and probably Debian as well), use this to install dependencies:
sudo apt-get install libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libarchive-dev
You will also need to install latest version of libminiupnpc here:
https://github.com/miniupnp/miniupnp

This program is released under the BSD license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.