[FileUpload] filename upper/lower case issue for uploaded files

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[FileUpload] filename upper/lower case issue for uploaded files

David Zhang-4
I am writing a web page for uploading documents. I use FileItem.getName()
to
retrieve the original file name. However the string returned by this
method
contains lonly lower case letters. Why? How can I a filename with correct
upper/lower cases?
 
Thanks!
 
P.S. Just join this group. Sent this question once but it seems that it did
not go through.
Forgive me if you receive it twice.
Reply | Threaded
Open this post in threaded view
|

Re: [FileUpload] filename upper/lower case issue for uploaded files

Martin Cooper-3
This is a bug that was fixed in January. If you need the fix, then you can
pick up a recent nightly build of Commons FileUpload. There have been no
other changes to the code base since FileUpload 1.1 was released, so picking
up a nightly build is safe.

--
Martin Cooper


On 3/24/06, David Zhang <[hidden email]> wrote:

>
> I am writing a web page for uploading documents. I use FileItem.getName()
> to
> retrieve the original file name. However the string returned by this
> method
> contains lonly lower case letters. Why? How can I a filename with correct
> upper/lower cases?
>
> Thanks!
>
> P.S. Just join this group. Sent this question once but it seems that it
> did
> not go through.
> Forgive me if you receive it twice.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [FileUpload] filename upper/lower case issue for uploaded files

Wendy Smoak
In reply to this post by David Zhang-4
On 3/24/06, David Zhang <[hidden email]> wrote:
> I am writing a web page for uploading documents. I use FileItem.getName()
> to
> retrieve the original file name. However the string returned by this
> method
> contains lonly lower case letters. Why? How can I a filename with correct
> upper/lower cases?

It's a known issue, which was fixed shortly after the most recent
release.  You can find more information in this thread:

   http://www.nabble.com/lowercase-filenames-t1173250.html#a3084371

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [FileUpload] filename upper/lower case issue for uploaded files

David Zhang-4
In reply to this post by David Zhang-4
 
Martin and Wendy,
 
Thanks for the info. I searched this mailing list but did not find
anything.
Maybe should have done a google search.
 
Cheers!

>>> "Wendy Smoak" <[hidden email]> 03/24 5:35 PM >>>
On 3/24/06, David Zhang < [hidden email] > wrote:
> I am writing a web page for uploading documents. I use
FileItem.getName()
> to
> retrieve the original file name. However the string returned by this
> method
> contains lonly lower case letters. Why? How can I a filename with
correct
> upper/lower cases?

It's a known issue, which was fixed shortly after the most recent
release. You can find more information in this thread:

http://www.nabble.com/lowercase-filenames-t1173250.html#a3084371 

--
Wendy

Reply | Threaded
Open this post in threaded view
|

RE: [FileUpload] filename upper/lower case issue for uploadedfiles

Tahir Akhtar H.
Using the link would be easier :-)

HYPERLINK
"http://www.nabble.com/lowercase-filenames-t1173250.html#a3084371"http://www
.nabble.com/lowercase-filenames-t1173250.html#a3084371

 

Regards,

Tahir Akhtar

-----Original Message-----
From: David Zhang [mailto:[hidden email]]
Sent: Monday, March 27, 2006 7:07 PM
To: [hidden email]; [hidden email]
Subject: Re: [FileUpload] filename upper/lower case issue for uploadedfiles

 

 

Martin and Wendy,

 

Thanks for the info. I searched this mailing list but did not find

anything.

Maybe should have done a google search.

 

Cheers!

 

>>> "Wendy Smoak" <[hidden email]> 03/24 5:35 PM >>>

On 3/24/06, David Zhang < [hidden email] > wrote:

> I am writing a web page for uploading documents. I use

FileItem.getName()

> to

> retrieve the original file name. However the string returned by this

> method

> contains lonly lower case letters. Why? How can I a filename with

correct

> upper/lower cases?

 

It's a known issue, which was fixed shortly after the most recent

release. You can find more information in this thread:

 

http://www.nabble.com/lowercase-filenames-t1173250.html#a3084371 

 

--

Wendy

 

 

--

No virus found in this incoming message.

Checked by AVG Free Edition.

Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 3/26/2006

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 3/26/2006
 
Reply | Threaded
Open this post in threaded view
|

RE: [FileUpload] filename upper/lower case issue for uploadedfiles

Tahir Akhtar H.
Don’t know what garbled the link. Its in the original message from Wendy
anyway. Here’s it again

 

HYPERLINK
"http://www.nabble.com/lowercase-filenames-t1173250.html#a3084371"http://www
.nabble.com/lowercase-filenames-t1173250.html#a3084371

 

Regards

Tahir Akhtar

 

-----Original Message-----
From: Tahir Akhtar [mailto:[hidden email]]
Sent: Monday, March 27, 2006 7:22 PM
To: 'Jakarta Commons Users List'
Subject: RE: [FileUpload] filename upper/lower case issue for uploadedfiles

 

Using the link would be easier :-)

 

HYPERLINK

"http://www.nabble.com/lowercase-filenames-t1173250.html#a3084371"http://www

.nabble.com/lowercase-filenames-t1173250.html#a3084371

 

 

 

Regards,

 

Tahir Akhtar

 

-----Original Message-----

From: David Zhang [mailto:[hidden email]]

Sent: Monday, March 27, 2006 7:07 PM

To: [hidden email]; [hidden email]

Subject: Re: [FileUpload] filename upper/lower case issue for uploadedfiles

 

 

 

 

 

Martin and Wendy,

 

 

 

Thanks for the info. I searched this mailing list but did not find

 

anything.

 

Maybe should have done a google search.

 

 

 

Cheers!

 

 

 

>>> "Wendy Smoak" <[hidden email]> 03/24 5:35 PM >>>

 

On 3/24/06, David Zhang < [hidden email] > wrote:

 

> I am writing a web page for uploading documents. I use

 

FileItem.getName()

 

> to

 

> retrieve the original file name. However the string returned by this

 

> method

 

> contains lonly lower case letters. Why? How can I a filename with

 

correct

 

> upper/lower cases?

 

 

 

It's a known issue, which was fixed shortly after the most recent

 

release. You can find more information in this thread:

 

 

 

http://www.nabble.com/lowercase-filenames-t1173250.html#a3084371 

 

 

 

--

 

Wendy

 

 

 

 

 

--

 

No virus found in this incoming message.

 

Checked by AVG Free Edition.

 

Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 3/26/2006

 

 

 

 

--

No virus found in this outgoing message.

Checked by AVG Free Edition.

Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 3/26/2006

 

 

--

No virus found in this incoming message.

Checked by AVG Free Edition.

Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 3/26/2006

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/293 - Release Date: 3/26/2006