I have a directory of csv files I'm converting to xml, once the file is converting making a copy of csv to an archive dir and want to remove the original csv from the input dir (ftp).
Outside of using File.exists I've been unable to get the File class to do any file operations in the file system. To create the archive I used FileStreams to 'move' the file as renameTo() wouldn't work.
Double checked to see if an object reference to the File but can't find any. Is there an issue with File class methods on Win 7?
In testing canExecute(), canRead(), canWrite() all return true and the delete() call is not throwing an exception but still can't get rid of the file.
Is there another approach I can use to get rid of the file?
Thanks,
Ralph
Outside of using File.exists I've been unable to get the File class to do any file operations in the file system. To create the archive I used FileStreams to 'move' the file as renameTo() wouldn't work.
Double checked to see if an object reference to the File but can't find any. Is there an issue with File class methods on Win 7?
In testing canExecute(), canRead(), canWrite() all return true and the delete() call is not throwing an exception but still can't get rid of the file.
Is there another approach I can use to get rid of the file?
Thanks,
Ralph