Net::FTP::Path::Iter::Entry - Class representing a Filesystem Entry
version 0.06
A Net::FTP::Path::Iter::Entry object represents an entry in the remote FTP filesystem. It is rarely seen in the wild. Rather, Net::FTP::Path::Iter uses the subclasses Net::FTP::Path::Iter::Entry::File and Net::FTP::Path::Iter::Entry::Dir when passing paths to callbacks or returning paths to iterators. These subclasses have no unique methods or attributes of their own; they only have those of this, their parent class.
The entry mode as returned by stat.
The entry modification time.
The entry name.
The complete path to the entry
The parent directory of the entry
The Net::FTP server object
The size of the entry
The type of the entry, one of
file
directory
symbolic link. See however "Symbolic Links" in Net::FTP::Path::Iter
unknown
$bool = $entry->is_dir;
returns true if the entry is a directory.
$bool = $entry->is_file;
returns true if the entry is a file.
Please report any bugs or feature requests to bug-net-ftp-path-iter@rt.cpan.org or through the web interface at: https://rt.cpan.org/Public/Dist/Display.html?Name=Net-FTP-Path-Iter
Source is available at
https://gitlab.com/djerius/net-ftp-path-iter
and may be cloned from
https://gitlab.com/djerius/net-ftp-path-iter.git
Please see those modules/websites for more information related to this module.
Net::FTP::Path::Iter
Diab Jerius <djerius@cpan.org>
This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory.
This is free software, licensed under:
The GNU General Public License, Version 3, June 2007
To install Net::FTP::Path::Iter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::FTP::Path::Iter
CPAN shell
perl -MCPAN -e shell install Net::FTP::Path::Iter
For more information on module installation, please visit the detailed CPAN module installation guide.