I went to tools for shared documents and saved a text file there. It is owned by me and shared by me, no other settings. File name is RemoteFile.txt. I can view the text document when I am logged in.
I am trying, with no success to use HTTP to copy file contents as a variable to my local system.
Code: Select all
Let>RemoteName=MyName
//Let>[email protected]
Let>RemotePwd=MyPassword
Let>RemoteURL=https://docs.google.com/document/edit?id=1pmZKqIV9nt-Irm16WoUXyjEKQhX0oEceef8Fpn4NPoA&hl=en#
//Let>RemoteURL=Let>RemoteURL=https://%RemoteUser%:%RemotePwd%@docs.google.com/document/edit?id=1pmZKqIV9nt-Irm16WoUXyjEKQhX0oEceef8Fpn4NPoA&hl=en&pli=1
HTTPRequest>%RemoteURL%,,GET,,RemoteFileText,,
I just get a 404 error for RemoteFileText.
=============================
If I use the browser and just copy the URL, I am brought to a login screen and prompted for the name and password, and then the document opens up for reading. But I cannot get the syntax correct for HTTPRequest/GET. I also tried some variations of FTPGetFile with luck. Really want to use HTTP, Want to work in background and not create any files on local system, just want the variable for parsing and processing.
Suggestions, please?