monir
asked on
HTTP Resume Download
Can I do a HTTP download with "resume download" using any HTTP client socket or any other socket, but without using Wininet API.
Monir.
Monir.
ASKER
Thank you for your answer, but they use Wininet API, What I want is to do a download by using a socket and HTTP protocol.
Monir
Monir
ASKER
Thank you for your answer, but they use Wininet API, What I want is to do a download by using a socket and HTTP protocol.
Monir
Monir
if you are using Indy, check out TIdHTTP's Request.ContentRangeStart and ContentRangeEnd. Specifying that will allow return the data from the range you specified
ASKER
Thank you DragonSlayer
I checked TIdHttp Request, I cound not find ContentRangeStart and ContentRangeEnd in it, I am using the latest version of Indy!!
It has been found in TIdEntityHeaderInfo, could you plase tell how can I use that in HTTP download, just a guidelines please.
Monir.
I checked TIdHttp Request, I cound not find ContentRangeStart and ContentRangeEnd in it, I am using the latest version of Indy!!
It has been found in TIdEntityHeaderInfo, could you plase tell how can I use that in HTTP download, just a guidelines please.
Monir.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you,
I have got the answer now, you got the points,
Could you please tell me how to do the same things with
NetMaster component TNMHttp.
Monir
I have got the answer now, you got the points,
Could you please tell me how to do the same things with
NetMaster component TNMHttp.
Monir
ASKER
That is exaclty what I want, thank you.
Umm... sorry, but I don't use the NetMaster components (in fact, I uninstalled the whole package and the help file).
Hi,
Use TNMFTP instead. It has DownloadRestore method for that purpose.
Regards, Geo
Use TNMFTP instead. It has DownloadRestore method for that purpose.
Regards, Geo
Hi Geo... I think he wants to use HTTP instead :)
Hi DragonSlayer, I don't think that it's possible using TNMHTTP component. That's why I suggested TNMFTP. While I was writing my comment the question was closed by the way.
ASKER
"resume download" with FTP (using any socket component) is very easy, but in HTTP is a bit complicated.
DragonSlayer solve it for Indy thank you again.
Monir
DragonSlayer solve it for Indy thank you again.
Monir
ASKER
"resume download" with FTP (using any socket component) is very easy, but in HTTP is a bit complicated.
DragonSlayer solve it for Indy thank you again.
Monir
DragonSlayer solve it for Indy thank you again.
Monir
Use iedownload, you can download it form this link, and th samples programs with it, and one for resume downloading
http://www.euromind.com/iedelphi/iedownload.htm
Best regards
Mohammed Nasman