When you upload images to your web server, you may receive the following error message returned?by the ErrorString property:
The problem may occur when a connection with the server is not available.
1. Please check if the HTTP port you set in your code?coincides with the port number you set on your web server. You can use the HTTPPort property to set the port number. For more information of this property, please click here.
2. Please make sure the address of the server is available. To check this, you can ping the address from?a client machine.
Note: Both the machine name and the IP address of the server can be used for the HTTP Upload method.