Uploads all images in buffer to the HTTP server through HTTP Put method as Multi-Page TIFF.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public bool HTTPUploadAllThroughPutAsMultiPageTIFF( string strHTTPServer, string strFileName ) |
| Visual Basic |
|---|
Public Function HTTPUploadAllThroughPutAsMultiPageTIFF ( _ strHTTPServer As String, _ strFileName As String _ ) As Boolean |
Parameters
- strHTTPServer
- Type: System..::..String
The name of the HTTP server.It should be only the name of the HTTP server, without "http://" or "https://".Port number is not needed here.
- strFileName
- Type: System..::..String
The name of the image to be uploaded.
Return Value
True indicates success. False indicates failure.
Remarks
If the value of IfTiffMultiPage is true,and there's a TIFF file with the same name on the server, the newly uploaded images will be added into the existing file.
If the value of IfTiffMultiPage is false, the old file will be replaced.
Exceptions
| Exception | Condition |
|---|---|
| Dynamsoft.DotNet.TWAIN..::..TwainException | When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString. |