Support the ongoing development of Laravel.io →
Requests Input Views
Last updated 2 years ago.
0

Are you talking filesystem?

If so the easiest way to do this would be to have both sites on the same machine and check you have the correct permissions for the user accessing the files

0

I'm not talking about filesystem. I have both website on the same server. I have two laravel websites like this:

/public/website1

/public/website2

I need access to this folder to see upload files and if is possible, uploading from website2.

0

Well, thinking about it, if your /public/ directory is publically accessible, you should be able to access the content. So, what I would do is:

Build a small RESTful api for site1 and then use this api from site2 to both fetch from and upload to site1.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jonitopsg jonitopsg Joined 18 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.