Hi,

Thursday, February 13, 2003, 9:17:17 AM, you wrote:
M> I am trying to ftp_get($con,"/tmp/download.tmp","/remote/file
M> dir/file.txt",FTP_ASCII).  I am getting errors because of the space in the
M> remote filename.  I tried using "/remote/file\ dir/file.txt" as the
M> filename, but that also fails.  I also tried to ftp_chdir() to the directory
M> first and get file.txt to no avail.  Does anyone have any ideas on how to
M> GET a file that is in a directory with a space in it?

M> -Chris


Try escaping it $dir = "/remote/file\ dir/";

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to