move to ftp all files *.torrent from download directory

Post your questions and help other users.

Moderator: Martin

Post Reply
etaon
Posts: 14
Joined: 11 Nov 2013 21:11

move to ftp all files *.torrent from download directory

Post by etaon » 13 Jan 2016 18:28

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?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

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

Post by Martin » 13 Jan 2016 20:36

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

Post Reply