Jump to content
Brian Culverwell

SSL GetRemoteFile not transferring the whole image

Recommended Posts

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.

Share this post


Link to post
35 minutes ago, Brian Culverwell said:

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.

image.thumb.png.3eb373aa35acb85d7de2ea634a5aeb44.png

Share this post


Link to post

THttpsGetFile is not an ICS component.  It may be derived from an ICS component, but you need to ask whoever wrote it.

 

Angus

 

Share this post


Link to post

As I said, it may use ICS components, but is not part of the ICS distribution.  Need to see the source code to know who wrote it and how.

 

For simple file downloads build the OverbyteIcsXferTst.dpr sample and try HTTP Downloads.

 

Angus

 

Share this post


Link to post
11 hours ago, Brian Culverwell said:

THttpsGetFile was declared in one of the samples

I cannot find it. What is the sample project name? Look into the source and see if you can find who wrote it? Where did you have downloaded this sample? Make sure you have the latest ICS source code

Share this post


Link to post

THttpsGetFile was probably one of the many Usermade components written 20 years ago and not touched since.  But he now has a modern version. TIcsHttpMulti.

 

Angus

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×