File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Choosing 'open' in file download adds [1] to filename?

 
R Laksh
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a program where the user can download the file in csv
format. I am using jsp and when the file dialog appears, if we choose open, the file name is having [1] appended to it.

And the excel worksheet has a invalid name.

Ex. File name - laksh.csv

It appears as <b>laksh[1].csv </b>
and worksheet name appears as <b>.csv]laksh[ </b>

I dont want this to happen.

I am giving the file unique name by appending the file name with current time & also tried the same by deleting all the cache.

Can anyone help me to come out of this problem?
Thanks
Regards
 
R Laksh
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a program where the user can download the file in csv
format. I am using jsp and when the file dialog appears, if we choose open, the file name is having [1] appended to it.

And the excel worksheet has a invalid name.

Ex. File name - laksh.csv

It appears as laksh[1].csv
and worksheet name appears as .csv]laksh[
I dont want this to happen.

I am giving the file unique name by appending the file name with current time & also tried the same by deleting all the cache.

Can anyone help me to come out of this problem?
Thanks
Regards
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic