ivanvermeyen / laravel-google-drive-demo

Laravel & Google Drive Storage - Demo project with Laravel 5.4
403 stars 155 forks source link

Issues on using slash in file name #82

Open achmadkhodzim opened 4 years ago

achmadkhodzim commented 4 years ago

hey any examples in how to escape a slash inside filename? because it read as a folder path if there is slash inside filename example code below $filename="test/123"; Storage::disk('google')->put($filename, file_get_contents($request->file('xxxx'))); the code will try to put the file inside a test folder but what i want is the filename to be "test/123"

ivanvermeyen commented 4 years ago

Hey,

Take a look at this https://github.com/nao-pon/flysystem-google-drive/issues/61#event-3085595686