copy to FTP server

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
richdwest
Posts: 2
Joined: 10 Jan 2014, 07:43

copy to FTP server

Post by richdwest »

Im needing help with how to use a FTP login script to copy files to it during the AMC process.
At the moment I am using the basic amc script as follows.

filebot -script fn:amc --output "/path/to/output" --action copy -non-strict "F:/DLd" --def excludeList=amc.txt

I know I need to replace "/path/to/output" with an instruction of the location and login details of the ftp server, but unsure how.

Please could someone assist me. Its a local FTP server with username and password.
Thanks.

richd
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: copy to FTP server

Post by rednoah »

Sorry, that's not supported, you can only use the local filesystem. I recommend just copying to a temporary location and then syncing everything to your ftp either with filebot scripts or other ftp tools of your choice.
:idea: Please read the FAQ and How to Request Help.
richdwest
Posts: 2
Joined: 10 Jan 2014, 07:43

Re: copy to FTP server

Post by richdwest »

Thanks. I am now using an smb server instead and I see others have moved files to network folder this way. Problem Im having is, I need the script to define what username and password to use when it attempts to connect to the share. The server im running - android device with a smb server app that only support logins with a guest account.
I would have thought that what im attempting would have been tried already since android media centre device are becoming quite popular. maybe this thread will help others if I get it right.
Thanks.
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: copy to FTP server

Post by rednoah »

Not sure if you're talking Windows, Linux or Mac, but in any case there should be a way to mount the the FTP/SMB shares as local drives or folders making things appear as if they are local files.

If you have any cmdline tools that you can use to upload things then you can play with doing your own upload + delete script for post-processing:
--def exec=touch "{file}" Run program on newly processed files
:idea: Please read the FAQ and How to Request Help.
Post Reply