Project

xfiles

0.0
No commit activity in last 3 years
No release in over 3 years
Easy file transfer web interface built on Sinatra
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.4.3
 Project Readme

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.