vendredi 17 novembre 2017

Error while uploading existing file to google drive using Laravel 5.4

I'm using Laravel 5.4. I'm trying to upload file to google drive using

Storage::disk('google')->put('file.txt', 'hello world')

using above method file named 'file.txt' is created in Google Drive folder. but i have to upload an existing zip file.

I'm using the below code to upload the zip file in google drive.

Storage::disk('google')->put('RandomFileName.zip', storage_path('app/backup.zip'));

Zip file is created but with corrupted file having size in 50 byte sometimes.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2zP3JrN
via IFTTT

Aucun commentaire:

Enregistrer un commentaire