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

Does your FTP server support creating a ZIP file for you? Does this feature work with any other client you know?

If yes, look at Net::FTP and its ->cmd ->quot function to do the same from Perl.

If no, you will have to download all files yourself using Net::FTP and then use Archive::Zip to create the ZIP file on your client.

Replies are listed 'Best First'.
Re^2: How to create zip on FTP server from client machine using perl
by Mjpaddy (Acolyte) on Nov 22, 2016 at 09:43 UTC

    Does your FTP server support creating a ZIP file for you?That I want to figure out

    Does this feature work with any other client you know?Not tested with other client

    On windows server 2012 r2 i.e. FTP server configured which not have Zip as utility in cmd but I install 7z on it

    how can I use that?

      It sounds like you should research what FTP is. The ability you require does not exist in standard FTP. Perhaps you want to connect to the server via other means and create a zip file? hint.

      You will need to research what the magic command is to make your FTP server zip up files and send you a ZIP file.

      Then you can use the ->quot method to send that command to your server.

      As marto already said, this is more a question into research on FTP servers than it is a question about Perl and Perl modules.