Have you talked to your superior about the information that needs to be written to the log file?
If you do not already have a logging infrastructure, the easiest approach is to just open a file and write to it. See open and print.
As an alternative, there is Log::Log4Perl, which many people like.
I suggest writing the file size of the file before you transfer it, the source file name, the remote directory and file name and at the end of the transfer the file size as reported by the remote end.
In reply to Re: To Log FTP Transfers.
by Corion
in thread To Log FTP Transfers.
by hark-Tooth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |