title: How to get fileID from a pdf file from it's URL with google apps script?
body: <p>I'm trying to write a script which let's users upload files to a specific folder. They would give the URL of the file they upload in a form (the directory link is available in the form where they should upload files). How can i get the file ID from the URL? The next step would be to create a folder that matches the rowID of the submitted form entry and move the file in that folder, set permissions etc. I can create folders but have no idea how to get the fileid from the url.</p>