473,659 Members | 2,488 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 991
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.WebC lient 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******** *************** ***********@mic rosoft.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.WebC lient class provides upload / download methods both, OR
you can reference your project to "Microsoft.Visu alBasic.dll" and add
"using Microsoft.Visua lBasic.Devices; " statement at the top your code
page, then call the computer.networ k.download method like:

Computer mycomputer = new Computer();
mycomputer.Netw ork.DownloadFil e(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
2540
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, popularity of .NET in different industries, etc. Ive searched on MS .NET homepage and googled it but surprisingly, such general info are hard to find.
12
4208
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 does the Java Developmet system? I was considering learning Java for my next project and someone suggested dotnet instead. 3 - Can someone give me the pro's & con's of each?
5
2378
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 in VB6). I would like to port the ActiveX EXE component it to dotNet. What type of project that I should port it to? A Windows Service or what? Please suggest. The thing is that I will not be porting the existing Windows EXE
0
1022
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" gui interface. 2. Ability to run on a desktop with no internet (stand-alone, with DB capabilities). 3. Ability to run in a networked environment were the db is hosted on
10
3740
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 prevent this? Why isn't this tool automatically executed by default whenever I build my apps? My company is building corporate applications and don't want our source code available to anyone. I assume there is a Dotfuscator that
0
4656
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 GotDotNet Workspace, has been released as an individual package. Dotnet Commons Logging provides a unified Log interface that acts as a
4
2757
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 "main" object I want to initialize the property "Info" to null in a way that will make the c# programmer (the user) able to write: if (MyObj.Info==null) {..}
4
1420
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
1654
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 designed to build components although the professional version is according to http://www.greymatter.com/Buyers/dotnet/guide.asp Is that correct? does that apply to MFC based DLL I want to make available
7
2073
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 execution speed after compliation. Ive searched the net and seem to find various opinions on what actually happens when you compile and run a c# dotnet application. What im looking for is basicly how to make dotnet dlls load as fast as
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8751
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
8539
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
8630
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7360
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...
1
6181
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4176
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...
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
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.