473,394 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

resume and seek operation during file download

i am downloading a file using httpreponse. Now i want to make a
multithreaded app which will create 3 or more threads for downloading the
file. For this i want to pass different start position to read forn the
reponse object stream to the thread. But i am unable to change the read
position of httpresponse stream object. Is it possible
PLease let me know

Thanks


Nov 20 '05 #1
4 1143
Hi,

Maybe this will help.
http://msdn.microsoft.com/library/de...WinXP_BITS.asp

Ken
--------------------
"Vikramaditya Singh" <vi*********@rediffmail.com> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...
i am downloading a file using httpreponse. Now i want to make a
multithreaded app which will create 3 or more threads for downloading the
file. For this i want to pass different start position to read forn the
reponse object stream to the thread. But i am unable to change the read
position of httpresponse stream object. Is it possible
PLease let me know

Thanks

Nov 20 '05 #2
No i wanted to track it down in my own app instaed of using some dll or
wrapper.
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:eW**************@TK2MSFTNGP10.phx.gbl...
Hi,

Maybe this will help.
http://msdn.microsoft.com/library/de...us/dnwxp/html/
WinXP_BITS.asp
Ken
--------------------
"Vikramaditya Singh" <vi*********@rediffmail.com> wrote in message
news:OV**************@TK2MSFTNGP12.phx.gbl...
i am downloading a file using httpreponse. Now i want to make a
multithreaded app which will create 3 or more threads for downloading the file. For this i want to pass different start position to read forn the
reponse object stream to the thread. But i am unable to change the read
position of httpresponse stream object. Is it possible
PLease let me know

Thanks


Nov 20 '05 #3
Cor
Hi Ken,

I think this is not what is ment, (Maybe I am wrong) for me this question
sound as something as download Accelerator, which gets streams with
different starting points and connect them than again to one file when
downloaded.

If you have that, I am intrested also.

Cor
Nov 20 '05 #4
Hi Cor,
Yes i exactly means that only

Vikram

"Cor" <no*@non.com> wrote in message
news:Ob*************@TK2MSFTNGP12.phx.gbl...
Hi Ken,

I think this is not what is ment, (Maybe I am wrong) for me this question
sound as something as download Accelerator, which gets streams with
different starting points and connect them than again to one file when
downloaded.

If you have that, I am intrested also.

Cor

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: | last post by:
I want send my zip files in my page from inside php. With this I know how many people have download my file and other information. My problem is this, I have this code but it dosn't resume broken...
5
by: Shu-Hsien Sheu | last post by:
Hi, Does the seek method would close the file object after using a for loop? My program looks like this: f = open('somefile', 'r') for lines in f: some operations f.seek(0)
2
by: Shweta | last post by:
Hi, We are trying to buid an application in c++ which will have FTP download and FTP resume download facility.FTP download is working fine but there is a problem with resume download. For...
0
by: Chuck Anderson | last post by:
I am writing a Php script to run on my home PC (Windows) that downloads an Apache access log file and inserts new entries into a database.. The only way I can access these log files is through a...
2
by: Harry J. Smith | last post by:
In the code below the two lines marked with ????????????????? do not work properly. The line: inCF.BaseStream.Seek(0, SeekOrigin.Begin); // rewind inCF to beginning of the file...
59
by: Rico | last post by:
Hello, I have an application that I'm converting to Access 2003 and SQL Server 2005 Express. The application uses extensive use of DAO and the SEEK method on indexes. I'm having an issue when...
7
by: fniles | last post by:
In VB 6.0 in the error trapping, we can do "resume next" to continue on the next code. How can we do that in .NET with "Try", "Catch","End Try" ? Thanks
1
by: Chameleon | last post by:
I want to send a static file, via php to browser with ability to resume download. This is the code: -------------------------------------------- function send_file($file, $offset = 0, $offset2 =...
0
by: Mark Salsbery [MVP] | last post by:
"DR" <softwareengineer98037@yahoo.comwrote in message news:Op0NyzR8IHA.1200@TK2MSFTNGP04.phx.gbl... If the filestream is opened for write access then it still keeps its write access. If you...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.