permaculture playing cards
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

File upload

Siva Matapathi

Joined: Apr 21, 2004
Posts: 1
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.
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...
I agree. Here's the link:
subject: File upload
It's not a secret anymore!