Libcurl ftp/sftp upload concern

Hi,

I have been using libcurl provided by sir mikeduglas in sftp solution since nettalk only have ftp template. My concern is when I have to upload a certain file to the sftp server, it modifies the date-time of the file based on date-time of the sftp server. I am using the .writefile functionality. Is there another function that only copies the file instead of using the .writefile function so that it won’t modify the date-time of the file?

Thanks in advanced.

I found this curl bug report/feature request, but seems it is not implemented yet.

1 Like

Thank you very much for this, Sir @Mike_Duglas

A workaround could be to zip the file before sending