Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tips, common problems and corrupted files #8

Open
DiegoDuno opened this issue Sep 26, 2024 · 0 comments
Open

Tips, common problems and corrupted files #8

DiegoDuno opened this issue Sep 26, 2024 · 0 comments

Comments

@DiegoDuno
Copy link

Hello,

Firstly, I would like to thank you for the code provided, it helped me a lot to migrate my personal OneDrive to GCS.

I'm not a programmer and I have very little knowledge in this area and I would like to share some tips and suggestions.

Initially I didn't know how to run this code, so I needed to install nodejs, npm and dotenv on my Linux machine.

Then I had a little difficulty regarding the OneDrive directory configured in the .env. In the variable we must put the name of the folder we want to copy and here the first suggestion, would it be possible to copy subfolders? Currently, if I want to copy the "Documents" directory and there is a folder inside it, the code does not work.

Another problem I had was regarding the virtual machine (compute engine) access permission to the storage bucket. Initially I received a 403 from the Google API and after some searches I discovered that it was necessary to authorize the virtual machine's access to the bucket.

Finally I had some problems with corrupted files, the transfer was successful but when comparing the GCS file with the OneDrive file, the size of the GCS file was noticeably smaller and when downloading the file I was able to confirm that it was corrupt.

These are just suggestions and tips to contribute to your code that helped me a lot.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant