in reply to Verify FTP Success, prior to deleting files
One of the ways could be by listing the directory on the $webserver, locating the entries for the files that were just uploaded and comparing the sizes. Of course, there is always a chance of corruption that doesn't change the size...
Also, you can parse the log of your FTP session and make sure that server responses were positivie all the time. :)
|
|---|