I use the regular FileBot script to watch a folder and rename new files but I'd love to be able to automatically upload them to an FTP once they are renamed. On FileBot's web site it reads "Transfer files from and to any server via FTP/SCP/SFTP and run commands via SSH", but I'm not able to find any information about it.
Ideally I'd like to be able to create the same folder structure in my FTP (Series name\Season Number\Episode Name).
Can anybody point me in the right direction?
Thanks!
Uploading to FTP - How?
Re: Uploading to FTP - How?
FileBot comes with a complete support for Groovy and Ant.
Ant FTP/SFTP tasks:
http://ant.apache.org/manual/Tasks/ftp.html
http://ant.apache.org/manual/Tasks/scp.html
Using Ant from Groovy:
http://groovy.codehaus.org/Using+Ant+from+Groovy
e.g.
Ant FTP/SFTP tasks:
http://ant.apache.org/manual/Tasks/ftp.html
http://ant.apache.org/manual/Tasks/scp.html
Using Ant from Groovy:
http://groovy.codehaus.org/Using+Ant+from+Groovy
e.g.
Code: Select all
def ant = new AntBuilder()
ant.ftp(remotedir: '/pub/incoming', server: 'ftp.freebsd.org', port: '21', userid: 'user', password: 'password', passive: 'yes') {
fileset(dir: 'D:/to-be-uploaded')
}
Re: Uploading to FTP - How?
Thanks!
Regrettably, my programming skills are pretty much non-existent. I guess I'll have to the file watcher script as it is and then find some external FTP software combination to upload the file.
Regrettably, my programming skills are pretty much non-existent. I guess I'll have to the file watcher script as it is and then find some external FTP software combination to upload the file.