Looking for the latest version? Download sendfiles-20140416.zip (45.9 kB)
Home
Name Modified Size Downloads / Week Status
Totals: 9 Items   396.0 kB 10
sendfiles-20140516.zip 2014-05-16 46.0 kB 11 weekly downloads
sendfiles-20140516.tar.gz 2014-05-16 43.1 kB 11 weekly downloads
sendfiles-20140416.zip 2014-05-16 45.9 kB 22 weekly downloads
sendfiles-20140416.tar.gz 2014-05-16 43.1 kB 11 weekly downloads
sendfiles-20120801.tgz 2012-08-01 44.7 kB 11 weekly downloads
sendfiles-20120801.zip 2012-08-01 47.2 kB 11 weekly downloads
README.txt 2011-03-15 2.5 kB 11 weekly downloads
sendFiles-20110314.zip 2011-03-15 46.6 kB 11 weekly downloads
sendFiles-20110314.tgz 2011-03-15 76.8 kB 11 weekly downloads
INSTALLATION I. Client Side 1. Be sure that PHP is installed as command line tool on the client side and has curl extension 2. Put the "send" directory where you want it installed 3. Configure the "config_sendFiles.php" variables according to your environment II. Server Side 1. You will need an HTTP server running with PHP 2. Put the "receive" directory wherever you want on the server 3. Configure the "config_receive.php" variables according to your environment GENERAL USAGE ============= On the command line on the client side: prompt> php sendFiles.php dir_to_be_sent At the end of execution a file called YYYYMMDD-log.txt will be on the current directory. YYYY will be the 4 digits of current year. MM the 2 digits of current month and DD 2 the 2 digits of current day. Its possible to monitor the log file during execution. USAGE ON UNIX ============= To monitor the progress of the log file: prompt> tail -f AAAAMMDD-log.txt To interrupt use Ctrl+C Note 1: "php" must be on the path or you will have to specify the whole path to it. Note 2: the 3 php files (class, config and program) must be where you will run the command. To avoid this and make it work from anywhere one option is to put a new first line on sendFiles.php like: #!/your/path/to/php This line will tell unix which executable must interpret this script. Than you put sendFiles.php in some place to where your path points and make it executable with something like: prompt> chmod 755 sendFiles.php Then you would need either to edit sendFiles.php and put absolute paths to the config and class files or put them in your php include path. USAGE ON WINDOWS ================ On a Windows environment you can monitor the log file with a program like "Tail for Win32" (http://tailforwin32.sourceforge.net/). For the impatient, a direct link to the zip file: http://sourceforge.net/projects/tailforwin32/files/Tail/4.2.12/Tail-4.2.12.zip/download Note 1: "php" must be on the path or you will have to specify the whole path to it. Note 2: the 3 php files (class, config and program) must be where you will run the command. Note 3: I have tested with the PHP downloaded from http://windows.php.net/download/ I dowloaded the zip file of VC6 version thread safe to use it on Win XP. With the zip you don't need to be administrator, as it will work from extracted path. I didn't put it on my path and it worked with something like: prompt> ..\..\php\php.exe sendFiles.php test_dir
Source: README.txt, updated 2011-03-15