Best unofficial Apache Server developers community |
|
I am tring to copy a file from one folder to another using the php ftp functions. e.g Copy This File: httpdocs/user_images/Services/File 1.jpg To: httpdocs/user_images/folder11 i have tried to use ftp_fput but i am not have any luck with it.
posted via StackOverflow
|
|
 
|
From the manual page on
|
|
 
|
Unless you're actually moving files between servers or to somewhere that PHP doesn't have access, use copy()(php)
|
|
 
|
|