473,324 Members | 2,166 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,324 software developers and data experts.

HELP FOR SEEKABLE NETWORK STREAMS IN .NET

hi,
Need some help on Network Streams in .NET. I m planning to build a .NET
application which
mimicks Download Accelerator Plus (DAP:famous downloading application). So
naturally i want to
incorporate features like "Pause" and "Resume" in my apps. But the Prob i
face here is .NET
namespace concerned with Internet usage i.e "System.NET" has a facility to
Download and Upload
files to/from Servers using many classes but none of them have Method with
which we can "Seek"
the position pointer of file to be downloaded to particular position! Even
the Methods which return
the Stream for downloading files, the returned Streams aren't "Seekable"! So
what i found is
that there isn't anyway that i can incorporate the "Pause" and "Resume"
functionality which
requires Seekable Streams using .NET Framework.
So i tried searching in "Native" Win SDK for help. And guess what! Win SDK's
some class
"CInternetSession" has a method called "Seek" which can reposition the
pointer of the file
to be downloaded. So i got the Solution. But i want my apps to be 100% .NET!
SO DOES ANYBODY HAVE ANY IDEA HOW CAN I GET SEEKABLE NETWORK STREAMS, OR
SEEK THE FILE
POINTER TO ANY PARTICULAR POSITION WITHIN THE FILE TO BE DOWNLOADED?
Nov 22 '05 #1
0 1217

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

Similar topics

6
by: Patrick | last post by:
Hello all! I am porting an application from C++ to Java and have run into a problem using the DataInputStream reader object. The file I am trying to read in is anywhere from 20 to 60 MB and has a...
2
by: Matej Cepl | last post by:
Hi, using python 2.3, ClientForm, and ClientCookie and I have this code: opener = ClientCookie.build_opener(ClientCookie.HTTPRefererProcessor, ClientCookie.HTTPRefreshProcessor,...
0
by: Joe Johnson | last post by:
Greetings, I just did a fresh install of Solaris 10 on Sparc. The OS ships with perl_5.8.4. When I run some of my scripts that run fine on Linux, I get this: IO::Seekable::getpos missing at...
0
by: dany_gates | last post by:
hi, Need some help on Network Streams in .NET. I m planning to build a .NET application which mimicks Download Accelerator Plus (DAP:famous downloading application). So naturally i want to...
6
by: John Walton | last post by:
Hello, everyone. I just began school, and they already assigned us science fair. Since I'm in 8th grade, I get to do demonstrations for our projects. I'm probably going to demonstrate Python's...
6
by: Hardy Wang | last post by:
Hi all: The Stream object from WebRequest.GetResponseStream() is non-seekable. How can I convert this stream to a byte array? For ordinary Stream (seekable), I can use...
7
by: simonrigby_uk | last post by:
Hi all, Sorry if this is the incorrect group but I couldn't see anything directly relevant. Can someone confirm for me what happens when two network streams are sent to an application at the...
5
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to...
3
by: Barry Flynn | last post by:
Hi I am working with a VB 2005 program which has been converted from VB6. It writes data out to a flat file, with code like the following line WriteLine(riFileNo, "Hist", lsAssetID,...
0
by: shahiz | last post by:
This the error i get when i try to run my program Error: Unable to realize com.sun.media.amovie.AMController@18b81e3 Basically i have a mediapanel class that initialize and play the media as...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.