Page 1 of 1

Getting a file list of all converted files to update ftp servers list

Posted: Mon Apr 25, 2016 4:35 pm
by DrMax
Hi All,
I have managed to generate a blank txt file when I first convert files to OGG format, but am unable to get the files I have converted to list in there.
Also, once converted the files upload to my FTP, but my text file does not.
Any ideas?

The aim is to maintain a converted files list on my server for access by multiple users.

Loving the software :-)

Regards
Max

Workflow inf below:

Code: Select all

[General]
Watcher=MP4 to OGG (2)
Folder=
Watcher_ID=20160425161313
[Variable]
wf_size=159.691875
Start_proc=mon_folder 20160425-161700-409-114CBAA7ECFE
[Maintainance]
[Special]
[FUL-L-AW-2015]
PID=5336
[mon_folder 20160425-161700-409-114CBAA7ECFE]
execute_on=3800889
Folder=P:\Fulcro\User folders\Max Mallia-Parfitt\360 Video Processing\Raw Video (put files here)
Accept_Types=
Deny_Types=
Deny_Paths=
ATTRIB_READ=4
ATTRIB_ARCH=4
ATTRIB_SYS=4
ATTRIB_HIDDEN=4
Recurse=4
Localize=4
Create_Folder=4
DirSize=0
FileLimit=None
proc_x=444
proc_y=294
Outbound=enc_stills 20160425-161708-605-078BF939625F|enc_av_customff 20160425-161915-864-5AB30044ABC8
[enc_stills 20160425-161708-605-078BF939625F]
execute_on=3800889
Format=JPG
D_force=4
Digits=4
Sequence=1
Quality=8
Q-Switch=1
Extract_type=0
Every_n=100
Distribute=20
proc_x=683
proc_y=294
Outbound=other_textfile 20160425-170028-491-4EC553176936
[dest_folder 20160425-161712-385-AC6EAD14D55E]
execute_on=3800889
Folder=P:\Fulcro\User folders\Max Mallia-Parfitt\360 Video Processing\OGG for FulMax
Suffix=
Prefix=
Overwrite=4
Unique=1
Case=None
Drop_name=4
Drop_ext=4
proc_x=1162.6134375
proc_y=294
Outbound=dest_ftp 20160425-170950-023-29E6F0E6CADC
[enc_av_customff 20160425-161915-864-5AB30044ABC8]
execute_on=3800889
Preset=OGG Out
proc_x=683
proc_y=427
Outbound=other_textfile 20160425-170028-491-4EC553176936
[other_textfile 20160425-170028-491-4EC553176936]
execute_on=3800889
encoding=UTF-8
template=Files
out_file=files.txt
out_folder=P:\Fulcro\User folders\Max Mallia-Parfitt\360 Video Processing\OGG for FulMax
proc_x=923.075625
proc_y=294
Outbound=dest_folder 20160425-161712-385-AC6EAD14D55E
[dest_ftp 20160425-170950-023-29E6F0E6CADC]
execute_on=3800889
Server=*********
Port=21
Username=********
Password=*******
Path=/**********
Suffix=
Prefix=
Overwrite=4
Unique=1
Case=None
Drop_name=4
Drop_ext=4
passive=4
proc_x=1402.15125
proc_y=294
Outbound=
enabled=68

Re: Getting a file list of all converted files to update ftp servers list

Posted: Mon Apr 25, 2016 5:54 pm
by admin
Hi Max, thank you for using FFAStrans and welcome to the forum! :-)

Let me see if I understand you correct:
You want to populate ONE file (files.txt) with all your converted files, maybe something like this:

P:\Fulcro\User folders\Max Mallia-Parfitt\360 Video Processing\OGG for FulMax\files.txt
My converted file 1.ogg
My converted file 2.ogg
My converted file 3.ogg
....


And then upload the updated text file (files.txt) once a new file has been converted. Is this correct?

-steipal

Re: Getting a file list of all converted files to update ftp servers list

Posted: Tue Apr 26, 2016 8:04 am
by DrMax
Dear Steipal,
That is correct - this file will keep a list of all files converted to date and be added to every time more media is converted.
This will allow a database to look at the file to maintain a list of current media available for use by our team.
I look forward to your reply.
Regards
Max

Re: Getting a file list of all converted files to update ftp servers list

Posted: Tue Apr 26, 2016 6:09 pm
by admin
In the current version, the best way would be to echo variables into your text file using the "Command executor"-node with the following setting:

%comspec% /c "echo %s_original_name% >> "P:\Fulcro\User folders\Max Mallia-Parfitt\360 Video Processing\OGG for FulMax\files.txt""

PS: Make sure the text file exists before echoing.


Then download cURL and use it to upload the file with a new "Command executor"-node:

%comspec% /c "C:\curl.exe -T "P:\Fulcro\User folders\Max Mallia-Parfitt\360 Video Processing\OGG for FulMax\files.txt" ftp://<username>:<password>@<ftp.myserver>/<my>/<folders>/"

Now your workflow should look something like: Folder monitor->Encoder->Command executor->Command executor...

The next version will have new options in the "Generate text file"-node to append text to existing file and set text file to source for subsequent nodes. This will enable direct FTP uploading using the "FTP"-delivery node.

-steipal