note 73049 added to function.ftp-rename

From: Date: Wed, 07 Feb 2007 12:51:45 +0000
Subject: note 73049 added to function.ftp-rename
Groups: php.notes 
Request: Send a blank email to php-notes+get-123043@lists.php.net to get a copy of this message
This function isn't only able to rename files, but also folders. And it is not only able to rename them, but also move them, and, in the case of folders, their contents as well (so folders don't have to be empty to move). For example: <?php ftp_rename($conn_id, "./dir1/dir2/", "./dir3/"); ?> Now the folder dir2 (which prevously was in folder dir1) has moved to the same folder as dir1, and it has kept its original contents (the content just moved along). ---- Server IP: 194.109.193.76 Probable Submitter: 62.166.171.12 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-rename.php Edit -- https://master.php.net/note/edit/73049 Del: integrated -- https://master.php.net/note/delete/73049/integrated Del: useless -- https://master.php.net/note/delete/73049/useless Del: bad code -- https://master.php.net/note/delete/73049/bad+code Del: spam -- https://master.php.net/note/delete/73049/spam Del: non-english -- https://master.php.net/note/delete/73049/non-english Del: in docs -- https://master.php.net/note/delete/73049/in+docs Del: other reasons-- https://master.php.net/note/delete/73049 Reject -- https://master.php.net/note/reject/73049 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123043) next »