This, below, is commented in the google apps script:
//uploadFile(e.parameter.name,e.parameter.data,e.parameter.mime)
//Note: the webviewer can only handle file sizes of @ 1.2mb
//(when in base64String), for larger files,
// temporarily change folder permissions to anyone_with_link,
//step outside the framework and use the web component
//to upload, then back into the framework to reset permissions.
//For root folder you will need to upload to another folder, then move to root.
nothing I can do about this, the webviewer can only handle a url of a certain size.
thanks for the information.
It's a shame that this restriction exists to WebViewer.
Do you have an idea or a link how I can copy larger files?
(//for larger files, temporarily change folder permissions to anyone_with_link,
//step outside the framework and use the web component
//to upload, then back into the framework to reset permissions.)
encode the file to base64String (you can add additional if/else blocks to the encode event, using the setting of the action variable, so that you do not have to drag in another copy of the extension)
POST the file with the required parameters to the script web app
Bear in mind that Google/Google Drive does not always behave in the way we may expect, it may not be happy with uploads of files over 25mb, or too many uploads in a particular time period.
######################
######################
Not sure what you mean by this, you should be able to upload a Pictures.zip file to a folder in the same way.
The runtime error indicates a problem with your blocks, not sure where it is coming from, because you were getting this error before the last set of changes. It is possibly the second instance of GDConnector?