Synapse bulk upload issue lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- aducom · 2019-10-18 19:19 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 ---------------------------------------------------------------------- Thaddy · 2019-10-18 19:23 Reduce the local stack size to 2048 instead of the default compiler settings. ---------------------------------------------------------------------- aducom · 2019-10-18 20:05 I changed the stack size on the compilation and linking section in project options and set it to 2048. But there is no difference in behavior unfortunately. ---------------------------------------------------------------------- aducom · 2019-10-18 21:52 Ok, if the upload fails then just logout, do a login and retry. Then it goes well for again around 80 files etc. Don't know why, but if this does the job. Still I wonder why there is such a dramatic performance difference between Synapse and Filezilla.