In my application I generate a few hundred php files. I try to upload them using Synapse. Except that the upload is not as fast as a standard client like FileZilla, the application runs well for around 80 files and then terminates due to a boolean false in the sendfile. I tried different settings, active, passive, binary etc. but no success. Does someone have had the same experience or can point me to some error? I tried getlasterror, but it gives a 0. I can't figure out how to trap the socket error (if there is any).
The structure is simple:
- read files from folder
- open ftp
- for each file
- sendfile
- close ftp