Thursday, February 28, 2002 06:30 PM
I have to copy contents of a source file to a destination file. When the file path for destination is entered by user, I have to check whether the path contains a directory also in addition to file name. If so whether the directory exists or not. If not create the directory and check if a file with name entered by user already exists in that directory. I know I can use isDirectory() and mkDir() methods but it didn't work the way I did. Any help is appreciated.
Re: Copy contents of one file to another
Monday, March 4, 2002 07:32 AM