- 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
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