Hello
Just gave Xojo Could a try… I would like to read a file localized on Xojo Cloud Server into a FolderItem, needed for the establishment of an external MySQL connection via SSL/TLS (secure layer) directly from the Cloud Server…
The necessary file(s) (i.e. the certificate file with the extension PEM) is located in a specific directory of Xojo Cloud.
How to define correctly the path description to get the file on Xojo Cloud Server?
All my attempts did not work till now … and I do not find very helpful information in the documentation Xojo Cloud.
Thanks in advance for any helpful advice.
Best regards,
Marco
Example 1 for local computer works fine:
Reading the content of a file ‘key.pem’ into keyFile defined as FolderItem… located in /Users/marco/myfolder/ (local computer)
Dim keyFile As FolderItem
keyFile = New FolderItem("/Users/marco/myfolder/key.pem",FolderItem.PathTypeShell)
db.SSLKey = keyFile
Example 2 for Xojo Cloud Service …
IP Adress for example: http://46.101.123.456
Directory on Server : /elexis
Filename: key.pem
Dim keyFile As FolderItem
keyFile = New FolderItem … ??? —> which description is needed here?
db.SSLKey = keyFile