suitable packages in perl for with features mentioned in the subject
I need the package having below features:
- needs client based secure file transfer machanism for getting files from multiple directories at the remote machine.
- Must have features to do ls at remote machine.
- Must have functions to know the file permissions开发者_开发百科 at remote machine.
- It have to use single connection for all file transfers.
- That package have to use less number of resources and it have to do transfer at fast.
- zipping the files at the remote machine.
Is this homework? And, have you tried searching CPAN? There are several modules that do what you need, such as Net::SCP and IO::Compress::Gunzip.
You can get most of this done with Net::SFTP
. How well the remote server complies with the compression part is mainly a function of that machine. If it supports it, you can probably issue a site
command to do it.
精彩评论