To download a file from Google Drive, use the Google Drive API: https://developers.google.com/drive/v2/web/manage-downloads