TWAIN ActiveX Control, Plug-in, Scanner SDK, Component, HTTP Control/SDK

Dynamsoft TWAIN Products

Support Community for TWAIN Control/Component/SDK for Scanning Solutions
* Login   * Register
* FAQ    * Search

It is currently Sun May 20, 2012 2:00 pm




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ContentType of uploaded picture
PostPosted: Mon May 22, 2006 4:12 am 
Offline

Joined: Thu May 18, 2006 11:13 pm
Posts: 5
When I recognize the ContentType from a post by the HTTPUploadThroughPost method, it says "application/octet-stream". However, it should be "image/pjpeg" or somtehling like this. I store this information into database from which I then load the picture togehter with its ContentType. Is this by design?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 25, 2006 4:50 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Yes. It is by design.

In DWT, the ContentType of the uploaded image files are set as application/octet-stream. If you want to recognize the ContentType of the image files, you can obtain it from the extension of the image.

Thanks.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

It is currently Sun May 20, 2012 2:00 pm


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog