For more detailed information, see the Visual Basic topic My.Computer.Network.UploadFile Method.
If showUI is set to True, a dialog box shows the progress of the operation and includes a Cancel button that the user can click to cancel the operation. Because the dialog box is not modal, it does not block user input to other windows in the program.
If the server does not respond within the interval specified in connectionTimeout, the operation is cancelled and an exception is thrown.
My.Computer.Network.UploadFile outputs trace information when you enable network tracing in your application. For more information, see Enabling Network Tracing.
Security Note: |
|---|
The FTP protocol sends information, including passwords, in plain text and should not be used for transmitting sensitive information.
|
The following table lists an example of a task involving the My.Computer.Network.UploadFile method.