in reply to Re: How to create zip on FTP server from client machine using perl
in thread How to create zip on FTP server from client machine using perl

I want to create zip file on ftp server first of existing directory call Documents and then download it to local client machine

I installed 7zip on server how can I send command to execute 7z a -tzip "07-Nov-201l\Documents.zip" "07-Nov-201l\Documents"

You mention in previous reply use ->cmd can you tell me syntax for it.

  • Comment on Re^2: How to create zip on FTP server from client machine using perl

Replies are listed 'Best First'.
Re^3: How to create zip on FTP server from client machine using perl
by GotToBTru (Prior) on Nov 22, 2016 at 13:46 UTC

    I don't see a cmd method, but there is quot(CMD,[ARGS]), so perhaps something like:

    $f->quot('7z', 'a', '-tzip', '07-Nov-201l\Documents.zip', '07-Nov-201l\Documents');
    But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)