Phlucious
14th November 2013, 00:46
My issue is quite similar to the post here (http://www.qtcentre.org/threads/51348-Putting-large-size-file-on-FTP-using-QNetworkAccessManager), but Chris's solution only worked partway for me.
When I upload a small file (say, 750 bytes), everything works as expected. But when I PUT a large file (say, 65MB), I see the file created on the FTP with zero bytes and I'm unable to remove it from the FTP (using FileZilla) until I close the application, suggesting that it's still in use, but no data ever uploads. My QNetworkReply never emits uploadProgress(), finished(), or error(), so I don't have anything to troubleshoot.
I'm completely stumped. Any ideas? I can post sample code, but it's basically the same as what ChrisW67 posted.
When I upload a small file (say, 750 bytes), everything works as expected. But when I PUT a large file (say, 65MB), I see the file created on the FTP with zero bytes and I'm unable to remove it from the FTP (using FileZilla) until I close the application, suggesting that it's still in use, but no data ever uploads. My QNetworkReply never emits uploadProgress(), finished(), or error(), so I don't have anything to troubleshoot.
I'm completely stumped. Any ideas? I can post sample code, but it's basically the same as what ChrisW67 posted.