Hi Khen.
Thanks for your hint, but I have ment something different.
I need advice how to use the datacon class from Net::FTP to get the amount of transfereed data (while transfering). I have read the CPAN docu, but I have no glue what the aouther is telling me. Best would be a working sample - for me.
Regards Ademmler
#From the manual:
read ( BUFFER, SIZE , TIMEOUT )
Read SIZE bytes of data from the server and place it into BUFFER, also performing any <CRLF> translation necessary. TIMEOUT is optional, if not given, the timeout value from the command connection will be used.
Returns the number of bytes read before any <CRLF> translation.
write ( BUFFER, SIZE , TIMEOUT )
Write SIZE bytes of data from BUFFER to the server, also performing any <CRLF> translation necessary. TIMEOUT is optional, if not given, the timeout value from the command connection will be used.
Returns the number of bytes written before any <CRLF> translation.
bytes_read ()
Returns the number of bytes read so far.