in reply to copying a file
Is there a reason you are trying to do this with FTP? You are using File::Copy, so why not just use copy( $dir.$file, $dir."Temp/".$file )? (You would have to change $dir to be relative to your root then, something like "/home/doytest/cgi-bin/Data" or however you have your system set up.
If you are intent on doing it with FTP, then we'll have to figure something else out.
-Bryan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: copying a file
by Doyle (Acolyte) on May 20, 2005 at 12:43 UTC |