Level 17
What about specifying full path for both source and destination folders ?
Summer Sale! All accounts are 50% off this week.
Hi there, is there any sollution to copy an entire folder (including foldername) and its content to another storage disk (ftp) without manually creating the folder first and loop through the files within this folder? Is it possible that copyDirectory() is only working when source and direction are only locally?
edit:
$copy_dir=\File::copyDirectory($sourcefolder, Storage::disk('remoteftp')->path('test'));
returns true but the test folder is empty
Please or to participate in this conversation.