I' m quite sure there is no problem regarding the files I wanted to
download. What I did was the following:
1 - run the "google-dirive-init" script included in the
"net-google-drive/eg" folder I cloned from Github. This created the yaml
file from which I took a (fresh) access_token. I got the download urls
from the attached "geturls" script, a simple copy and paste from Simple.pm.
2 - download the files with curl as follows:
curl -Sv -H "Authorization: Bearer $access_token"
"
https://doc-0o-bs-docs.googleusercontent.com/docs/securesc/r1o99735rvf8kooaubt896qcull11dft/0lkhuka7gsmbnpqi4j7o4431ucgsbnk3/1395014400000/17167261938173040669/17167261938173040669/0B_NQoUcaLnLleVlvSlkxYkxsTm8?h=16653014193614665626&e=download&gd=true"
-o "outfile.mp3"
The downloaded files were not corrupted, showing that the access_token
was valid and the files well kept on the server side.
However, the files I first got after running the (attached)
"file-download" script - also included in the "eg" folder - were all
truncated. I first thought they might contain some meta-data rather than
the actual audio, but this was not the case. They were just aborted
downloads, which is indeed rather weird. I repeated the test twice with
the same result.
I have only one computer and no access to a Mac platform, however I do
have a pair of Linux distributions (Ubuntu and Mint) on bootable usb
keys. I'll try Simple.pm in these conditions in the next hours.
One question, if I may: on what platform(s) and with wich perl version
did you test Simple.pm?
On 26/03/2014 02:53, Michael_Schilli via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=93913 >
>
> On Tue Mar 25 17:37:11 2014, fjjmarques@free.fr wrote:
>> I don't think this would solve the problem in any way. I have no doubt
>> that Simple.pm does run as expected in a given context
> You're mistaken, I just wanted to verify if the problem is platform/installation specific, if it has to do with your google account, or if the adapted script (would you mind posting it, btw with the secrets removed?) is doing anything unsupported.
>
> I have no way of accessing your Google account, don't have access to your platform, and therefore can't reproduce your problem. You trying it on a different platform would rule out several possible issues.
>
>> The analogy may not be very well chosen, but if a take say a pair of
>> shoes that are not fit to me, are my feet the problem or are the shoes
> It depends, what if you wanted to wear ski boots on the beach? :)
>
>
---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com