You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copies a file from a local path `origPath` to the provided path `targetPath` in the storage. The value for `targetPath` needs to include at least a file name. You can provide extra storage-specific settings such as access rights using the `options` object.
818
819
820
+
By setting `checkIfBucketExists` to `false` you can skip the bucket check. This is useful when you have limited the access rights to the bucket.
821
+
819
822
The key `bucketName` is optional; if you don't pass a value the selected bucket will be used. The selected bucket is the bucket that you've passed with the config upon instantiation or that you've set afterwards using `setSelectedBucket`. If no bucket is selected the value of the `error` key in the result object will hold `"no bucket selected"`.
820
823
821
824
If the call is successful `value` will hold the string "ok".
@@ -840,6 +843,7 @@ export type FileBufferParams = {
Copies a buffer to a file in the storage. The value for `targetPath` needs to include at least a file name. You can provide extra storage-specific settings such as access rights using the `options` object.
858
862
863
+
By setting `checkIfBucketExists` to `false` you can skip the bucket check. This is useful when you have limited the access rights to the bucket.
864
+
859
865
The key `bucketName` is optional; if you don't pass a value the selected bucket will be used. The selected bucket is the bucket that you've passed with the config upon instantiation or that you've set afterwards using `setSelectedBucket`. If no bucket is selected the value of the `error` key in the result object will hold `"no bucket selected"`.
860
866
861
867
If the call is successful `value` will hold the string "ok".
@@ -882,6 +888,7 @@ export type FileStreamParams = {
Allows you to stream a file directly to the storage. The value for `targetPath` needs to include at least a file name. You can provide extra storage-specific settings such as access rights using the `options` object.
900
907
908
+
By setting `checkIfBucketExists` to `false` you can skip the bucket check. This is useful when you have limited the access rights to the bucket.
909
+
901
910
The key `bucketName` is optional; if you don't pass a value the selected bucket will be used. The selected bucket is the bucket that you've passed with the config upon instantiation or that you've set afterwards using `setSelectedBucket`. If no bucket is selected the value of the `error` key in the result object will set to `"no bucket selected"`.
902
911
903
912
If the call is successful `value` will hold the string "ok".
0 commit comments