This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to copy file?

 
Simon Xu
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I tried to use RandomAccessFile to save one file to another. It wont work. Does anything happens with Applet security?
Please post simple code if possible.
Thanx
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simon,
Yes, this does have to do with Applet security... Applets cannot read or write files on the clients machine... You can do this through Netscape capability classes ( http://developer.netscape.com/docs/manuals/signedobj/capabilities/ ), but this will only work in Netscape browsers, and you will have to mess with signed applets and all kinds of other messy stuff...
HTH,
-Nate
 
Simon Xu
Ranch Hand
Posts: 235
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, Nathan,
I will try it. Thanx for your point.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic