Google Drive Uploader & Explorer Tool Help.
How to use?
- Before using this software, follow the Step 1 (Step 1: Turn on the Drive API) in this quick start guide from Google: https://developers.google.com/drive/v3/web/quickstart/dotnet.
- After following the steps, launch the software. It will launch a web tab in your browser to allow the software to access your account.
- Start uploading or downloading a file!
How to upload a file or folder?
- drag and drop one or more file or folder.
- press “Upload”.
-OR-
Go to File -> Upload -> Select File or Folder
- You don’t need to perform step 2 if you enabled the “Start Uploads Automatically” in the Options menu
- When uploading folders that contains subfolders and subfiles, The original file and folder structure will be kept in Google Drive.
- If an upload is interrupted or the software or the PC crashes, you’ll be prompted to continue the upload where it left of if you are uploading the same file as before. If you attempt to upload another file after the first one got interrumpted, you will lose the ability to resume the previous file. If the software is still open and the connection is interrupted, it will attempt to continue the upload.
How to select a folder?
- Just browse for a folder in the Folder Browser listbox.
- If you already added a file to the Upload list and want to change the location, browse for the folder and press the “Upload selected file(s) to current folder” button.
How to create a folder?
- Browse to the location you wish to create the new folder.
- Press “Create New Folder” or Go to Actions -> Create New Folder
- Type a Folder Name and press OK.
How to check if Folder ID is correct?
- Type Folder ID in the Text Box.
- Press the “Get Folder Name” button.
- If the Folder ID is correct, you’ll see the Folder Name in the Text Box below the Folder ID. If the Folder ID is incorrect or not found, a message will be shown telling that the Folder ID is incorrect.
How to download a file?
- Choose a file from the list.
- Press the “Download File” button, press CTRL + D, or go to File -> Download -> Selected File(s).
- Choose a folder and if you want, change the filename and press “Save”.
- The download will start.
Alternatively, you can download a file by selecting it, right clicking and selecting “Add to Queue” or by pressing CTRL + Q.
Can I download more than one file at a time?
Absolutely! Select the files you want to download and press CTRL + D, or go to File -> Download -> Selected File(s). Then, pick a folder to save the files.
Alternatively, you can download a file by selecting them, right clicking and selecting “Add to Queue” or by pressing CTRL + Q.
Can I download a full folder?
Absolutely! Just select a folder and press CTRL + D, or go to File -> Download -> Selected Folder. Then, browse for the location to download all the content that is in that folder.
Alternatively, you can download a file by selecting it, right clicking and selecting “Add to Queue” or by pressing CTRL + Q.
How to save the Checksum of a file?
- Select a file.
- Press the “Save Checksum File” button, press CTRL + C in your keyboard, or go to Actions -> Save Checksums -> Selected File(s).
- Browse for a location to save the file.
How to save the Checksum of more than one file?
- Select the files by pressing Ctrl or Shift in your keyboard, or press CTRL + A to select all of the files.
- Press the “Save Checksums for Selected Files” button, press CTRL + C in your keyboard, or go to Actions -> Save Checksums -> Selected File(s).
- Browse for a location to save the file.
How to save the Checksum of the content of a folder?
- Select the folder you want to save the checksums of its contents.
- Press CTRL + C in your keyboard, or go to Actions -> Save Checksums -> Selected Folder
- Browse for a location to save the file.
The checksums used are the ones generated by Google Drive when a file is uploaded
How can I change the checksum file encoding?
- Go to “Options” -> “Checksum Options” -> “Encode file for”.
- Select the Operating system you want your file to be encoded for.
These are the checksums for your files stored in Google Drive. You can use them to verify if the uploaded file matches the local file.
How to move one or more files or folders to Trash?
- Select the file(s) or folder(s) to send to Trash.
- Press the “Delete” key, or go to Actions -> Move to Trash -> Selected File(s) or Selected Folder(s).
- You can also right click and select “Send to Trash”.
How to restore one or more files or folders in the Trash?
- Press the “View Trash” button.
- Select the file(s) or folder(s) to restore.
- Press CTRL + R in your keyboard, or go to Actions -> Restore -> Selected File(s) or Selected Folder(s).
How do I verify a file checksum?
- Select a file in the File List.
- Press CTRL + V or right click the file and select “Verify Checksum”.
- Browse for the file to compare the checksum.
How can I open a file and go to the Google Drive site?
Just double click on the file. A new browser window or tab will open directing you to the file in Google Drive.
How do I open a folder and go to the Google Drive site?
Press SHIFT and double click on a folder. A new browser window or tab will open directing you to the folder in Google Drive.
What does the “Copy File to RAM before uploading if there’s enough Free Memory available” option do?
If you have enough free RAM in your system, and the file you want to upload fits in it, the file will be copied to the RAM before uploading. It will then be read from your RAM instead of your disk. While the initial copy can be slow, this can help increase upload performance as the file will be read from the RAM instead of your disk. Also, this option helps if you use an External Hard Disk Drive and you have connectivity issues later. Once the file is copied to the RAM, the disk resource is freed, so you can disconnect it and the software will continue uploading the file. Please note that if you have additional files, the disk must be connected as only the current file being uploaded is the one that is copied in the system memory.
What does the “Specify Chunk Size” option do?
It will open a window where you can specify a chunk size. The Google Drive API uploads in 256kb chunks, but you can override this (The software by default uploads the files in 1MB chunks). If you have a slow upload connection, lower chunk sizes are best. However, if you have a fast upload speed, increasing the chunk size can increase upload performance. Please keep in mind if you don’t use the above feature, your disk will be read every time a chunk finishes so it can read the next chunk. There can be a pause between the upload in this process. This is completely normal. If you want to upload the file without any pause, and have free system memory available, you can use the “Copy File to RAM before uploading if there’s enough Free Memory available” and the file will be copied to the RAM before it uploads.
Keyboard Shortcuts
- Enter: Enter a folder.
- Delete: Move file or folder to trash.
- F5: Refresh file and folder list.
- CTRL + A: Select all files or folders.
- CTRL + C: Save selected file(s) or folder checksums.
- CTRL + D: Download selected file(s) or entire folder.
- CTRL + R: When not in trash, rename a file or folder. When in trash, restore a file or folder.
How to open and compile the project?
This project was made using Visual Studio 2017, in the Visual Basic .NET language. You’ll need to have the Windows Desktop components installed to be able to open and edit this project to fit your needs and to compile it. It also uses the Google Drive API which is available in the NuGet Package Manager. You may also be prompted to download the NuGet packages for this project.
The feature “Copy File to RAM before Uploading” depends on a code written in C# called MemoryTributary. You can get the code from here: https://www.codeproject.com/articles/348590/a-replacement-for-memorystream. You then need to make a DLL file and load it to this project.