You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "David G. Friedman" <hu...@ix.netcom.com> on 2003/08/20 13:13:03 UTC

Re: File Upload Data

Steven,

I had a problem like that where nothing was being uploaded because my form enctype was not set to 'multipart/form-data'.  Then again, the problem was when I was programming in Perl under Apache + NT and migrating it to Perl under Apache + Linux, so it's not quite the Struts-Upload related answer you were probably looking for, huh? :(

Regards,
David

-------Original Message-------
From: Steven Leija <St...@valtech.com>
Sent: 08/20/03 08:58 AM
To: Struts Users Mailing List <st...@jakarta.apache.org>
Subject: File Upload Data

> 
> Hello All,

I'm running into a really weird problem.  I'm uploading a file in windows
and the input stream is just fine.  But when I deploy my application to a
linux box, the same upload failes.  I traced this down to the fact that the
input stream is empty.  The file is being uploaded but the stream is coming 
in as null.  I've verified these files are not corrupt or empty.  

Has anyone seen this before?

Thanks,

Steven

> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: File Upload Data

Posted by Shane Witbeck <sh...@digitalsanctum.com>.
I have run the same code for my file uploads in windows and linux without a
problem.

Shane


----- Original Message ----- 
From: "David G. Friedman" <hu...@ix.netcom.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, August 20, 2003 7:13 AM
Subject: Re: File Upload Data


> Steven,
>
> I had a problem like that where nothing was being uploaded because my form
enctype was not set to 'multipart/form-data'.  Then again, the problem was
when I was programming in Perl under Apache + NT and migrating it to Perl
under Apache + Linux, so it's not quite the Struts-Upload related answer you
were probably looking for, huh? :(
>
> Regards,
> David
>
> -------Original Message-------
> From: Steven Leija <St...@valtech.com>
> Sent: 08/20/03 08:58 AM
> To: Struts Users Mailing List <st...@jakarta.apache.org>
> Subject: File Upload Data
>
> >
> > Hello All,
>
> I'm running into a really weird problem.  I'm uploading a file in windows
> and the input stream is just fine.  But when I deploy my application to a
> linux box, the same upload failes.  I traced this down to the fact that
the
> input stream is empty.  The file is being uploaded but the stream is
coming
> in as null.  I've verified these files are not corrupt or empty.
>
> Has anyone seen this before?
>
> Thanks,
>
> Steven
>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org