I need to change the date of the remote file via Chilkat's FTP Component. I have used CkFtp2_getAutoFeat(pFtpClient) so as to activate the features of the server.
wDate:='Mon, 20 Oct 2016 16:35:00 -0500'
CkFtp2_SetRemoteFileDateTimeStr(pFtpClient,pWideChar(wDate),pWideChar(wHostFileName)) ;
Gives Error
'<ChilkatLog>'#$D#$A'<SetRemoteFileDateTime>'#$D#$A'<DllDate>Dec 13 2012</DllDate>'#$D#$A'<UnlockPrefix>xxxxxx</UnlockPrefix>'#$D#$A'<Username>VMAF:user</Username>'#$D#$A'<Architecture>Little Endian; 32-bit</Architecture>'#$D#$A'<Language>C++ Builder XE2</Language>'#$D#$A'<VerboseLogging>0</VerboseLogging>'#$D#$A'<DateTime>Thu, 20 Oct 2016 21:35:00 GMT</DateTime>'#$D#$A'<info>Trying MDTM...</info>'#$D#$A'<info>Trying SITE UTIME...</info>'#$D#$A'<error>Failed.</error>'#$D#$A'</SetRemoteFileDateTime>'#$D#$A'</ChilkatLog>'#$D#$A
With another delphi component (TFTPClient from ICS) the date changes using same server.
I am using an older Chilkat Dll version as I am comfortable with that and all works fine except the date change.
I am using Delphi Dll, Chilkat Ftp2, ICS TFTPServer component, Windows OS
Regards