Jump to content

Brian Culverwell

Members
  • Content Count

    8
  • Joined

  • Last visited

Everything posted by Brian Culverwell

  1. Hi I am trying to write code that will compose a REST request that is multi-part - containing headers, parameters (body) and a file to upload - then interrogate the response. I have tried the inbuilt .net components of Delphi - and can create the headers and parameters, but the 'addfile' fails. Any idea's or a sample project or code snippet that does this? Regards Brian
  2. Thanks Angus - I will take a look at that old non-SSL sample - at the moment I don't need SSL at all.
  3. I have successfully implemented SSL transfer of files but my client reports that some images are not fully transferred.... they think it is some timeout? My code is thus: HttpsGetFile := THttpsGetFile.Create(Application); OverbyteGetFile1.Url := arg2; OverbyteGetFile1.TempFolder := BpcGetTempDir; HttpsGetFile.GetRemoteFile; it looks like the GetRemoteFile is timing out and not getting the full contents of the file? If you could help in any way that would be most appreciated.
  4. Brian Culverwell

    SSL GetRemoteFile not transferring the whole image

    tried that and success! Now just to put that code into my project. Thanks for all your help Angus. Regards Brian
  5. Brian Culverwell

    SSL GetRemoteFile not transferring the whole image

    Thanks again - I will try the OverbyteIcsXferTst.dpr sample and see if I can get an upload from a https server...
  6. Brian Culverwell

    SSL GetRemoteFile not transferring the whole image

    Angus - the THttpsGetFile was declared in one of the samples so I used that.
  7. Brian Culverwell

    SSL GetRemoteFile not transferring the whole image

    Thanks Angus I am sure it is part of ICS but if not, is there another example using ICS that can download files from https? Best regards Brian
×