• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

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

Can you provide an example where the My object is use to download and upload a file?
0
zachvaldez
Asked:
zachvaldez
2 Solutions
 
gangwischCommented:
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
 
Solar_FlareCommented:
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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now