Archive for décembre 9th, 2009

FileMover

Filemover is a simple scrypt used to move local files from a source folder to a destination folder.
It could be used with a ftp server to move files once uploaded.

It is written in Python download python 2.6

Download :

- win32 exe : filemover.zip
- sources :  filemover_sources.zip

Usage :

- unzip filemover.zip
- edit config.ini to set the local source folder, the local destination folder, and timer (in seconds)
- launch filemover.exe

Log :

filemover.log record moved files

Mercredi, décembre 9th, 2009

Carbon Coder Php Class

Carbon Coder Class: CarbonCoder.zip

Xml Class: Xml.zip

Usage :

$encoder = new CarbonCoder();
$status = $encoder->getStatus("started");
// Display Progress
foreach ($status as $thisStatus) {
	echo $thisStatus["Progress.DWD"];
}

Sockets problems

If socket_create() failed on Windows, install wampserver

  • Edit php.ini in wamp\bin\apache\Apache2.2.11\bin
  • Uncomment extension=php_sockets.dll

Mercredi, décembre 9th, 2009