socket read a part of a file from server

Joined
Oct 31, 2008
Messages
3
Reaction score
0
hi,
i want to create a resume support file download program using socket.
it can be like i am downloading a large file and stopping it for today and want to continue tomorrow from the bytes i left. it is like 50kb today and 50kb tomorrow.
i dont want use third party resume support programs.

normally i am requesting a file like the following

GET /filename.ext HTTP1.1/
Host: host.com
Connection: Close;

and in the while loop i am receiving the content with the header
and i remove the header to get the file content.

is there a way to get the file alone... that using some other port because port 80
will give a header...

socket read a part of a file from server
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top