Page 1 of 1

Can't write to temp dir with ftp_get call..

Posted: Thu Nov 21, 2002 5:43 am
by tyson
Hi,

anyone know how I should specify the local temp directory in an ftp_get call so that it will write the file to the temp directory on a windows or unix based os ?

Actually while you're at it anyone know why this is failing ??:
ftp_get($ftp_conn, "c:\temp\file.txt","testfile.txt",ftp_binary);
with the informative message "error opening c:\temp\file.txt"...

thanks !

Tyson