The leading provider of version control solution and TWAIN SDK

View Articles by Category

  • Knowledgebase Home > Dynamic Web TWAIN > Develop with Dynamic Web TWAIN > Save & Upload & Load Images  


  • There are no sub categories

    Category » Save & Upload & Load Imagesrss button

    (Page 1 of 2)      Prev | 1 | 2 | Next

    There were 36 articles found in this category:

    1. questionWhy the session is lost during uploading?
      Symptoms: You may find the session is lost when you try to upload files to your web server using Dynamic Web TWAIN. Cause: 1. You are using an old version of Dynamic Web TWAIN that does not support session. 2. You are using an authentication mode that the Dynamic Web TWAIN version you are usin ...
    2. questionHow to download images from database to Dynamic Web TWAIN?
      You can use the HTTPDownloadEx method to download image(s) from your database to Dynamic Web TWAIN. Please find a simple sample attached.
    3. questionHow to work with SSL?
      You can use the IfSSL property. The following JavaScript Sample shows how to use IfSSL property. <script language="javascript"> function btnUpload_onclick() { if (window.location.protocol != "https:"){ frmScan.DynamicWebTwain1.HTTPPort = 80; frmScan.DynamicWebTwain1.IfSSL = false; // ...
    4. questionError message: The connection with the server was terminated abnormally
      Symptoms: When you upload images in buffer, you may receive the following error message returned by the ErrorString property: Cause: 1. The problem may occur when a connection with the server is not available. 2. The size of images you are going to upload goes beyond the maximum transferable d ...
    5. questionError message: HTTP process error
      Symptom: When you upload images using the HTTPUploadThroughPost*** method, you may receive the following error messages: Cause: 1. The write permission is not granted to the specified directory on the web server. 2. The action page is incorrect or returns something from Web server. 3. The Port ...
    6. questionHow can I save or upload all images in buffer as a multi-page PDF file?
      First, please make sure you set MaxImagesInBuffer Property properly so that the control will store multiple images in buffer. 1. The SaveAllAsPDF method can be used to save all images in buffer as a multi-page PDF file. Click here to get more information about this method. 2. The HTTPUploadAllT ...
    7. questionHow to upload image with Forms-Based Authentication in Your ASP.NET Application
      In Dynamic Web TWAIN, we can use HTTPUploadThroughPost method to upload image to the server. But if you use Forms-Based Authentication in Your ASP.NET Application, you might not be able to upload the image successfully. Because the action page will verify the login information for the HTTP post ...
    8. questionError message: The handle is in the wrong state for the requested operation
      Symptom: When you upload images, you may receive the following error messages returned by the ErrorString property: Cause: 1. The size of images you are going to upload goes beyond the maximum transferable data size which is defined by the server. 2. The port number of the HTTP server is not ...
    9. questionHow to load images not created by Dynamic Web TWAIN?
      Normally Dynamic Web TWAIN can load images in formats BMP, JPEG, PNG, PDF, TIFF with no problem even if they are not generated by Dynamic Web TWAIN. But sometimes you may come across an image not created by Dynamic Web TWAIN which can't be loaded in the control. To solve this, you can: 1. Conver ...
    10. questionHow to specify the field name of uploaded image through POST.
      When you upload an image with Dynamic Web TWAIN. The Default field name of the uploaded image is "RemoteFile". If you want to specify the field name yourself, you can use the property HttpFieldNameOfUploadedImage.
    11. questionHow to load images not generated by Dynamic Web TWAIN?
      Normally Dynamic Web TWAIN can load images in formats BMP, JPEG, PNG, PDF, TIFF with no problem even if they are not generated by Dynamic Web TWAIN. But sometimes you may come across an image not generated by Dynamic Web TWAIN which can't be loaded in the control. To solve this, you can: 1. Conv ...
    12. questionHow can I upload or save each image in buffer as a separate image file?
      1. The SaveAs*** method can be used to save a specified image in buffer as an image file. Currently, Dynamic Web TWAIN supports BMP, PNG, JPEG, PDF and TIFF. Click here to get more information.. 2. The HTTPUploadThroughPost method can be used to upload a specified image in buffer as an image fil ...
    13. questionHow to load an existing image into Dynamic Web TWAIN control?
      You can use LoadImage method to load an image on the local disk or use HTTPDownload method to download an image on the web server into the Dynamic Web TWAIN control. If you want to load multi-page image or multiple files, please set MaxImagesInBuffer properly. Note: We can only ensure ...
    14. questionHow can I save or upload all images in buffer as a multi-page TIFF file?
      1. The SaveAllAsMultiPageTIFF method can be used to save all images in buffer as a multi-page TIFF file. Click here to get more information about this method. 2. The HTTPUploadAllThroughPutAsMultiPageTIFF method can be used to upload all images in buffer to the HTTP server as a multi-page TIFF f ...
    15. questionError message: The resource cannot be found
      Symptom: When you upload the image by the HTTP Post method, you may receive the following error message returned by the HTTPPostResponseString property: Cause: The problem may occur when the action page does not exist. To get more information about the action page, please refer to Related Arti ...
    16. questionError message: HTTP request error
      Symtoms: When you upload the image using the HTTP Put method, you may receive the following error message returned by the ErrorString property: Cause: 1. The problem may occur if the write permission is not provided on the server. 2. In Tomcat, the value of readonly property is false by defa ...
    17. questionHow can I add new pages to an existing image file?
      First, you should load the image file to Dynamic Web TWAIN. Currently, we only ensure that images created by Dynamic Web TWAIN or Dynamic TWAIN can be loaded successfully. You can use the LoadImage method or the LoadImageEx method to load the image file to Dynamic Web TWAIN. Before acquiring im ...
    18. questionHow can I insert new scanned images to an existing multi-page file?
      First, you should load the image file to Dynamic Web TWAIN. Currently, we only ensure that images created by Dynamic Web TWAIN or Dynamic TWAIN can be loaded successfully. You can use the LoadImage method or the LoadImageEx method to load the image file to Dynamic Web TWAIN. Before acquiring im ...
    19. questionHow to load images into Dynamic Web TWAIN?
      If you are loading a multi-page image file, you should set the maximum number of images that can be held in Dynamic Web TWAIN by using the MaxImagesInBuffer property. Then you can use the LoadImage method or the LoadImageEx method to load images into Dynamic Web TWAIN (DWT). Code: //JavaScript ...
    20. questionCan I set username and password when uploading and downloading via FTP?
      Yes. You can use the FTPUserName property and the FTPPassword property. Code: function btnUpload_onclick() { frmScan.DynamicWebTwain1.FTPUserName = "UserName"; frmScan.DynamicWebTwain1.FTPPassword = "Password"; frmScan.DynamicWebTwain1.FTPUploadAllAsPDF("192.168.1.20", "/Test/test.pdf" ...
    (Page 1 of 2)      Prev | 1 | 2 | Next