Re: File upload produces modified files

2002-02-07 Thread John M. Corro

Is anyone aware of the nature of the bug?  That is does the bug only happen
w/ files over a certain size, compressed, files of a certain type, etc?  In
the app I'm working on, there is an option to upload certain files whose
data gets imported into the database.  The largest file that has been used
was ~6mbI haven't run into an issue as far as the file getting
morphed/altered (knock on wood).


- Original Message -
From: "Tingleff, Sam" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 12:01 PM
Subject: RE: File upload produces modified files


>
> You're right, Struts 1.0.1 seems to have fixed this.  Thanks!
>
> -Original Message-
> From: Martin Cooper [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 9:39 AM
> To: Struts Users Mailing List
> Subject: Re: File upload produces modified files
>
>
> There were a couple of bugs related to this that were fixed in Struts
1.0.1.
> You might want to try upgrading and see if the problem remains.
>
> --
> Martin Cooper
>
>
> - Original Message -
> From: "Tingleff, Sam" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 07, 2002 9:24 AM
> Subject: File upload produces modified files
>
>
> >
> > Using Struts 1.0 with Tomcat 4.0.1 on Win 2k.
> >
> > FormFile uploads will consistently produce modified files with some
> > large binary files.  Is this a known bug?  Is there a fix available for
> > Struts 1.0?  Thanks.
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: File upload produces modified files

2002-02-07 Thread Tingleff, Sam


You're right, Struts 1.0.1 seems to have fixed this.  Thanks!

-Original Message-
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 9:39 AM
To: Struts Users Mailing List
Subject: Re: File upload produces modified files


There were a couple of bugs related to this that were fixed in Struts 1.0.1.
You might want to try upgrading and see if the problem remains.

--
Martin Cooper


- Original Message -
From: "Tingleff, Sam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 9:24 AM
Subject: File upload produces modified files


>
> Using Struts 1.0 with Tomcat 4.0.1 on Win 2k.
>
> FormFile uploads will consistently produce modified files with some
> large binary files.  Is this a known bug?  Is there a fix available for
> Struts 1.0?  Thanks.
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: File upload produces modified files

2002-02-07 Thread Tingleff, Sam


Actually the file doesn't have to be too large.  I can reproduce it
with a 640k zip file.

Here's a diff from od -c output.  File size is always the same.

$ diff ~/content_orig.txt ~/content_new.txt
38746c38746
< 2272620   g   e   /   c   l   i   e   n   t   /   E   T   r   a   n   s
---
> 2272620   g   e   /   c   l   i   e   n   t   /   E   T   r   a  \n   s
40597c40597
< 2364500   * 025 237   U   X 305  \b  \0  \0 205 021  \0  \0   3  \0  \0
---
> 2364500   * 025 237   U   X 305  \b  \0  \0 205 021  \0  \0   3  \n  \0



-Original Message-
From: Jeff Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 9:29 AM
To: Struts Users Mailing List
Subject: RE: File upload produces modified files


Well, how do the files compare to each other? Is one longer by a byte, a lot
of bytes, did it do \n -> \r\n conversions on you, or what?

-Original Message-
From: Tingleff, Sam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: File upload produces modified files



Using Struts 1.0 with Tomcat 4.0.1 on Win 2k.

FormFile uploads will consistently produce modified files with some
large binary files.  Is this a known bug?  Is there a fix available for
Struts 1.0?  Thanks.




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: File upload produces modified files

2002-02-07 Thread Martin Cooper

There were a couple of bugs related to this that were fixed in Struts 1.0.1.
You might want to try upgrading and see if the problem remains.

--
Martin Cooper


- Original Message -
From: "Tingleff, Sam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 9:24 AM
Subject: File upload produces modified files


>
> Using Struts 1.0 with Tomcat 4.0.1 on Win 2k.
>
> FormFile uploads will consistently produce modified files with some
> large binary files.  Is this a known bug?  Is there a fix available for
> Struts 1.0?  Thanks.
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: File upload produces modified files

2002-02-07 Thread Jeff Martin

Well, how do the files compare to each other? Is one longer by a byte, a lot of bytes, 
did it do \n -> \r\n conversions on you, or what?

-Original Message-
From: Tingleff, Sam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: File upload produces modified files



Using Struts 1.0 with Tomcat 4.0.1 on Win 2k.

FormFile uploads will consistently produce modified files with some
large binary files.  Is this a known bug?  Is there a fix available for
Struts 1.0?  Thanks.




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: File upload produces modified files

2002-02-07 Thread John M. Corro

Very interesting, when you say large...how large we talking?
- Original Message -
From: "Tingleff, Sam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 11:24 AM
Subject: File upload produces modified files


>
> Using Struts 1.0 with Tomcat 4.0.1 on Win 2k.
>
> FormFile uploads will consistently produce modified files with some
> large binary files.  Is this a known bug?  Is there a fix available for
> Struts 1.0?  Thanks.
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: