Page 1 of 1

FTP and dynamic subfolders

Posted: Wed Sep 19, 2018 2:54 pm
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\*.*

Re: FTP and dynamic subfolders

Posted: Wed Sep 19, 2018 4:01 pm
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