Mranal Posted April 17, 2010 Report Share Posted April 17, 2010 Hi i want a script for compressing and uploading a file into FTP server.Can anyone tell me the scriptthanksmranal Quote Link to comment Share on other sites More sharing options...
Chris Posted April 17, 2010 Report Share Posted April 17, 2010 Hi i want a script for compressing and uploading a file into FTP server.Can anyone tell me the scriptthanksmranalGrab the 7-Zip Command Line Version. This will do the compressing.To compress the command is:7za a myfile.zipYou can do more with the above but that will get you started.To FTP with a script, use the built in Windows FTP command. You need to have the FTP part in its own file (upload.ftp). Using FTP Batch Scriptsopen ftpserveruserpasswordput myfile.zipquitpauseThen to get it all working together; this will run it all (compress_and_ftp.bat).7za a zipfile.zipftp -s:upload.ftpMake sure both are in the same location and you can't go wrong. Quote Link to comment Share on other sites More sharing options...
simon james Posted December 22, 2010 Report Share Posted December 22, 2010 very useful script thanks for sharing the code with us Quote Link to comment Share on other sites More sharing options...
annysharing Posted January 6, 2011 Report Share Posted January 6, 2011 Great!It is helpful for me Quote Link to comment Share on other sites More sharing options...
Sarah Alberta Posted March 10, 2011 Report Share Posted March 10, 2011 Great for any assistance about how to manage developed script contact me on this forum. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.