Page 1 of 1

move to ftp all files *.torrent from download directory

Posted: 13 Jan 2016 18:28
by etaon
Move all files to ftp i think, easy problem. Trigger observer...

Think i right? i take filename from vvariable and compare or search .torrent in filename?

Or therease some instrument like path in observer trigger?
.../download/*.torrent?

Re: move to ftp all files *.torrent from download directory

Posted: 13 Jan 2016 20:36
by Martin
Hi,

You can try to use trigger File Observer, select the directory and option Subfile created. You can use a condition Expression to check if path ends with .torrent (script: endsWith(path, ".torrent").
Trigger File Observer might be a bit early when the file is already created but the download of the torrent file has not finished yet, but this highly depends on the app that writes the torrent file.

Regards,
Martin