Copy contents of one file to another
1 posts in topic
Flat View  Flat View

Posted By:   Sarah_Evans
Posted On:   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

Posted By:   Simon_Ablett  
Posted On:   Monday, March 4, 2002 07:32 AM


If you post a copy of the code you used I'll have a look and tell you where you might be going wrong.

About | Sitemap | Contact