In Progress

Auto uploader for linux

Hi,

Short version:

I need a program that checks a directory for new directories being written to it (inotify). When a new dir has been written it should spawn a child process that makes a torrent of it, upload the torrent to a tracker and the wget it down again.

Longer version:

It needs to:

Check the dir for new dirs (inotify) as a daemon I suppose?

When the above occurs, spawn child proc that ->

mktorrent -a blabla -p -v $newdirsname/

Send a post to the trackers [url removed, login to view] (wput? curl -d?) with all necessary info (the exakt format of the string to send will be provided)

wget the file (this part isn't as hard as we can predict the url)

return exit code to parent

Settings should be read from a text file.

Several child procs should be able to spawn simultaneous (the number of child procs should be configurable)

Full commented source is expected.

Skills: C Programming, C# Programming, Perl, Python, Shell Script

See more: proc, p v, d uploader, d auto, blabla, auto part, auto it, curl code, file uploader php, check parent, php curl source code, linux read text file, uploader php, auto send, auto curl, suppose, trackers, linux daemon process, spawn, daemon linux php, source auto

About the Employer:
( 9 reviews ) Arboga, Sweden

Project ID: #572638