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
In reply to Re: copying a file
by mrborisguy
in thread copying a file
by Doyle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |