Rank: Member
Groups: Member
Joined: 8/25/2005(UTC) Posts: 1
|
Hi,
Currently we are using the activex imageuploader on our website. We are now trying to implement the java uploader.
After uploading a file we would like to check if the image is a jpeg file.
After uploaded files with the activex uploader the ContentType of the image is "image/jpeg" or "image/pjpeg"
During implementation of the java uploader I found a problem with the detection of the filetype.
The contenttype of the uploaded file is something like "application/octet-stream; charset=UTF-8; Content-Transfer-Encoding: binary"
Is this a bug or is there a logical explanation for this behavior?
We are using Asp and ASP.Net.
Thanks, Willy
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello,
Image Uploader for Java now does not put different MIME-types for different file types to the upload request. It sets “octet-stream” MIME-type for any type of file. We are going to add the different MIME-types feature in the future, but now it is not implemented.
|
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/31/2007(UTC) Posts: 3
|
I am having this same issue with the ActiveX control. When I upload a file the upload handler gives me a contentType of "application/octet-stream; charset=UTF-8; Content-Transfer-Encoding: binary". The previous poster made it sound as if the ActiveX control does not do this. If I upload a PDF is this the correct behavior? My code is as follows (ASP.NET C#): Code:HttpPostedFile sourceFile = Request.Files.Get("SourceFile_" + i);
string contentType = sourceFile.ContentType;
Is this feature not currently implemented? Please provide some guidance. Edited by user Monday, December 17, 2007 9:49:51 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 9/19/2006(UTC) Posts: 506
Was thanked: 41 time(s) in 41 post(s)
|
Hello, Content type will be different only for image formats supported by Image Uploader. As for other files content type will always be “application/octet-stream”. But there will be more mime types supported in the next version, including PDF. Edited by user Monday, February 25, 2008 4:21:13 PM(UTC)
| Reason: Not specified |
Best regards, Eugene Kosmin The Aurigma Development Team
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/31/2007(UTC) Posts: 3
|
When can we expect the next version? Looking at your version history we should expect the next version to release roughly 6 months after your last one then we can expect one this November. That would be great!
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 9/19/2006(UTC) Posts: 506
Was thanked: 41 time(s) in 41 post(s)
|
The next version will be released this winter, maybe in December. Edited by user Monday, February 25, 2008 4:21:22 PM(UTC)
| Reason: Not specified |
Best regards, Eugene Kosmin The Aurigma Development Team
|
|
|
|
Rank: Member
Groups: Member
Joined: 10/31/2007(UTC) Posts: 3
|
Does the new version that was released this December (5.0 Dual) address this issue? I did not see it listed on the "What's New" page.
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/26/2006(UTC) Posts: 203
|
Hello, Yes we have inliuded it in version 5.0, we just have not reflected it on What's New page. Edited by user Monday, February 25, 2008 3:42:58 PM(UTC)
| Reason: Not specified |
Best regards, George Ulyanov
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.