| Author |
Unique File Name when uploading using FormFile
|
ods gel
Greenhorn
Joined: Oct 09, 2007
Posts: 8
|
|
Hi, I m uploading a file using with FormFile (Struts). What is the best way to save it with unique name for each file (so it won't overwrite exiting ones)?
|
 |
Chris Boldon
Ranch Hand
Joined: Aug 10, 2006
Posts: 190
|
|
|
I prefer to save then as BLOBs in a database. However, if you're going to store them on the file system I'd use a timestamp.
|
 |
 |
|
|
subject: Unique File Name when uploading using FormFile
|
|
|