The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Suggestions...

Posted by Kishori Sharan on December 05, 2000 at 10:31 PM

1) Check the path for currFile. Just try to display
absolute path for it and then check if it is the same file
you want to rename.
2) Try using absolute path in construtor for currFile.

3) Check for security for that file. The current user must have
the delete permission so that he can rename the file.

One of these three steps should work.
Thanx
Kishori




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us