NAME

Net::FTP::Path::Iter::Entry - Class representing a Filesystem Entry

VERSION

version 0.07

DESCRIPTION

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.

OBJECT ATTRIBUTES

mode

The entry mode as returned by stat.

mtime

The entry modification time.

name

The entry name.

path

The complete path to the entry

parent

The parent directory of the entry

server

The Net::FTP server object

size

The size of the entry

type

The type of the entry, one of

f

file

d

directory

l

symbolic link. See however "Symbolic Links" in Net::FTP::Path::Iter

?

unknown

METHODS

is_dir

$bool = $entry->is_dir;

returns true if the entry is a directory.

is_file

$bool = $entry->is_file;

returns true if the entry is a file.

INTERNALS

SUPPORT

Bugs

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

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

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Diab Jerius <djerius@cpan.org>

COPYRIGHT AND LICENSE

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