473,507 Members | 8,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dotnet 2.0

RG
I have a .net application that needs to upload/download file to/from remote
site. I suppose that on a remote site I could publish asp .net page which
would contain upload download control. What class, on the application side,
would I need to invoke upload/download functionality?

Thanks in advance

Jun 27 '08 #1
3 988
On Thu, 15 May 2008 15:23:04 -0400, "RG" <no****@nowhere.comwrote:
>I have a .net application that needs to upload/download file to/from remote
site. I suppose that on a remote site I could publish asp .net page which
would contain upload download control. What class, on the application side,
would I need to invoke upload/download functionality?

Thanks in advance
You may want to check out the System.Net.WebClient class:

http://msdn.microsoft.com/en-us/libr...nt(VS.80).aspx

Regards,
Gilles.

Jun 27 '08 #2
RG,

Be aware that you cannot unattended load files on a client direct without by
the client accepted ActiveX.

The very old HTML (input) file control works here the best and otherwise a
simple HTML link to the file you want to upload to the client.

Cor

"RG" <no****@nowhere.comschreef in bericht
news:13**********************************@microsof t.com...
>I have a .net application that needs to upload/download file to/from remote
site. I suppose that on a remote site I could publish asp .net page
which
would contain upload download control. What class, on the application
side,
would I need to invoke upload/download functionality?

Thanks in advance
Jun 27 '08 #3
On May 15, 10:23 pm, "RG" <nob...@nowhere.comwrote:
I have a .net application that needs to upload/download file to/from remote
site. I suppose that on a remote site I could publish asp .net page which
would contain upload download control. What class, on the application side,
would I need to invoke upload/download functionality?

Thanks in advance
Hi,
System.Net.WebClient class provides upload / download methods both, OR
you can reference your project to "Microsoft.VisualBasic.dll" and add
"using Microsoft.VisualBasic.Devices;" statement at the top your code
page, then call the computer.network.download method like:

Computer mycomputer = new Computer();
mycomputer.Network.DownloadFile(URI address, destinationFile);

Thanks,

Onur Güzel
Jun 27 '08 #4

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

Similar topics

1
2527
by: GChong | last post by:
Hi, Im looking for some general 'marketing' info on dotnet: how long it has been in use (i.e first release date), how many companies are using it, number of .NET developers in the world,...
12
4182
by: tmb | last post by:
1 - Is Microsoft dotnet a Virtual Machine... like the Java Virtual Machine... that will run on any operating system? 2 - If so, does Microsoft give away the dotnet development system like Sun...
5
2357
by: David | last post by:
Hi everyone, I have a ActiveX EXE component written in VB6. This ActiveX EXE exposes various public methods that can be called by several other independent Windows EXE applications (also written...
0
1018
by: Justin Kennedy | last post by:
Hi, I'm new to dotnet. In fact, I'm a Java/web dev. guy mostly. I was debating on whether to use Java or dotnet for a recent project. The main requirements are: 1. Tools to create a "rich"...
10
3710
by: Darren | last post by:
OK, I'm trying to understand the need for this. If I understand correctly without this anyone can reverse engineer and obtain the source code of my application - is this correct? And this tool will...
0
4642
by: Joe Bloggs | last post by:
Hi all, I take the pleasure to inform that Dotnet Commons Logging has been released for use. Dotnet Commons Logging, a subproject of the Donet Commons project currently located under the...
4
2737
by: Peter Hemmingsen | last post by:
Hi, I have a dotnet object (implemented in mc++ and used in c#) which have a property called "Info". The Info property is also a dotnet object (implemented in mc++). In the constructor of the...
4
1412
by: Peter Plumber | last post by:
OK, this is a rather strange request Is it possible to use dot-net dlls in VB6 projects? Is anyone doing this or is this completely useless? thx Peter
3
1641
by: gg | last post by:
My standard version of dotnet 2003 basic does Not have vbc.exe have class library template produce dll when outputtype is changed to classlib for .vbproj it seems that standard version is not...
7
2065
by: Peted | last post by:
Hi, im hoping someone cane provide or point to a definitive accurate explantion of dotnet compilation when run and the best way to optimise peformace when dotnet code is run first time and...
0
7308
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,...
1
7023
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
7479
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...
0
5617
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,...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
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...
0
3188
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...
0
3178
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1534
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 ...

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.