Search found 3 matches

by BobBlightman
Thu Feb 19, 2015 4:57 am
Forum: PHP - Code
Topic: ftp_get
Replies: 5
Views: 1107

Re: ftp_get

thanks for clarifying this

Can you tell me how to present the download prompt to the user?
by BobBlightman
Thu Feb 19, 2015 4:02 am
Forum: PHP - Code
Topic: ftp_get
Replies: 5
Views: 1107

Re: ftp_get

Thanks for the reply No - I'm using the Internet site that the php code is running on (like one of the users for who I'm developing the site would). I did discover that in some cases it appeared to have written the file to the server on the web site, but now it doesn't do that either Any help you ca...
by BobBlightman
Thu Feb 19, 2015 2:38 am
Forum: PHP - Code
Topic: ftp_get
Replies: 5
Views: 1107

ftp_get

I'm a relative beginner to php, so bear with me I'm trying to download a file from the server to my local pc. Here's my code: $local_file = 'c:\cirwin\rcc\test.dat'; // download server file if (ftp_get($ftp_conn, $local_file, $filename, FTP_ASCII)) { echo "Successfully written to $local_file.&q...