Search found 34 matches

by spartacus
Sun Dec 04, 2011 6:30 pm
Forum: Tonido Platform Development
Topic: downloadaszip
Replies: 20
Views: 12827

Re: downloadaszip

It seems that when I try to downloadaszip immediately after getting the go-ahead from zipstatus , nothing is sent. In the log, I see the downloadaszip request BEFORE tonido says compression finished, even though it was sent AFTER zipstatus returned result=1. Is this normal? How long a delay is neede...
by spartacus
Sat Dec 03, 2011 8:43 pm
Forum: Tonido Platform Development
Topic: downloadaszip
Replies: 20
Views: 12827

Re: downloadaszip

My bad:
un-retrieved zip files were accumulating in the directory - hit the 500Mb limit...

Regards,
by spartacus
Sat Dec 03, 2011 7:08 pm
Forum: Tonido Platform Development
Topic: downloadaszip
Replies: 20
Views: 12827

Re: downloadaszip

Well, no one said it would be easy... Turns out, the correct HTTP Range header is: Range: bytes=0,xxxx However, Action Script disallows the HTTP Range: header (among others). Fortunately, Tonido accepted the header without the semicolon, so downloading partial content works. Now, I'm trying to read ...
by spartacus
Fri Dec 02, 2011 8:57 pm
Forum: Tonido Platform Development
Topic: downloadaszip
Replies: 20
Views: 12827

Re: downloadaszip

fixed:

Code: Select all

[ Range ] = bytes=393989147-733943807
[ Content-Range ] = bytes 393989147-733943807/733943808


guess that is what RFC is for... :)

Regards,
by spartacus
Fri Dec 02, 2011 8:34 pm
Forum: Tonido Platform Development
Topic: downloadaszip
Replies: 20
Views: 12827

Re: downloadaszip

does not seem to work:

request header:

Code: Select all

[ Request-Range ] = bytes 231291139-733943807/733943808


response header:

Code: Select all

[ Content-Range ] = bytes 0-733943807/733943808



BTW: using Action Script 3.0

Regards,
by spartacus
Fri Dec 02, 2011 5:36 pm
Forum: Tonido Platform Development
Topic: downloadaszip
Replies: 20
Views: 12827

Re: downloadaszip

thanks for the quick (unwanted) response :)

is there any way to compress and download larger files?

also: is there any way to start downloading from an arbitrary position in a file
e.g. in case transmission was interrupted.

Regards,
by spartacus
Fri Dec 02, 2011 4:42 pm
Forum: Tonido Platform Development
Topic: downloadaszip
Replies: 20
Views: 12827

downloadaszip

Is there a size limitation for this api call - it seems to fail for directories containing large files (such as avi)

Regards,
by spartacus
Fri Nov 11, 2011 6:06 pm
Forum: Tonido Platform Development
Topic: Tapping into core/download?
Replies: 7
Views: 7679

Re: Tapping into core/download?

yes, very nicely. 1. Flash docs give conflicting info: FileReference says to pass variables in the request.data, but URLRequest says contentType not used for upload/download... I haven't checked what is actually sent, but it says the parameters are passed as part of the multi-part form, so I suspect...
by spartacus
Fri Nov 11, 2011 11:21 am
Forum: Tonido Platform Development
Topic: Tapping into core/download?
Replies: 7
Views: 7679

Re: Tapping into core/download?

Thanks for responding.

Turns out that Flash ignores the

Code: Select all

contentType
for some requests (including upload) so no parameters were being sent.
by spartacus
Thu Nov 10, 2011 5:04 pm
Forum: Tonido Platform Development
Topic: Tapping into core/download?
Replies: 7
Views: 7679

Re: Tapping into core/download?

Hi; I'm using Flash, connecting to my Tonido plug. So far, the docs have been great and I can authenticate and download things including images and music. But... the upload doc is missing from the API. Thanks to this thread, I did find it, but can't seem to make it work. I'm connecting to the plug o...

Go to advanced search