DocsService client = new DocsService(\"service name\");
client.setUserCredentials(username,password);
File file = new File(filename);
URL url = new URL(\"https://doc
As far as I know (its been a few month since I looked) this is not (yet?) supported by the google drive API. As a workaround consider installing the native google drive share and write the files you want to upload into the locally mapped shared folder. Then its google drives problem to handle the upload.