08-26-2016 03:05 PM
I am trying to FTP a .csv using the DataFux Emai/FTP node. I am getting an error [2:COMMAND:Email and FTP 2] Out of memory!
The file is 76,831 kb. I would like to comepress it within the dataflux job before the FTP node. Anyone know how to do this?
08-30-2016 08:22 AM
You can use the execute() function in an Expression node to make a command line call to a compression/ZIP utility before making the call to the Email/FTP node. There are also "Execute Program" nodes that might meet your needs though they are set up to facilitate passing data into and out of external programs.
08-30-2016 08:36 AM
I have tried that, but can not get the syntax correct for the gzip. I get file not found when i is there, see below. Also, I am putting this aon a Shared drive in window, so how do I uncompress it in windows?
Command: gzip apps/dataflux/temp/OUTPUT/reports/vf_arcadia_vitals_file1.csv
apps/dataflux/temp/OUTPUT/reports/vf_arcadia_vitals_file1.csv: No such file or directory
0 rows read