Skip to content

R2dR/xfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XFiles

File transfer server built with Ruby and Sinatra. Easily download and upload files between computers and phones using your web browser. Far simpler to share files than with FTP.

Dependencies

Requirements:

  • Ruby 1.9 or greater
  • Sinatra gem

Usage

Check the options

$ xfiles -h

To transfer files, change to the directory with the files you want to share and start the server with an access code

$ cd ~/myfiles
$ xfiles 1234
Starting xFiles Server with access code: 123
xFiles Server available at: http://192.168.1.100:2021
Server will live for 30 minutes
[2013-06-27 15:11:59] INFO WEBrick 1.3.1
[2013-06-27 15:11:59] INFO ruby 1.9.3 (2013-01-15) [x86_64-linux]
== Sinatra/1.4.3 has taken the stage on 2021 for development with backup from WEBrick
[2013-06-27 15:11:59] INFO WEBrick::HTTPServer#start: pid=6989 port=2021
$

Setup for Linux

Assuming you have a Ruby version 1.9 or greater installed

$ gem install sinatra
$ sudo cp bin/xfiles /usr/local/bin/
$ sudo chmod 777 /usr/local/bin/xfiles

or

$ gem install xfiles

Options

Control access, timeout periods and file overwriting preferences. See xfiles -h.

About

Easy file transfer server built with Sinatra.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages