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.

Cheers, 
Curtis



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>
>wrote:
>> 
>> Nope. Not straightforward. May be this can help.
>>
>https://stackoverflow.com/questions/2050859/copy-entire-contents-of-a-directory-to-another-using-php
>> 
>> 
>> On Sun, Apr 22, 2018 at 10:54 AM, Jeffry Killen
><jekillen@xxxxxxxxxxx>
>> wrote:
>> 
>>> Hello:
>>> is there a function for copying a directory, preferably with a
>recursive
>>> 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.
>
>JK
>--
>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.