I want to be able to download a file to a person who is accessing my website. My question is: I have a webserver that has a public_ftp folder ("http://www.webserver.com/path/public_ftp/source.txt"). Would that be the same as "ftp.testftp.com" listed below?


Code:
<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
ftp_login($conn,"admin","ert456");

echo ftp_get($conn,"C://target.txt","source.txt",FTP_ASCII);

ftp_close($conn);
?>