Closed jalamprea closed 1 year ago
Extra info to replicate the error, the files that were uploaded into GCP were uploaded using gzip.
I mean, when we uploaded the files for the first time in GCP, they were uploaded using the command gsutil cp -Z
so look like those files are being transferred as binaries, even if they are simple files like HTML JSON or images.
Maybe a solution could be detect and decompress the gzip files from the source bucket
Or detect if the source file is compressed, then add the header ContentEncoding: gzip
to the destination file
Hi @jalamprea thanks for reporting this. So is the content type in GCP also application/octet-stream? Also, is your goal to just transfer data from a VM to S3?
The content-type in GCP is the correct type on each file, I mean, text/html, application/javascript, image/jpg, etc... About my goal, yes, I just need to migrate data from my buckets in GCP to a new buckets in AWS S3
Describe the bug Migrating data from GCP to AWS using skyplane sync, all data was migrated but the content-type of all files is now application/octet-stream
To Reproduce Just run the sync command:
Expected behavior Keep the proper content-type of the file instead of replacing it
Transfer client log In the log output from Skyplane, please upload the debug log from the CLI. You can find the path to the file in the log output:
Environment info (please complete the following information):