473,394 Members | 2,063 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.

Looking for suggestions on how to download files from a server.

UJ
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 code a port - and we don't even know if there's a port we
can use (Doesn't this mean we can't do it?) Preferably we need to go out and
find the port dynamically.
2. We can't send any information to the web server - (but how do we
authentication and whatnot then?) This also means something like a web
service is out.
3.They may have a content cache server so even if we send down files, they
may not be updated immediately because they are still in the cache.

So I'm at a lose. Can anybody make any suggestions on how to solve this?
Everytime I suggest having them open a port my network engineer has a cow.
(I'm getting to the point to say that then he should solve the problem.) He
keeps bringing up that somehow Symantec can do it so we need to be able to
do it.

ANY help would be appreciated because I'm at a total lose.

Jeffrey.
Nov 19 '05 #1
1 1193
Well.. Jeffrey.

Go for .Net WebClient object, its very handy. It just need a web connection,
either provided by any network, dial up whatever. This provides you to
download web file using two methods 1) DownloadData Method 2)Download File

In these two methods what you have to do, is to provide the URL where you
mention the file URL , and it just download the file using HTTP protocol, and
if file is place in some restricted site (sites which need domain username
password) you can also provide the network credential using WebClient Object.

Explore this i am definite that this will provide ease to you.
--
Wajahat Abbas
http://www.dotnetpakistan.com
http://www.wajahatabbas.com
"UJ" wrote:
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 code a port - and we don't even know if there's a port we
can use (Doesn't this mean we can't do it?) Preferably we need to go out and
find the port dynamically.
2. We can't send any information to the web server - (but how do we
authentication and whatnot then?) This also means something like a web
service is out.
3.They may have a content cache server so even if we send down files, they
may not be updated immediately because they are still in the cache.

So I'm at a lose. Can anybody make any suggestions on how to solve this?
Everytime I suggest having them open a port my network engineer has a cow.
(I'm getting to the point to say that then he should solve the problem.) He
keeps bringing up that somehow Symantec can do it so we need to be able to
do it.

ANY help would be appreciated because I'm at a total lose.

Jeffrey.

Nov 19 '05 #2

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

Similar topics

17
by: Phil Powell | last post by:
Where can I find an online PHP form validator script library to use? I have tried hacking the one here at work for weeks now and it's getting more and more impossible to customize, especially now...
14
by: Chris Lott | last post by:
I already use and am happy with a variety of text editors (vim, emacs, ultraedit, jedit, Homesite) depending on my needs, but I would like recommendations for a PHP specific IDE that will run on...
12
by: Swede | last post by:
Hello, I am posting this rather lengthy description here in hope of getting at least some insight into a problem that is really hurting my business, since I have come to the conclusion that my...
1
by: Jon Maz | last post by:
Hi, Although I have placed my "wec.dll" in the correct folder ("wwwroot\wec\bin"), and have configured this "wec" folder in IIS as an application, when an aspx page is hit, I get a "could not...
6
by: P Jones | last post by:
Hi, I support an enterprise web application (IE client) built in VB6, with about 200 classes, serving about 7000 users, running on 3 clustered servers. I need to incorporate web reporting for...
4
by: N. Graves | last post by:
First... thanks for taking time to read my quest. I have Access database that I have created that once it has been deployed I will not know who has it or who is using it. This is my idea but...
4
by: Bishop | last post by:
I have text files that I download daily from one of our vendors. They are in this format (and they won't change the way they do it) File1: ProductID, Description, Price, etc.... File2:...
2
by: Zhangloong | last post by:
Hi,all I'm looking for a web-based file sharing system. I have these requirements: 1. Users through browsers to access this system. Upload and download files in a easy and friedly way. 2....
3
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 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.