简体   繁体   中英

I have tried download file using Laravel Storage but i got error from browser

I have to download file via browser so i use laravel storage but i got some error. Firefox return me this error. How can i fix that?

This is my request method

return Storage::disk('sftp')->download('some_file.png');

by the way i'm sure this file exists in the server and this is my error via firefox browser

/tmp/mozilla_umut0/TcGfuMpx.png.part could not be saved, because the source file could not be read. Try again later, or contact the server administrator.

It seems like the problem is not about laravel or php. The error is coming from the browser as you mentioned. Try to use another browser to see if the error still occurs.

With a quick look i found this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM