Hi I am using WinInet to send a file via FTP to a remote server. Most of this has gone well using postings from here and Axapatapedia. However, the file arrives on the remote server with ZERO bytes. The file has been created on the remote server, but no content transmitted. I am therefore attempting to implement InternetGetLastResponseInfo from WinInet to get a useful message why the transfer failed. But I can not get it to work. When called it alsways returns False, and using WinAPI::getLastError returns error number 87. Whatever that means.
Anybody care to help? Anyone done this? Thanks.