The ConnectionTimeout must be greater than 0

When uploading and downloading files with the My.Computer.Network Object, you must specify a connectionTimeout greater than 0.

To correct this error

  • Supply a connectionTimeout that is greater than 0.

See Also

Tasks

How to: Upload a File in Visual Basic

How to: Download a File in Visual Basic

Reference

My.Computer.Network.UploadFile Method

My.Computer.Network.DownloadFile Method

Other Resources

Network Operations in the .NET Framework with Visual Basic