1. Overview
Hjdrivesync is a high-speed, server-to-server Google Drive file and folder cloner. By using your own Google Cloud credentials (BYOK), it transfers files directly between Google accounts without utilizing any of your local internet bandwidth or download quota.
2. Google Cloud Platform (GCP) Configuration
To authorize Hjdrivesync to interact securely with your Google Drive accounts, you need to set up a project and OAuth credentials on Google Cloud Console. Watch our complete connection tutorial below or follow the written steps:
Step A: Create a Project & Enable API
- Go to the Google Cloud Console.
- Create a new project (e.g.,
Hjdrivesync App). - Search for "Google Drive API" in the API Library and click Enable.
Step B: Configure OAuth Consent Screen
- Navigate to APIs & Services > OAuth consent screen.
- Select User Type: External and click Create.
- Fill in the App Info (App Name, Support email, Developer contact email).
- Scopes Step: Click "Add or remove scopes" and add:
https://www.googleapis.com/auth/drive(Full Google Drive access)https://www.googleapis.com/auth/userinfo.email(Used to identify target user email)
- Publishing Status: Set the publishing status to Testing. Under Test Users, add your Gmail account and any other Gmail accounts you wish to link/transfer files between.
Note: Keeping the app in Testing mode is standard for personal utility scripts. Only the Gmail accounts added to your Test Users list will be allowed to link.
Step C: Create OAuth Credentials
- Go to APIs & Services > Credentials.
- Click Create Credentials > OAuth client ID.
- Select Application type: Web application.
- Add the following Authorized Redirect URIs:
https://hjdrivesync.hjcyberx.com/api/auth/callback
- Click Create and copy the Client ID and Client Secret. Keep these details safe.
3. How to Perform a Transfer
Follow these steps to link your Google accounts and start cloning folders:
Step A: Link Your Google Drive Accounts
- Login to Hjdrivesync with your account email.
- Under the **Step 1: Linked Google Accounts** section, click **+ Link a Google Account**.
- Enter the **Client ID** and **Client Secret** you created in Google Cloud Console.
- Click **Authorize & Link Drive**. You will be redirected to Google for consent approval. Once approved, the account will appear in your linked drives list.
- Repeat the process if you want to link additional destination Google accounts.
Step B: Start a Clone Transfer
- Under **Step 2: Transfer Files**, select the destination account from the **Target Google Account** dropdown.
- Paste the shared Google Drive folder or file link/ID into the **Source Folder/File ID** input.
- Choose your preferred **Transfer Mode** (e.g., Browser Mode for visual step-by-step processing, or Server Mode for background execution).
- Click **Start Transfer** to initiate. The progress bar will display copy logs in real time.
4. Troubleshooting & Limitations
- Error: Access blocked: App in testing: This means the Google Account you are trying to link has not been added to the **Test Users** section of your Google Cloud OAuth Consent Screen. Make sure you add it and save the changes.
- OAuth Redirect URI mismatch: Double-check that your Redirect URI in GCP credentials matches exactly:
https://hjdrivesync.hjcyberx.com/api/auth/callback