Hello all,
I, as a total freeBSD beginner, will probably be completely in over my head for this one, but please try anyway.
What I want to achieve;
The Laymen's explanation; I want my FreeNAS to upload new TV shows to my tablet every night, until the tablet is full.
I need a script to attempt uploading the top line of a queue file to a FTP destination and delete the top line if it succeeds, cycling until it gets a failure and then quitting. I would run it through a cronjob on my NAS.
Supposedly I have my TV show fetchers generate a list of new shows that looks like this;
/mnt/Tank1/TVshows/Battlebots s3e2.mkv
/mnt/Tank1/TVshows/Battlebots s3e3.mkv
/mnt/Tank1/TVshows/Battlebots s3e4.mkv
Can I make a script that works these into an FTP transfer?
Ive googled around and found an app called C-Kermit, supposedly this makes it easier?
If someone knows of an example script that handles queued FTP uploads in freeBSD I can dissect it and learn how it works.
I hope you guys can help. If its too difficult ill have to resort to running DOS in a VM to do it with a batch file or something.
Cheers,
- Soko
I, as a total freeBSD beginner, will probably be completely in over my head for this one, but please try anyway.
What I want to achieve;
The Laymen's explanation; I want my FreeNAS to upload new TV shows to my tablet every night, until the tablet is full.
I need a script to attempt uploading the top line of a queue file to a FTP destination and delete the top line if it succeeds, cycling until it gets a failure and then quitting. I would run it through a cronjob on my NAS.
Supposedly I have my TV show fetchers generate a list of new shows that looks like this;
/mnt/Tank1/TVshows/Battlebots s3e2.mkv
/mnt/Tank1/TVshows/Battlebots s3e3.mkv
/mnt/Tank1/TVshows/Battlebots s3e4.mkv
Can I make a script that works these into an FTP transfer?
Ive googled around and found an app called C-Kermit, supposedly this makes it easier?
If someone knows of an example script that handles queued FTP uploads in freeBSD I can dissect it and learn how it works.
I hope you guys can help. If its too difficult ill have to resort to running DOS in a VM to do it with a batch file or something.
Cheers,
- Soko