How can I download & install ch1 file from GoogleDrive?
-
@d-healey I'm using your excellent download tutorial snippet and expanding it with functions to generate direct download links.
I have only success with dropbox files so farHiseSnippet 2004.3ocuY01aabiDdWmroYUdAM.G5GuxpCHPA0QVtMW6gZ3ZYaIYHTaKAK2z1OkPsKkDQVQJrKW+RCLP+mk9So+D5+f6Fxc4tTx6Zo3KIx.FhCmgyyL7gCeQ8C4djnHdnks6oWNiXY+PmAWxDS1eBlxr51xx9KbZwOmEvw9nQg7onHR3YjPq8tbFNJh3aYaemCj5Z6dWK0m+dm8vAXlGIWjk0K4TOxgzoTQtz9M+IZPPGrO4T5TCseQytdb197.dLfq63zvZF16M3wjiwR0Vywx9ds8oBd3.AVPhrru6db+KGLAvYh9ujFQGFPjM1zZ.LPIh6vC7kHVJ0Z+Iz.+953OxBFk94Yi6jjM9GNGQ8oYxyyJetpCTtEl4C60lGd2YN3soI7ZX.uBfjsAjtaBjdhy.uP5LQdOR77.mtLAIbDFR6lPIQWq09WO1YeNnASTeJ9MjNgPiLKp8cMZrNB92y1pREH0GIPmgCQGPXjPHB7+4SNDsMRa+XhXe9zYbFznVUSkpB1madebzRrMSi4MrCMPMUWpcZEjloAreJIMRMIGB1J0ZvkfGlJMOQbMCgZZcjbTBIiQyvwQRmNBGDQ1RIBOjGJlWj1QfQCTKEp6EPvrNTFMZBwOaTqIG1M1.MTv.dPnHEm5lkFbZEjAm960ijpvDg7f8wAACgkC03Lcuo8H8GkEPYDznXlmfxYnqoTMOsmVGx0AwjmU4sUboiP0Ra4BMcijVniDYf3dUkqzQSeYZJOZ5ml0JMZTJjFMpuKilWJ8VsFKHsVUA4BQ00QUKznBSApdWVJvTokmBbULg4lIcI.A.5IjDEOcgtbq3prDs81nFncPYieggD5GJSgSTisLnyx06J4e445cSoiklqUJjl1Teuzzlp2kk1LUZ0XNpELymdzTmNoCcz0c1B7M4.uvhQ2EVIB47zUeP.tGNh.UQpUchPL6G1XCYBvMf6gCPwgAfQlEojIsD1WtVi.cVn.hJ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1Tx2T1LveNr44TewjLAM+ilSHzwSLdoneLEveoyAsOt8I6BmYoU2SZu+onV89kiOr2tsTEbsFADnAze23sjZzj.TZrh0daf8lkAaqtqNrenS94rduv38KCiOvIqFeo.7zUAfCGqemM268t28tSjRS.8ZNVEjtJfvAqJS1RrLj7GiVDIu9ZHoUyOHjvBf2ibLpFa.Q.UeZg38KmvYtgVoqSB9XLetD5+2VZcyYqN8+ANc5BGL53cOp8GF1eEG8gGMmOwlIqvEfmk38JYUwA1.TTel+naQR6Ekkzd8EqdR6e57bj9urhbYhVdd75Ob7m6bD2ON.Kl+crkOdeZGvgDl6wikOPLKhJtz7w8+f831qJDehSepvaRwXbsBvHbThOFXL8mD3QNsGMBNkYN.uqSme8iy6+acBOV.Gu9HLbJafT4bb7zA.g0i.dmwfC1BxrWSdbpj1MjskYfADlupw+E9j14lx11octotSqoXuP9q7RNZn7Gc39JI.lXpeuEWmijsQaZoNtHXmSi5MrlB08dkmmL7eNbBuhs4atE17s2Badwsvl+8svlu6VXy2eKr4+bi1H2xY2XAeZxxAPP+1pyPaa2VsmjhEZ8+.rONvF
-
@ulrik Can you share the google link that works in the browser but not in HISE?
-
@d-healey this will download directly from a browser:
https://drive.google.com/uc?id=1-4FH3bPTd47SwtHKq0uLdPCjpgXxBSfP&export=downloadand it's based on this shared link:
https://drive.google.com/file/d/1-4FH3bPTd47SwtHKq0uLdPCjpgXxBSfP/view?usp=sharing -
@ulrik said in How can I download & install ch1 file from GoogleDrive?:
@d-healey this will download directly from a browser:
https://drive.google.com/uc?id=1-4FH3bPTd47SwtHKq0uLdPCjpgXxBSfP&export=download -
@Dan-Korneff your example does not lead to the file, and if you "save link" you'll get a html doc with 0kb
-
@ulrik ahh.. probably because the token expired
-
@ulrik Dan is correct. It is redirected. I think it's a dynamic link though so it will change every few minutes or something. Here is the one I got
https://doc-0k-6c-docs.googleusercontent.com/docs/securesc/9c5r0blcvd1hlunqpbp6ue03svav510n/584jmhbt3pme2a1612kl1cv7gj4lgbdt/1678793100000/01070917404772543027/03758467496833373845/1-4FH3bPTd47SwtHKq0uLdPCjpgXxBSfP?e=download&ax=AB85Z1B_72htPnMqxGVqcwB_pq5YMiydpox-GCodnoDX9oOeB1ZopMCOk5m3JTeihuKIJAwXHuetInXYdpLOwHa3twjhwKP5IS_K-KzOzUT0_tcgsmykLqlM8V4oWx0P72ievXtjzdgvRtd7tpYCtFwhdUjAF9wk2Qto24fo1QJ1jbakA0y9Sj8Nca4q83LL79kK_j6HPps2RTQ4yhe9AHhOmh4nstAyj1vN2pkMZ-SLDKiE0gPv8vUtOi43FuFuw5SkegUoRJGnR8a9hmDLi08vmFnCvdRDimmlLbghsZWrifV0McxhQp7ZoHI3ou4_UqS1n9wOCBEYopV8wZHzXAeX8X1vnZGLuupXM_DHWBBrQRYB420131m69jyFKuY6ZX11yW_otrdW6JwgLApevb-HcJxdDCw6dCjbGDmlM3Jp-0zRtLOeHZRkKqh9Mnya3F3vCkMcujGgzPjQD4QFpMM81t0cvWeCavPQUbt78-eAciUXGUAJr_luxPbPoonT7vZ0elH_K49wXYYEz2NIA6WocigDr5ZPllr6R_zI1JtAXUbBxeYQnhOL7srwfhZ4UqfwHb55Rosdain8KJgF_kteoSPhcjmLkhui8-Pg2dZpWbaRzJPa9i_9AkKihmv2JwYbinwrwXc5LzZ9lmhakHRhCprkvkOHOHxBmTGnNv4TyU3STVUJAtjP8htl9RP8e7ZzCuvz-rCgMlq8BZDjGucjBfflvtWx89Nv5QujDmYFFqUmk7apeCET2rji-wuKP5ZtiRpu4u--VQubONXYLRzOfVLQbRNGTjogZY4afKLXxXSdJqlHrO1MCq4Tnupn3aFcm49rPKH9qhQa9aRZfHQtr6eurtp9HebipsbHNR2IELRDiPW7rLvL2ei3IaROPVcyeWu3SpczZEJ3vI5JKwn3DxL3hw7AL1WRmeo&uuid=eb814f76-8361-4a38-9d11-f1ef6d93428b&authuser=0&nonce=ft6iqpijmo97g&user=03758467496833373845&hash=1k5bgo6hkq9n1ang3v8a8a6ljhaaucmu
-
@d-healey that doesn't work here either, have you used "Expand Link?
-
What about this:
https://sites.google.com/site/gdocs2direct/ -
@ulrik As I said, it will keep changing because it's dynamic. You can get the true link by opening your list of downloads in your browser, right-clicking on the download and selecting copy link (or whatever your browser calls it).
-
@Dan-Korneff Yes that will work in a browser, but if you use the generated link inside Hise, it will not work
-
@d-healey Yes but why is it not possible to use the "redirecting link" inside Hise?
-
@ulrik I can of course use
Engine.openWebsite(directlink);
with googledrive links, that will work :)
-
@ulrik but it would be nice to be able to control where to download the file, resume, cancel etc...
-
@ulrik I'm guessing the JUCE downloader thing doesn't follow the redirect.
-
What I have encountered that every time Mediafire is generating a new download token under the original Direct Download link. If I use the server download link it won't work. And HISE direct Download link doesn't work. So mediafire for HISE is a very bad choice.
Pcloud is working for 2days. I don't know if it generate new encapsulated link after somedays, HISE may not download it from it's server, I am guessing.
-
@DabDab If you are using files in the public folder in PCloud it will work forever.