Page 1 of 1

Where is the downloaded file: ftp_get

Posted: Mon Aug 04, 2003 7:09 am
by mikebr
I am using a ftp script and find that the script tells me the file is downloaded but I can't find where, the code is:

Code: Select all

<?php

ftp_chdir($result, $cdir);

for ($x=0; $x<sizeof($dfile); $x++) {
ftp_get($result, $dfile[$x], $dfile[$x], FTP_BINARY);
}

?>
I am tryimg to download to the users desktop but my above code does not seem to be doing that, I have search my HD to find the file by it's name but no joy, antone see what the problem might be?