Local Temp in FFASTRANS

Questions and answers on how to get the most out of FFAStrans
Post Reply
taurojo
Posts: 32
Joined: Mon Dec 19, 2016 2:44 pm

Local Temp in FFASTRANS

Post by taurojo »

Hi!
We work with the webinterface to send files to the converter.
We have all the videos on a NAS and one FFASTANS, not farmer.
What is the best way to copy the file to a local directory first in FFASTRANS computer?
Could you give an example.

Thanks!!!
emcodem
Posts: 1631
Joined: Wed Sep 19, 2018 8:11 am

Re: Local Temp in FFASTRANS

Post by emcodem »

Hi Taurojo,

usually we don't copy the sourcefile to a local drive for processing but instead it just stays where it is. Do you have both services, ffastrans and webinterface installed on the same machine?
Usually working with UNC shares just requires to configure the windows services for webinterface AND ffastrans to run with some credentials/username who has access to the share on your NAS, see bottom of the installation docs: https://ffastrans.com/wiki/doku.php?id=gui:installation

In webinterface settings, you configure something like that:
STATIC_ALLOWED_BROWSE_LOCATIONS_DISPLAY_NAMES: some_name_of_your_choice
STATIC_ALLOWED_BROWSE_LOCATIONS: \\yourservername\yourshare\

When you submit a job from webinterface this way, the %s_source% variable will be set to the selected file's full unc path, e.g.
\\yourservername\yourshare\file.ext

Now, if your workflow starts with a "Deliver File" processor which is set to copy to a local drive... then: voila, you have now made a copy from UNC share to local drive (but for no good reason maybe?) - and the next processor after Deliver File would work with the local copy.

One alternative way would be to allow the user to upload files and configure the upload location in webinterface settings to be a local drive. This way you also start with a copy of the file on a local drive of the ffastrans server.
emcodem, wrapping since 2009 you got the rhyme?
taurojo
Posts: 32
Joined: Mon Dec 19, 2016 2:44 pm

Re: Local Temp in FFASTRANS

Post by taurojo »

perfect explanation!!!!
Previously added a "Deliver File" in NvM hardrive previus conver.
Post Reply