FTP Upload Flow

Post your questions and help other users.

Moderator: Martin

Post Reply
heyrob
Posts: 1
Joined: 29 Dec 2016 17:16

FTP Upload Flow

Post by heyrob » 29 Dec 2016 21:09

Hello,

First off, kudos to the developer(s) of this app, it is a truly universal and well-designed app.. and the visual "flow" is fun and easy to work with! Thank you!

Secondly, I wanted to see if I could leverage Automagic to do FTP uploads, but of a more granular sort (based on file extension) from a single local folder, to multiple FTP server folder locations.

For example:

File Types: *.pdf, *.docx
From/storage/emulated/0/Documents/ > /Server Documents/Forms/

File Types: *.txt, *.xlsx
From/storage/emulated/0/Documents/ > /Server Documents/Misc Data/

Using the action "FTP Upload Files", I am (seemingly) only able to specify * and ? or variables to pull the contents of a folder. (I am hoping to use the trigger "File Observer" to initiate the FTP upload).

I have searched through the forum, and found a suggestion for *.torrent file using a script:

Code: Select all

endsWith(path, ".torrent")
... but this does not seem to work in my case. Although I am attempting to learn more about variables and expressions, I can't seem to put together an action that properly filters and uploads them to their respective locations. Any help or guidance that can be provided would be greatly appreciated, thank you!

Post Reply