Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
schroersw  
#1 Posted : Thursday, August 25, 2005 12:53:46 AM(UTC)
schroersw

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
Alex Makhov  
#2 Posted : Tuesday, August 30, 2005 11:47:18 AM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
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.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
GregDDC  
#3 Posted : Wednesday, October 31, 2007 5:22:30 AM(UTC)
GregDDC

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

Eugene Kosmin  
#4 Posted : Wednesday, October 31, 2007 3:54:29 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 389

Was thanked: 8 time(s) in 8 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.
Aurigma Development Team
GregDDC  
#5 Posted : Wednesday, October 31, 2007 10:27:00 PM(UTC)
GregDDC

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!
Eugene Kosmin  
#6 Posted : Thursday, November 01, 2007 12:59:11 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 389

Was thanked: 8 time(s) in 8 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.
Aurigma Development Team
GregDDC  
#7 Posted : Sunday, January 06, 2008 11:32:41 PM(UTC)
GregDDC

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.
George Ulyanov  
#8 Posted : Monday, January 07, 2008 2:59:40 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups:
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
Users browsing this topic
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.