Are direct resumable uploads to Google Cloud Storage supported? #2161
Unanswered
gustaff-weldon
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
cc @drakkan, do we need a version different than OSS or a license for the above to work? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I believe that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I keep evaluating SFTPGo and testing uploads to Google Cloud storage. I have deployed oss version of sftpgo to kubernetes and gave permissions to GCS bucket.
The folder to upload to is mapped as a virtual folder. Users will have more than one of such virtual folders mapped to different paths in the bucket. Testing with one atm.
The issue I have, is that the uploaded files do not show up in the bucket until upload is finished. Not ideal, if upload gets interrupted on client, or server gets evicted.
Things I have tried that did not work:
upload_mode=0(default) withtemp_folder, user home folder, virtual folder'smapped_pathall set to/transfers-gcson the folder in the bucket - this results inpipeXYZ file errorsand no uploads can be done at allupload_mode=0withtemp_folder, user home folder, virtual foldermapped_pathall set to/transfersvolume mounted to k8s pod - uploads work, but not showing up in bucket until finished. And if client dies, nothing shows upupload_mode=8withtemp_folder, user home folder, virtualmapped_pathall set to/transfersvolume mounted to k8s pod - uploads work, but not showing up in bucket until finished. And if client dies, partial file shows up in bucket, but if server dies, nothing shows upWhat I'm looking for is direct upload to bucket via virtual folder, that immediately shows the file as it is being uploaded, so no matter if server or client dies, or encounter an error, partial file is stored and can be resumed.
Can this be achieved? If so, how?
Beta Was this translation helpful? Give feedback.
All reactions