I want to make an FTP connection (ideally using Coldfusion 8, but Java is fine too) which will copy the file to the remote server.
However, I want to know how many bytes were transferred , so I can give some feedback to the user.
Is this possible, and if so, which FTP API would you recommend, as I understand that the Sun implementation may be a little behind.
Thanks in advance!
PS: I may have a different process / thread polling the file size on the destination machine through a web service call during file transfer, but it is not ideal. Getting it through the FTP API would be the easiest solution.
source share