The purpose of this task came from a need I originally had. I was wondering if I could:
So what we gonna do is proceed to an automatic file transfer with the FTP protocol from your NAS to your device (PMA, PS3, FAI Box, any thing that get a built in FTP server with write rule).
Loopion> ipkg install http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/ncftp_3.2.2-1_arm.ipkLoopion> ncftpput -A -R -u yourlogin -p yourpassword ftp.yourhost.com "/Disque dur/Video" /volume1/downloads/*.aviThis command line will copy all files and directories from /volume1/videos/ to /Disque dur/videos by FTP. The -A option is mention to append files and the -R to make it all recursive.vi /etc/crontab
0 18 * * * ncftpput -A -R -u yourlogin -p yourpass hd1.freebox.fr "/Disque dur/Video" /volume1/downloads/*.aviFor more information about ncFTP you will find more information on this page.
If you would like to output all logs from your task just add >> /pathtoyourlog.txt to get a file with all logs
Another thing is that you can create a bash script to execute a bunch of commands like: extracting all rars videos, transferring your vids, delete them from your NAS, output all logs in a file and finally send a mail to know wich videos have been succefully uploaded.