PHP scripts to download files from Google DriveСкрипт php для скачивания файлов с google drive
https://developers.google.com/drive/api/guides/manage-downloads?hl=ru#php
1. there is a folder on the Google disk in the folder is 1 file or 5 files for example.Let’s take an example with one file.I need a php script in which I will put, for example, the path to the folder => Google disk => in which the file lies; (the file has a new name every day, for example, 27,03,2023 xml, xls, etc..)I start the script, after performing it downloads the file to my server (in the root) and gives the file the right name for example 11111.
If it’s 5 files (as you’ll be easier but they’ll have to be as well named, that would be possible in the future to work with the films.. 1,2,3,4,5 as you want..)A beautiful solution in the hidden.
The task:
If you look at the screens there you will see that you need libraries and files such as:
by vendor/autoload.php
– Google Service Drive;
The Google Client;
1 .You send me an archive in which I need to submit the API key if necessary.
2ndA simple video screen with instructions how to get this key from my Google account.(To save your time and your time.)ThreeShow where in the script to insert the path to the folder and the name of the file (which will be downloaded.)I’m testing if everything works = work is done.
Domain for work and ftp prepared.2. the link with the file to the Google disk is also prepared.I will be 28.03.2023 at 11:00 a.m..
https://developers.google.com/drive/api/guides/manage-downloads?hl=ru#php
Приветствую!
Нужно сделать скрипт php для скачивания файлов с google drive
https://developers.google.com/drive/api/guides/manage-downloads?hl=ru#php
1. есть папка на гугл диске в папке лежит 1 файл или 5 файлов например.
расмотрим пример с одним файлом.
2. мне нужен php скрип в который я подставлю например путь на папку => гугл диск => в которой лежит файл; (у файла каждый день новое имя например 27,03,2023 эксель xml, xls и тд..)
3. запущу скрипт, после выполнения он скачает файл на мой сервер (в корень) и даст файлу нужное название например 11111.
если это 5 файлов (как вам будет легче но их надо както обозвать, что бы можно было в дальнейшем работать сними.. 1,2,3,4,5 как угодно..)
на скришоте изящьное решение..
Здача задания:
если посмотреть скрины там видно что нужны библиотеки и файлы такие как :
- vendor/autoload.php
- Google\Service\Drive;
- Google\Client;
1. Вы присылаете мне архив в котором мне нужно подставить ключ API если надо
2. Простое видео экрана с инструкцией как получить этот ключ с моего гугл акаунта. (дабы сэконить Ваше и моё время..)
3. Показываете где в скрипте вставить путь на папку и название файла(который будет скачан.)
4. я тестирую если всё работает = работа сдана...
1. домен для работы и фтп подготовил.
2. ссылку с файлом на гугл диск тоже подготовил.
буду 28.03.2023 в 11:00 утра..
https://developers.google.com/drive/api/guides/manage-downloads?hl=ru#php
Applications 1
Work result
Client's feedback on cooperation with Vladislav Pro
PHP scripts to download files from Google DriveThank you very much! Vladislav made the script as I asked, made a great step-by-step instructions how to use. I recommend cooperation! Happiness !
Freelancer's feedback on cooperation with Sanya Dimov
PHP scripts to download files from Google DriveThank you for the interesting project, I have not worked with Google Drive for a long time, refreshed in memory.
-
6137 142 1 1 Good day . I can do it in a half hour. He has worked with this task repeatedly. I will be happy to collaborate, please!
Добрый день. Могу сделать в течении получаса. Работал ранее с такой задачей неоднократно. Буду рад сотрудничеству, обращайтесь!
-
I'm going to make a discount because you need money urgently, write))
сделаю подешевке, потому что нужны деньги срочно, пишите )))
-
proposal concealed by freelancer
-
2305 40 3 4 Good day ! If you are interested in your project, I will be happy to work with you.
Доброго дня! Зацікавив ваш проект, буду радий попрацювати з вами.
-
705 2 0 Сделаю
-----------------------------------------------------------------------