View Single Post
dordnung
Veteran Member
Join Date: Apr 2010
Old 12-06-2018 , 12:23   Re: [EXTENSION] System2 - Easy to use HTTP(S)/FTP Request API and useful system nativ
Reply With Quote #106

Quote:
Shouldn't you close (delete) the FTP request handle (only) in the callback?
No it should not be deleted in the callback, as a copy is used there which will be deleted automatically after the callback. It should be deleted after making a request or when not used anymore.

Thanks for reporting it, I found the problem. I've forgot to close the file after downloading, thats why it was empty. This is fixed now.
But the "GetInputFile" part does not make sense. The input file is only set when uploading stuff to a FTP server.

Update to System2 v3.2.1

- Automatically use 32-Bit 7-ZIP when 64-Bit is not executable
- Fix incomplete file when downloading files with FTP
- Added libcurl certificate file for SSL instead of using system's certificate file
- Updated to the latest libcurl version
__________________

Last edited by dordnung; 12-06-2018 at 12:25.
dordnung is offline