FTP and dynamic subfolders

Questions and answers on how to get the most out of FFAStrans
Post Reply
asmit1
Posts: 1
Joined: Wed Sep 19, 2018 9:40 am

FTP and dynamic subfolders

Post by asmit1 »

Is it possible that FFASTRANS can pickup and process subfolders from the ftp site?
Probably every week there will be manually added new programs. The dynamic part in ftp (AlbertTV, ChrisTV, ….)

ftp://tt888@ftp.tt888.nl
/omroepen/SIEN/TESTOMROEP/Instarts/AlbertTV/*.*
/omroepen/SIEN/TESTOMROEP/Instarts/ChrisTV/*.*
/omroepen/SIEN/TESTOMROEP/Instarts/< ????TV >/*.*
Accept files: *.mpg, *.mov

/omroepen/SIEN/TESTOMROEP/Full_Program/*.*
Accept files: *.mpg, *.mov


Deliveries Transcode IN
\\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_IN\TESTOMROEP\Instarts\<dynamic>\*.*

Deliveries Transcode OUT
If *.mpg then copy to \\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_OUT\TESTOMROEP\Instarts\<dynamic>\*.*
And If *.mov then create mpg and copy to \\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_OUT\TESTOMROEP\Instarts\<dynamic>\*.*

Deliveries Transcode IN
\\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_IN\TESTOMROEP\Full_program\*.*

Deliveries Transcode OUT
If *.mov then copy \\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_OUT\TESTOMROEP\Full_Program\*.*
And If *.mpg then create mov and copy to \\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_OUT\TESTOMROEP\Full_Program\*.*


Cleanup Deliveries files in Transcode IN
\\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_IN\TESTOMROEP\Instarts\<dynamic>\*.*
\\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_IN\TESTOMROEP\Full_program\*.*
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: FTP and dynamic subfolders

Post by admin »

Hi asmit1, thank you for using FFAStans and welcome to the forum! :-)

Yes, recursive folders in FTP was added in 0.9.0. So all you need to do is check "Recurse" in the FTP monitor. Use the %s_original_path~n% variable to get the dynamic folder:

\\evs-smb-01\PROD-SIEN\TaskMedia\Transcode_OUT\TESTOMROEP\Instarts\%s_original_path~1%

-steinar
Post Reply