How to get the local file path to upload to hosting account?
Posted: Fri May 01, 2009 11:31 am
Hello,
I wish to upload a specific file under the application root folder (e.g. data/myfile.txt) to my hosting account. Please advise how to get the path of the local file.
I wish to upload a specific file under the application root folder (e.g. data/myfile.txt) to my hosting account. Please advise how to get the path of the local file.
Thanks and best regards## This must be wrong. Please help to correct it
put ("data/myfile.txt") into tFilePath
## Get the server path
put fld "server_path" of card "upload" of stack "main" into tServerPath
## Upload to server
libURLFTPUploadFile tFilePath, tServerPath