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
{{ message }}
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
i'm trying to copy from a local disc to a gcs disk
the simplified version here:
$from = 'local';
$localDisk = Storage::disk($from);
$to = 'archive';
$archiveDisk = Storage::disk($to);
print_r($archiveDisk->allFiles());
// check if a file exists on archive already
if($archiveDisk->exists($file->getSlug())){
echo "file exists already in archive\n";
} else {
echo "file not found in archive\n";
}
//check file exists on local disc
if($localDisk->exists($file->getSlug())){
echo "file exists on local\n";
} else {
echo "file not found on local\n";
}
$archiveDisk->put($file->getSlug(), $localDisk->get($file->getSlug()));
it pauses for a while then gives this error:
In ResumableUploader.php line 184:
Upload failed. Please use this URI to resume your upload: <google cloud url>
the print_r does show all files in the bucket so it looks to be configured correctly. but cant seems to send files to it, has anyone else seen this issue?
The text was updated successfully, but these errors were encountered:
i'm trying to copy from a local disc to a gcs disk
the simplified version here:
it pauses for a while then gives this error:
the print_r does show all files in the bucket so it looks to be configured correctly. but cant seems to send files to it, has anyone else seen this issue?
The text was updated successfully, but these errors were encountered: