Solved

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

Posted on 2006-11-21
2
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

636 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