jaeyson's avatar

Is it possible to send an image using its url using Storage::put?

Hi!, how do i upload an image (i only have its url) using Storage::disk('s3')->put()?

i tried:

Storage::disk('s3')
    ->putFileAs('', file('https://sample.co/img001.jpg'), 'img.jpg', 'public');

the url is not from another s3 bucket

0 likes
3 replies
jaeyson's avatar

yes did that before, got error exhausted memory.

Please or to participate in this conversation.