I wrote a sync script to upload a local file if it does not exist on the ftp server.
I want to make it more robust by ensuring that the file size on each match. This will allow the script to correct the file if it was interrupted during an upload.
What is the best way to get the file size for both the remote and local files.
I am using Net::FTP to connect to the remote server
Thank you