Web lists-archives.com

Re: [PHP] Copy for directories?

Why fight with it?  Outsource it to the system and let the system handle the work. It already knows how to do the job. Just trap the result code and you'll know if you're successful or not.


On April 22, 2018 3:50:08 PM EDT, Jeffry Killen <jekillen@xxxxxxxxxxx> wrote:
>> On Apr 22, 2018, at 12:04 PM, Jigar Dhulla <jigar.tidus@xxxxxxxxx>
>> Nope. Not straightforward. May be this can help.
>> On Sun, Apr 22, 2018 at 10:54 AM, Jeffry Killen
>> wrote:
>>> Hello:
>>> is there a function for copying a directory, preferably with a
>>> option?
>>> Thanks
>>> JK
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>Thanks for replies on this question.
>I have already written my own recursive functions but 
>decided to find out if there already was a function available.
>I just have to figure out how to use it as a core for  copy, remove,
>search, and turning over ftp user owned content to server user
>ownership by copy, rename and remove
>the original.
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

Sent from my Android device with K-9 Mail. Please excuse my brevity.