Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunked uploads #5411

Closed
cyberduck opened this issue Nov 7, 2010 · 7 comments
Closed

Chunked uploads #5411

cyberduck opened this issue Nov 7, 2010 · 7 comments
Assignees
Labels
bug fixed googledrive Google Drive Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

e946a24 created the issue

I have a Google paid account 20GB. I loged successfully on my account through cyberduck, but, it show me no file when it lists, and there are a lot of files on my account.

I try to create a file, through cyberduck, no errors happened, but when the files are listed, there are no files, and when I go to my account online, no files were created too.

verwion 3.7 (7380)


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I need a debug log to find out the root cause of this. Can you open a Terminal.app window and paste

defaults write ch.sudo.cyberduck logging debug

Press the return key and restart Cyberduck. Then post the contents of the logging in system.log available through Console.app.

@cyberduck
Copy link
Collaborator Author

e946a24 commented

Ok, I did it just now.
Thanks!

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you try to login with a username of eduardopichler@gmail.com instead of eduardopichler.

@cyberduck
Copy link
Collaborator Author

e946a24 commented

Now it worked. But I think the original problem I reported is still a problem. The software must don't log in with my first login information.

And putting the @gmail.com as sufix, I logged, but trying uploading a folder, problems occured, and not relevant information about the erros is showed me. I don't know if is some kind of encoding problem, I'm sending the updated logs in attachment.

Thanks for the support.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Replying to [comment:5 https://www.google.com/accounts/o8/id?id=aitoawmd5-s0nyoxxntwkcx331bfwczmfvuyg0c]:

Now it worked. But I think the original problem I reported is still a problem. The software must don't log in with my first login information.

And putting the @gmail.com as sufix, I logged, but trying uploading a folder, problems occured, and not relevant information about the erros is showed me. I don't know if is some kind of encoding problem, I'm sending the updated logs in attachment.

Thanks for the support.

There is an issue with this upload that too much memory is being allocated. Will have to make sure we used chunked uploads or make sure the HTTP connection knows the content length in advance to set the Content-Length header without internal buffering.

11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	2010-11-13 11:01:42,346 [pool-1-thread-11] ERROR ch.cyberduck.ui.AbstractController - Excpetion running background task:Java heap space
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	java.lang.OutOfMemoryError: Java heap space
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at java.util.Arrays.copyOf(Arrays.java:2786)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.io.ThrottledOutputStream.write(ThrottledOutputStream.java:78)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.Path.transfer(Path.java:810)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.Path.upload(Path.java:721)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.gdocs.GDPath.upload(GDPath.java:550)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.Path.upload(Path.java:681)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.UploadTransfer.transfer(UploadTransfer.java:389)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.Transfer.transfer(Transfer.java:442)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.Transfer.transfer(Transfer.java:531)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.core.Transfer.start(Transfer.java:632)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.ui.cocoa.TransferController$4.run(TransferController.java:680)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at ch.cyberduck.ui.AbstractController$1.run(AbstractController.java:73)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
11/13/10 11:01:42 AM	[0x0-0x158158].ch.sudo.cyberduck[2924]	        at java.lang.Thread.run(Thread.java:680)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Validate email address in user credentials in 3fba3ce.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Use chunked uploads. In 6745eb8.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed googledrive Google Drive Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants