How to use the My.Computer.Network object to download and upload files in Visual Basic 2005 (914355)
The information in this article applies to:
- Microsoft Visual Basic 2005
SUMMARYLearn about how to use the My.Computer.Network object and its methods to download and upload files across a network in Microsoft Visual Basic 2005. This article contains sample
steps and sample code that demonstrate how to use the My.Computer.Network object for these tasks. INTRODUCTIONThis article describes how to use the My.Computer.Network object to upload and download files across a network in Visual Basic 2005. By using this object, you can transfer files from a local computer to a remote network resource. Additionally, you can transfer files from a remote network resource to a local computer. To do this, use the following
methods in a Visual Basic 2005 application:
- My.Computer.Network.DownloadFile
- My.Computer.Network.UploadFile
The My.Computer.Network.UploadFile method sends the specified file from the local computer to the
specified remote host address. The My.Computer.Network.DownloadFile method downloads the specified remote file and then saves the file in the
specified location on the local computer. REFERENCESFor more information about the My.Computer.Network object, visit the following Microsoft Developer Network (MSDN)
Web site: For more information about the My.Computer.Network.DownloadFile method, visit the following Microsoft Developer Network (MSDN)
Web site: For more information about the My.Computer.Network.UploadFile method, visit the following Microsoft Developer Network (MSDN)
Web site:
Modification Type: | Minor | Last Reviewed: | 10/3/2006 |
---|
Keywords: | kbWindowsForms kbhowto kbinfo KB914355 kbAudDeveloper |
---|
|