ftp - ¿php ftp_delete can remove folder? -


the question is: can php ftp_delete() remove folder? have process uses ftp_delete() removing ftp files fear might accidentally remove folder if filename empty.

from manual:

"ftp_delete() deletes file specified path ftp server."

it doesn't delete folder, rmdir() does.

"rmdir — removes directory"

note:

attempts remove directory named dirname. directory must empty, , relevant permissions must permit this. e_warning level error generated on failure.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -