*
The moose likes Struts and the fly likes File upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File upload " Watch "File upload " New topic
Author

File upload

Siva Matapathi
Greenhorn

Joined: Apr 21, 2004
Posts: 1
Hello,
I am having a problem uploading a file.
I have used struts <html:file> in a jsp and could upload a file without any problem.
But when I have a file opened, say for example, I want to upload a word document "myfile.doc" and when this file is open, I can't upload. But when I close this file, then I am able to upload.
Can any one suggest how I can upload a file even when it is open.
Thanks
David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
The file is locked at the OS level. I have no idea how you could override this...
 
jQuery in Action, 2nd edition
 
subject: File upload
 
Similar Threads
.xlsx file not uploading properly
HTTPS File Uploader
Problem while upload a file when it is opened
Problem uploading a file while it is opened
Upload a file