How to import Google Drive IP including subfolders into select option

Hello,

I want to create a directory selection option to upload files to Google Drive
Example:

<select name="google_drive_directories" size="1" required="">
    <option value="">&nbsp;</option>
    <option value="aaaa_id">AAAA</option>
    <option value="bbbb_id">AAAA/BBBB</option>
    <option value="cccc_id">CCCC</option>
    <option value="dddd_id">CCCC/DDDD</option>
    <option value="eeee_id">CCCC/DDDD/EEEE</option>
    <option value="ffff_id">CCCC/DDDD/EEEE/FFFF</option>
    <option value="gggg_id">GGGG</option>
    <option value="hhhh_id">GGGG/HHHH</option>
    <option value="xxxx_id">XXXX</option>
    <option value="yyyy_id">YYYY</option>
</select>

The value in the select option must be the last directory ID of the path
I want to create a select option as above and thus it will be possible to upload file(s) to the selected directory.

I looked a lot on the internet but couldn’t find it

Sponsor our Newsletter | Privacy Policy | Terms of Service