Export to GitHub

google-docs-upload - issue #19

Support for any format


Posted on Jan 18, 2010 by Quick Lion

Google Docs added support for storing files online:

http://googledocs.blogspot.com/2010/01/upload-and-store-your-files-in-cloud.html

Comment #1

Posted on Jan 18, 2010 by Happy Elephant

(No comment was entered for this change.)

Comment #2

Posted on Jan 21, 2010 by Happy Giraffe

Glad to see this issue is marked as Started :-)

Comment #3

Posted on Jan 22, 2010 by Happy Elephant

Comment deleted

Comment #4

Posted on Jan 22, 2010 by Happy Elephant

Unfortunately, looks like this feature is currently available only for Google Apps Premier accounts:

http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#UploadingArbitraryFileTypes

Comment #5

Posted on Jan 22, 2010 by Massive Wombat

What about the file upload size limits? Is this for the premier accounts as well?

Comment #6

Posted on Jan 22, 2010 by Grumpy Camel

I have a premium account (great price for storage). Can you tell me how to allow all files to upload with your script? Is it just a matter of adding somewhere? Thank you for your help. It you have a solution I'll certainly make a donation for your hard work!

Comment #7

Posted on Jan 22, 2010 by Grumpy Camel

Comment deleted

Comment #8

Posted on Jan 22, 2010 by Grumpy Rabbit

I have a free account and I can upload files up to 250MB and of any type. It may take a while for the features to roll out to all free accounts.

Comment #9

Posted on Jan 22, 2010 by Massive Wombat

Yes. I have a free account and am able to upload any file and up to 250 MB via the web. In the press release I believe Google said, "In the next coming weeks..."

Comment #10

Posted on Jan 22, 2010 by Grumpy Camel

I'm just wondering if you can turn off the auto convert to google doc feature in the Java upload script Anton.be wrote. I'm using the script but it converts each file it can and won't load the ones that it cannot convert.

Comment #11

Posted on Jan 24, 2010 by Grumpy Panda

I made the changes to the source necessary to upload any file format, however the API still has a restriction for personal accounts - I get the error: Invalid extended help URI: Request rate limit exceeded.

However, when I upload the same file to my Premier account, the code change works just fine.
This may be a symptom of the fact that personal account changes are currently being rolled out and they may allow this in the near future (once initial load has dropped).

In the meantime, I'll clean up my changes and add a flag where you can allow all format types.
It will only work for Premier accounts for now, but if/when the API permissions change, the change should work just fine.

Comment #12

Posted on Jan 24, 2010 by Grumpy Camel

Please excuse my lack of knowledge but does that mean you are going to post a new version of "google-docs-upload" that incorporates the ability to upload without converting? Thanks.

Comment #13

Posted on Jan 24, 2010 by Grumpy Panda

See this Blog post about the recent Docs List changes: http://googleblog.blogspot.com/2010/01/google-apps-highlights-1222010.html

Uploading any file type has recently been announced and is currently rolling out to customers "over the coming weeks". My personal account was just upgraded this week.
So while I can use the script API to upload any file type to my premier account, my personal account has the API feature locked off currently. I would assume in the future, they will unlock this for personal accounts so that this script will work with any file type...but for now, if you are trying to upload to a personal account, this script is doing everything that is available. I will be proposing code changes that allow any file types for premier customers, and if/when the API is unlocked for personal accounts, the script should then work for all file types for personal accounts as well.

Comment #14

Posted on Jan 24, 2010 by Grumpy Panda

See also gdata bug: http://code.google.com/p/gdata-issues/issues/detail?id=1803

Comment #15

Posted on Jan 25, 2010 by Massive Camel

Excellent news Bill.

Comment #16

Posted on Mar 1, 2010 by Happy Elephant

Issue 22 has been merged into this issue.

Comment #17

Posted on Mar 2, 2010 by Happy Kangaroo

Is there a quick way to disable the type check, e.g. by changing something in the jar file?

Comment #18

Posted on Mar 15, 2010 by Happy Camel

It would be absolutely great if you could create a quick recompiled version of this amazing app that could upload any file.

Your jar is really the only thing that does what I need (expect the file type check). I am really waiting for this feature to appear...... any thoughts on when we can expect this?

Comment #19

Posted on Mar 18, 2010 by Swift Camel

Hi Anton, have you included the any file flag already? Awesome like app Cheers!

Comment #20

Posted on Mar 19, 2010 by Grumpy Cat

This tool is great except for the file type restriction. Can you make this go away?

Comment #21

Posted on Mar 27, 2010 by Swift Panda

Another request for a new jar supporting all file types. Can't you just change the isAllowedFormat() to return true? Or is it more complicated than that? This is a great utility and I'd love to see this change implemented.

Comment #22

Posted on Mar 28, 2010 by Grumpy Dog

Look guys, reread comment #11 and #13 by davis.bill. The issue is with what google is and isn't allowing via their API, not really an issue with the code. It's true that you can now upload any file format via the google docs web interface, but upload for any format via the API is not enabled for personal accounts yet.

Comment #23

Posted on Mar 28, 2010 by Swift Panda

Apologies, originally read #11 and #13 as 'API will allow it as Google roll it out to customers'. Just read them back and #13 obviously suggests the API has not been updated. Missed that first time round. Hopefully Google will allow it soon.

Comment #24

Posted on Mar 28, 2010 by Happy Kangaroo

The way I read comments #11 and 13, Bill was going to add the option of uploading any file right away:

"I'll clean up my changes and add a flag where you can allow all format types. It will only work for Premier accounts for now, ..."

"I will be proposing code changes that allow any file types for premier customers, and if/when the API is unlocked for personal accounts, the script should then work for all file types for personal accounts as well."

Looks to me like Bill was saying the switch --allow-all was going to be added in immediately (hence the qualifier "for now"). That's useful for those who have a premium or Google Apps account (many people).

Of course it's up to Bill when he releases the updated version: it is his program and he doesn't owe anything to any of us. Comments #15 - 21 were simply encouragements, to let him know how welcome the change would be.

Comment #25

Posted on Mar 28, 2010 by Grumpy Panda

Sorry...I've been swamped lately. But the program is not mine...I was just adding a switch to allow any file type uploads for Premier accounts. I'll try to get this change finalized and submitted in the next day or two. This will help ONLY those that have premier accounts, Docs free edition does not yet allow any file type from the API yet.

-Bill

Comment #26

Posted on Apr 26, 2010 by Happy Camel

Dear Bill,

I am still searching the internet for a tool that does what I need and really this tool is the only one I can find that really meets my demands except for the file type filter.

It would be absolutely great if you could put up a link to your modified compiled version for download for those of us who are not able to modify and compile it ourselves. I know you're swamped but I am kind of hoping I can persuade you to make it available for all of us who are waiting in anticipation for this feature.

Thanks in advance....

El

Comment #27

Posted on May 3, 2010 by Happy Dog

Dear Bill,

I would like to add my request for this issue. This program is the most simple, fast and reusable of all I've found so far. Getting rid of the file type filter would complete the whole thing. So please let us know if and when this will be available.

Regards, Jeroen

Comment #28

Posted on May 3, 2010 by Massive Panda

Hi, Any news regarding the --allow-all flag? Would be really good if both google and the script allowed this.

/Patrik

Comment #29

Posted on Jun 8, 2010 by Grumpy Cat

Here we are one month later wondering what the status is of this project. If the reality of the situation is that the switch to allow any file type uploads is not forthcoming in the next month or so, perhaps that could be stated.

Comment #30

Posted on Sep 10, 2010 by Swift Elephant

Has anybody come up with a reasonable workaround for this situation? This avenue appears to be a dead end, and I'm hoping some new method of accomplishing the same function has been discovered by someone over the last few months.

Comment #31

Posted on Sep 28, 2010 by Grumpy Bird

any news on uploading file of any type? it would be really useful

Comment #32

Posted on Dec 22, 2010 by Happy Elephant

The problem has been fixed in the version 1.4. Documents that can't be converted to the Google Docs format are uploaded without conversion by default. This behavior can be forced for all documents using the --without-conversion option. Uploading without conversion works only for Business accounts.

Comment #33

Posted on Dec 24, 2010 by Grumpy Cat

Doesn't work for me. I get this error: "No enum const class com.google.gdata.data.docs.DocumentListEntry" when uploading .mp3 files from Windows XP and Ubuntu. Yes, I have a business account. With Windows I'm using this command java -jar c:\windows\gdu.jar --recursive --without-conversion . gdu.jar is the latest download renamed. The directory is created. No files are uploaded. Same as last version.

Comment #34

Posted on Dec 24, 2010 by Grumpy Cat

Sorry. A more ccomplete error message:

Upload error: No enum const class com.google.gdata.data.docs.DocumentListEntry$MediaType.MP3 - Skipped

Comment #35

Posted on Dec 29, 2010 by Happy Elephant

Hi Robert,

Please try this version http://code.google.com/p/google-docs-upload/downloads/detail?name=google-docs-upload-1.4.1.jar

Please let me know whether the problem is fixed or not.

Thanks, Anton

Comment #36

Posted on Dec 31, 2010 by Grumpy Cat

The problem is fixed. Thank you.

Comment #37

Posted on Jan 1, 2011 by Happy Elephant

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Enhancement Priority-Medium