A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
ford Darcy Jr
Joined: Jan 26, 2005
May 26, 2005 12:17:00
I am using multipartrequest for fileupload in
. I want to save the file with the new filename on the server. But its getting saved with the original filename. Is there anyway to save the file with a new filename ?
Akbar Basha R
Joined: Mar 11, 2002
May 26, 2005 13:08:00
Upload the file with the original file name and then use the File Class and the renameTo method to change the file name to a new one.
subject: File Upload
saving an image
File field content
Export to excel question
Saving runtime Swing UI as image
JfileChooser selecting existing file.......?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013