YoshiEnari / google-docs-upload

Automatically exported from code.google.com/p/google-docs-upload
0 stars 0 forks source link

Support for any format #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Google Docs added support for storing files online:

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

Original issue reported on code.google.com by ionut.ch...@yahoo.com on 18 Jan 2010 at 12:02

GoogleCodeExporter commented 8 years ago

Original comment by anton.be...@gmail.com on 18 Jan 2010 at 12:22

GoogleCodeExporter commented 8 years ago
Glad to see this issue is marked as Started :-)

Original comment by cnye...@gmail.com on 21 Jan 2010 at 4:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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#Up
loadingArbitraryFileTypes

Original comment by anton.be...@gmail.com on 22 Jan 2010 at 12:50

GoogleCodeExporter commented 8 years ago
What about the file upload size limits? Is this for the premier accounts as 
well?

Original comment by cwlarra...@gmail.com on 22 Jan 2010 at 1:10

GoogleCodeExporter commented 8 years ago
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 
<?convert:false>
somewhere?  Thank you for your help.  It you have a solution I'll certainly 
make a
donation for your hard work!

Original comment by mawalshi...@gmail.com on 22 Jan 2010 at 7:36

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
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.

Original comment by unknowns...@gmail.com on 22 Jan 2010 at 9:10

GoogleCodeExporter commented 8 years ago
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..."

Original comment by cwlarra...@gmail.com on 22 Jan 2010 at 10:36

GoogleCodeExporter commented 8 years ago
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. 

Original comment by mawalshi...@gmail.com on 22 Jan 2010 at 10:47

GoogleCodeExporter commented 8 years ago
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.

Original comment by davis.b...@gmail.com on 24 Jan 2010 at 9:35

GoogleCodeExporter commented 8 years ago
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.

Original comment by mawalshi...@gmail.com on 24 Jan 2010 at 3:19

GoogleCodeExporter commented 8 years ago
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.

Original comment by davis.b...@gmail.com on 24 Jan 2010 at 9:55

GoogleCodeExporter commented 8 years ago
See also gdata bug:
 http://code.google.com/p/gdata-issues/issues/detail?id=1803

Original comment by davis.b...@gmail.com on 24 Jan 2010 at 9:58

GoogleCodeExporter commented 8 years ago
Excellent news Bill. 

Original comment by dean.cla...@gmail.com on 25 Jan 2010 at 7:30

GoogleCodeExporter commented 8 years ago
Issue 22 has been merged into this issue.

Original comment by anton.be...@gmail.com on 1 Mar 2010 at 3:38

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

Original comment by bvanderg...@gmail.com on 2 Mar 2010 at 5:11

GoogleCodeExporter commented 8 years ago
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?

Original comment by eldert.b...@zonnet.nl on 15 Mar 2010 at 9:06

GoogleCodeExporter commented 8 years ago
Hi Anton, have you included the any file flag already? Awesome like app Cheers!

Original comment by timothyo...@gmail.com on 18 Mar 2010 at 8:53

GoogleCodeExporter commented 8 years ago
This tool is great except for the file type restriction.  Can you make this go 
away?

Original comment by RobertDC...@gmail.com on 19 Mar 2010 at 7:41

GoogleCodeExporter commented 8 years ago
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.

Original comment by nikcol...@gmail.com on 27 Mar 2010 at 11:19

GoogleCodeExporter commented 8 years ago
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.

Original comment by amscl...@gmail.com on 28 Mar 2010 at 1:01

GoogleCodeExporter commented 8 years ago
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.

Original comment by nikcol...@gmail.com on 28 Mar 2010 at 9:07

GoogleCodeExporter commented 8 years ago
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.

Original comment by bvanderg...@gmail.com on 28 Mar 2010 at 7:48

GoogleCodeExporter commented 8 years ago
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

Original comment by davis.b...@gmail.com on 28 Mar 2010 at 8:04

GoogleCodeExporter commented 8 years ago
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

Original comment by eldert.b...@zonnet.nl on 26 Apr 2010 at 6:13

GoogleCodeExporter commented 8 years ago
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

Original comment by Miroe...@gmail.com on 3 May 2010 at 9:06

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

/Patrik

Original comment by patrik.l...@gmail.com on 3 May 2010 at 4:17

GoogleCodeExporter commented 8 years ago
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.

Original comment by RobertDC...@gmail.com on 8 Jun 2010 at 8:14

GoogleCodeExporter commented 8 years ago
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.

Original comment by b...@5clayz.com on 10 Sep 2010 at 9:30

GoogleCodeExporter commented 8 years ago
any news on uploading file of any type? it would be really useful

Original comment by kel...@gmail.com on 28 Sep 2010 at 11:32

GoogleCodeExporter commented 8 years ago
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.

Original comment by anton.be...@gmail.com on 22 Dec 2010 at 2:45

GoogleCodeExporter commented 8 years ago
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.

Original comment by RobertDC...@gmail.com on 24 Dec 2010 at 1:02

GoogleCodeExporter commented 8 years ago
Sorry.  A more ccomplete error message:

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

Original comment by RobertDC...@gmail.com on 24 Dec 2010 at 1:12

GoogleCodeExporter commented 8 years ago
Hi Robert,

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

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

Thanks,
Anton

Original comment by anton.be...@gmail.com on 29 Dec 2010 at 9:00

GoogleCodeExporter commented 8 years ago
The problem is fixed.  Thank you.

Original comment by RobertDC...@gmail.com on 31 Dec 2010 at 10:56

GoogleCodeExporter commented 8 years ago

Original comment by anton.be...@gmail.com on 1 Jan 2011 at 5:08