FTP Get File
Posted: Tue Mar 07, 2006 9:46 pm
Hey. I'm kind of new to PHP so cut me some slack if some things don't match up
.
I'm trying to use ftp_get() to download a file from a private ftp server (that I have access to). However, the problem is that I'm doing this on the server of a website I'm helping a friend to design, so the local route of the function becomes the working directory on the ftp server of the website. I want to download the files from the private ftp server to my computer hard drive, NOT to the website's ftp. All my attempts at using this function thus far have succeeded in downloading the file, but to the website's ftp. Is there any way (or possibly another function) to download the files to my computer's hard drive?
Thanks,
-CEJ
I'm trying to use ftp_get() to download a file from a private ftp server (that I have access to). However, the problem is that I'm doing this on the server of a website I'm helping a friend to design, so the local route of the function becomes the working directory on the ftp server of the website. I want to download the files from the private ftp server to my computer hard drive, NOT to the website's ftp. All my attempts at using this function thus far have succeeded in downloading the file, but to the website's ftp. Is there any way (or possibly another function) to download the files to my computer's hard drive?
Thanks,
-CEJ