ftp_rename outputting warning command okay?.
Posted: Tue May 12, 2009 4:43 pm
Hi all,
I am new to FTP using PHP and was wondering if anyone knows why the ftp_rename function outputs the following warning when I use it correctly. The filename in $OldFilename exists in the current directory and gets renamed to the filename in $NewFilename, but it still outputs the warning?.
Here is the output error to the webpage.
Many thanks for your time.
Pejayuk.
I am new to FTP using PHP and was wondering if anyone knows why the ftp_rename function outputs the following warning when I use it correctly. The filename in $OldFilename exists in the current directory and gets renamed to the filename in $NewFilename, but it still outputs the warning?.
Here is the output error to the webpage.
here is the PHP code.Warning: ftp_rename() [function.ftp-rename]: Command okay. in /...........php on line 25
Code: Select all
ftp_rename($ftp_conn_id, $OldFilename, $NewFilename);
Pejayuk.