January 29, 201411 yr Attached code image  1)  I can COPY AS creating the backup fmp12 file.. 2) 3) And I am able to Insert the fmp12 to my container field..  Next i am trying to figure the ZipFile cmd..   to issue in between step 2 above   I have read and read the little doc info I could find as shown below.. and can't find a example  Can anyone see were my program is.. ERROR meaning can't find my date-coded fmp12 file I want to zip?  I need assist with syntax scr and des parameters  Thanks Rod    DOC Zip File   Zips up a source file to a destination zipfile, returning the zipped file as a container. 'src' is the path to a single file (not a directory), or the name of a container field (if referencing a container field, it must include the TO name followed by ::, e.g. "Demo::result_container") 'destination' is where the zip file should be written to. If 'destination' is a directory, the zip file is given the same name as 'src', but with a '.zip' extension added. If destination is empty, a temporary zip file is created as the destination.
January 30, 201411 yr Author Things are improving some, hope this makes sense.. now ERRORS WINDOW SAYS.. Can't open that file. File is a directory? FTPeek_UpLoadFileContainer( cmd Attached 2 images... disregard previous Images Now that I use a full path.. zipfile( Source C:myfoldermyprogbackupmybackupFM.fmp12 Made it work...I tied indirect backup without success? my FTPeek is now failing where, It worked b4, same sample scriptmaster code, sending a icon.jpg? Failing this line of code that did test b4 to work set field [ config::ftp_resultText ; FTPeek_UpLoadFileContainer ( "/www/ZipCopies" ; config::ftp_UpLoad Container ) ] So is FTPeek command failing or the preparation on my Zip file in the container?? another funny ,, /www folder, I guessed as.. on my website folder to be the root another funny thing.. Is there a file naming problem now stored in my container...as mybackupFM.fmp12.zip where as ZipFile destination is blank,, it doesn't but creates a SMtemp_5637383.file.zip
January 30, 201411 yr Author Things are improving some, hope this makes sense.. now ERRORS WINDOW SAYS.. Can't open that file. File is a directory? FTPeek_UpLoadFileContainer( cmd   Attached 2 images... disregard previous Images  Now that I use a full path.. zipfile( Source   C:myfoldermyprogbackupmybackupFM.fmp12 Made it work...I tied indirect backup without success?  my FTPeek is now failing where, It worked b4, same sample scriptmaster code, sending a icon.jpg?   Failing this line of code  that did test b4 to work set field [ config::ftp_resultText ; FTPeek_UpLoadFileContainer (   "/www/ZipCopies"  ; config::ftp_UpLoad Container    ) ]  So is FTPeek command failing  or the preparation on my Zip file in the container??  another funny ,, /www folder, I guessed as.. on my website folder to be the root  another funny thing..  Is there a file naming problem now stored in my container...as   mybackupFM.fmp12.zip where as ZipFile destination is blank,,  it doesn't but creates a SMtemp_5637383.file.zip   Â
January 30, 201411 yr Author I FIX it all... maybe someone else these images will help several days.. for me Part 1 I COPY AS my program and data file to a folder next to upload as container and zipFile these files in the one command line Then previewing 2 containers in a layout.. I can verify 2 zip files, having the famous zip icon leading filename Part 2 run the FTPeek ftp process what was.. i was using www/zip and it worked for testing SM_example code.. Fix like worked... set field [ config::ftp_resultText ; FTPeek_UpLoadFileContainer ( "/public_html/ZipCopies" ; config::ftp_UpLoad Container )] AND... I am finally working Grind....
Create an account or sign in to comment