Solved

How to use the My object to upload and download file?

Posted on 2006-11-21
2
225 Views
Last Modified: 2011-10-03
Can you provide an example where the My object is use to download and upload a file?
0
Comment
Question by:zachvaldez
2 Comments
 
LVL 10

Accepted Solution

by:
gangwisch earned 150 total points
ID: 17991943
To Upload File:
My.Computer.Network.UploadFile("c:\File.txt", "http://www.someserver.com/upload.aspx")


To Download File:
my.Computer.Network.DownloadFile("http://www.someserver.com/myfile.aspx","c:\myfile.txt")
0
 
LVL 15

Assisted Solution

by:Solar_Flare
Solar_Flare earned 100 total points
ID: 17991958
I'm not sure what you are asking.

you want to download a file?

you can use webclient class to download files easily.

dim wc as new net.webclient
wc.DownloadFile("www.someurl.com", "c:\filename.fil")
wc.uploadfile(..., ...)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now