473,749 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to download files (2mb>) [server to client]using networkstream from mailserver

3 New Member
now i am using this code. but here i cannot get more than 2 MB of data.. can anybody help. to be frank i am new to this area.. thank you


Thread.Sleep(10 0000);
byte[] arrResponse = new byte[10000000];
ntstrm.Read(arr Response, 0, arrResponse.Len gth);
string str = System.Text.Enc oding.ASCII.Get String(arrRespo nse);
return str;
Aug 4 '10 #1
0 853

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1290
by: Satinderpal Singh | last post by:
Hi All, To download the files from the http or https server, we have used WebClient object. But, the problem is we cannot specify timeout in the WebClient object. So, using HttpWebRequest and HttpWebResponse the only way to do it ? or is there some other way with which we can specify timeout for WebClient object.
0
1757
by: Sachit | last post by:
I am working on an BIT application to download files from remote server using C#, There are an issue related with performance, I am downloading 3 files 28Kb, 79KB, 121KB respectivly on my system(Pentium 4, RAM 512MB, DSL connection) it is taking 15 to 25 seconds and shows 55-56 mx CPU usage but other system with same configuration and T1 Line its taking so much time, it is downloading these 3 files in hours and shows 100% CPU usage...
2
2994
by: r dubey | last post by:
Hi, I'm using webclient to enable download of files. However, files get copied to the server rather than the client machine. What could be the problem. Here is the sample that I've used: WebClient myWebClient = new WebClient(); myWebClient.DownloadFile ("http://www.myweb.com/testfile.txt" ,"c:/test.txt");
1
1576
by: Syed Aun Ali | last post by:
i have a device connected to a node computer(any client/server computer) in a intanet.the device sends data contineously.i want to store the data from device in a text box in the node computer as well as send them to other client or server machine who are requested for the data.i have a local intranet uses tcp/ip protocol
1
1212
by: UJ | last post by:
My client has a product that downloads files from it's web server. It then will display these on a local machine. Problem is that this is on the customer's network which means, depending on the customer, they may have secured the network down like crazy. To the point that may have no open ports, can't send data across to our server, ... My network engineer has essentially said we need to have the following criteria: 1. We can't hard...
1
919
by: DaveF | last post by:
I am trying to figure out the best way to download images from a server that is password protected. This needs to be set up as a service? Can anyone point me in the right direction? Dave
1
8387
by: Chin Fui | last post by:
I am now doing my final year project using VB.NET. The project is about implement a multiplayer network game. But now I am stuck in the connection part, no idea in how to start to write the network application. Hope anyone can give me any hint or help... Thank you... Chin Fui
1
3382
by: vc4free | last post by:
Hello Everyone, I am trying to write a simple program to download files from tftp server, but I am have a very difficult time doing so because I am very very new to python. I have downloaded the tftpy-0.4.3 which have the TftpClient module and other good stuff, but I do not not know how to go about using python to connect to Tftp server Thank in advance for any help in pointing me in the right direction to get this thing...
0
957
by: ckumarappan | last post by:
Hi all, Is it possible to download all the uploaded files in the webserver to company server for a company using Ms-Access as front end in database? If it is possible please suggest me about the soultion. Kumar
3
9739
by: axelman | last post by:
Hi guys, I'm using Classic ASP, IIS6, IE 7, FF 3 I've developed a vb script to downloand files hosted in my server (zip, doc, pdf, jpg, xls, et. etc.) it's very straight forward and there's a lot of information around the web, however when it comes to dowload files from a remote server (NOT hosted in my server) there is no information :-(, the idea is to have an Access DB that stores the full url...
0
8997
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9389
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9335
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8257
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6079
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4709
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3320
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2218
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.