You are here: Home / LBN / Up2date / Core Linux / BastionLinux 36 / perl-Net-FTP-RetrHandle-0.2-34.fc36.noarch

perl-Net-FTP-RetrHandle-0.2-34.fc36.noarch

Package Attributes
RPM  perl-Net-FTP-RetrHandle-0.2-34.fc36.noarch.rpm Architecture  noarch Size  18186 Created  2022/09/06 06:39:46 UTC
Package Specification
Summary File reading interface for reading files on a remote FTP server
Group Unspecified
License GPL+ or Artistic
Home Page https://metacpan.org/release/Net-FTP-RetrHandle
Description

This Perl module provides a file reading interface for reading all or parts of files located on a remote FTP server, including emulation of seek and support for downloading only the parts of the file requested.

Support for skipping the beginning of the file is implemented with the FTP REST command, which starts a retrieval at any point in the file. Support for skipping the end of the file is implemented with the FTP ABOR command, which stops the transfer. With these two commands and some careful tracking of the current file position, we're able to reliably emulate a seek/read pair, and get only the parts of the file that are actually read.

This was originally designed for use with Archive::Zip; it's reliable enough that the table of contents and individual files can be extracted from a remote ZIP archive without downloading the whole thing.

An interface compatible with IO::Handle is provided, along with a tie-based interface.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PayloadIsZstd)  
Provides
perl(Net::FTP::RetrHandle)
perl-Net-FTP-RetrHandle

Document Actions