An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to

September 5, 2009

Upload Multiple Files to Google Docs

If you want to upload a lot of documents to Google Docs, it's difficult to upload them one by one. You can send the documents by email, but this option is not very reliable and not all the formats are supported.

Google Docs has an API that lets you upload, download and edit documents, but there aren't many applications that use it. One of these applications is Google Docs Batch Upload, developed by Anton Beloglazov. It's a command-line Java application, so it should work in Windows, Mac, Linux, as long as you have JRE 1.6.

Google Docs Batch Upload lets you upload all the files supported by Google Docs from one of your folders. Use the following command to upload all the files from a folder and all its subfolders (unfortunately, the application doesn't recreate the folder structure in Google Docs):

java -jar google-docs-upload-1.0.jar <path> --recursive

(replace <path> with the path to the folder you want to upload)

In other news, documents will not be editable from 12:00 to 1:30 pm PST, according to the Google Apps Status Dashboard.


  1. we want google drive and the new docs interface!!!!

  2. What we could do with is a drag and drop interface.

  3. Command-line isn't a user-friendly interface, but you won't upload multiple files to Google Docs very often. A sync tool would be useful, but it will probably be available when Google Drive is released.

  4. why won't docs be available today? anything to do with google drive? what about the new interface?

  5. Thanks for sharing great information. I am very passionate aboutupload and that's what my site speaks about. I would look ahead to be coming to this site time and again to gian more tips. I am still a novice so couldn't really compete to comment with other guys here.

    thanks again

  6. I am interested in the Google Drive too. In the meanwhile, I am using the free Gladinet tool ( to map Google Docs as a virtual drive in Windows Explorer. I can drag and drop file both ways (upload/download). It works well for me. I havn't tried the latest Glaidnet feature to backup my Google Apps's google docs to my other personal google docs account yet.

  7. @Kevin McFarlane: If you use Google Desktop, you can install the Google Docs gadget which would let you drag and drop documents into Google Docs (through the gadget). That's worked well for me. However, I've had some issues when PDFs were among the documents I was trying to drag and drop. It's possible they might have fixed that issue by now though.

  8. That's weird:/ Google docs was down for almost two hours, but no change has been made to the interface. Man I really hoped they would finally enable the promised google (docs) web drive! I am usually not inpatient:):)

  9. Alex,

    Thank you for writing about my tool. I've updated the list of supported formats, now it includes: csv, doc, docx, html, htm, ods, odt, pdf, ppt, pps, rtf, sxw, tsv, tab, txt, xls, xlsx. So docx, xlsx and some others are also supported. I'm also going to add an ability to recreate the folder structure.

  10. Command-line is great because we can then do all sorts of scripts to automate a ton of processes!

  11. @Zach,
    I must say, is pretty awesome. It's pretty much the way to go... now if i could find an unlimited free version or something like it.

  12. Thats Quite Good Option!! But If any error occurs how the user can be notified!!



  14. Help! I think I did everything right, but when I run the batch, it asks me username and password. I guess it will be my google docs username and password, and I put it there. In return, I aways get AUTHENTIFICATION ERROR

  15. Try to put your username including the domain name.

    Note: upper and lower case letters are different.

  16. Can't understand Google on this one...
    Why don't they provide a simple app to mass transfer local files to Docs?
    I am a strong believer in having data in the cloud but Google is making it difficult for me to migrate...
    Folder structure alone is already a hassle.

  17. @Anonymous:

    Google provides an API that could be used to build an application for uploading files to Google Docs. Like this one.

  18. java.lang.NullPointerException
    at DocumentList.getDocsListFeed(
    at GoogleDocsUpload.getDocsFromFolder(
    at GoogleDocsUpload.uploadFolder(
    at GoogleDocsUpload.upload(
    at GoogleDocsUpload.main(

  19. Iceman,

    The bug has been fixed, please try to use the new version:

  20. We're using the beta of the Linux Drive from on Ubuntu. It works pretty well and enables me to view /upload files to my Google Docs account as a virtual drive. They also advertise a windows virtual drive with some other windows tooling.

  21. Nice to know this is still around, but is there realy any need for something like this after google added folder upload to docs?

  22. @Anton,

    When I try and run the latest version I get this error every time

    403.4 SSL required

    I am using the parameters -u -p

    Please advise

  23. Is there a way to return the hash that occurs after each successful upload? like [2/2] c:\temp\GoogleTest.txt
    - Uploaded: document:13n6lgD0fpqyPzw_eU9QHIAEYiWvp1XGA-p26_KhDbk4