hi all!
sorry for my english.
I m very new to php.
i m using ftp_get() to download a file from ftp server
ftp_connect login correctly.
but ftp_get always return false with following waring
Warning: ftp_get() [function.ftp-get]: Opening data channel for file transfer.
plz help
problem using ftp_get()
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: problem using ftp_get()
Check that the server supports what you are trying to get. Some FTP servers do not support wildcards, for example.
(#10850)
Re: problem using ftp_get()
thanx for reply
I have done it.
change to passive mode after login as
ftp_pasv($conn_id,true);
I have done it.
change to passive mode after login as
ftp_pasv($conn_id,true);