Given: working access to Google Drive with some Folders with Space in Name
Problem: The query:
name='07 Dirname' and mimeType='application/vnd.google-apps.folder' and '0B22uLx7BCvv9T0FWRmNaREY4VEE' in parents and trashed=false
does not work over the API, but does if the dir is without space in it. The query does work however if you run it from the API-Explorer which provides as hint: This parameter was URL encoded.
However when I encode the name field with url.QueryEscape or url.PathEscape the folder can not be found. As far as I understand it its not necessary to encode the whole query, just the param, but how?
Thx.