in reply to higher info lever for MNet::FTP

Since the local and remote file names are arguments for sending and receiving the files, you can simply print them. For the file size, a simpleperldoc Net::FTP reveals several methods that may help you find the file size, such as size or bytes_read. Alternatively, you can simply ask the local filesystem for the size (perldoc -f stat)of the file after you put/get the file.

Creative searching through perldoc perlfunc and or http://cpan.org will let you find some functions to help you work with the times.

By the way: The module is Net::FTP, not MNet::FTP.

...roboticus

Replies are listed 'Best First'.
Re^2: higher info lever for MNet::FTP
by Anonymous Monk on Jul 01, 2010 at 13:48 UTC

    Thanks Roboticus, for your suggestions, but I'm a complete newbie on perl world, someone gave this code that i try to improve. I'm RTFM but it's overwhelming