LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!
get URL (curURL & "/recordings/" & GUsername &"/")
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Mark's answer is spot-on, Tareq, and while it may seem unintuitive for an "English-like" language to depend on parentheses now and then, it may help to look at it from the engine's perspective.
When the engine sees this:
get URL curURL&"/recordings/"&GUsername&"/"
..it thinks of it like this:
1. get url cURL
2. then append "/recordings/" to the result
3. and then append gUserName &"/" to it
The parens make it clear to the engine that all of that stuff after "get URL" is to be evaluated as a single string first.
With the parens, the engine thinks of it like this:
1. Concatenate curURL&"/recordings/"&GUsername&"/"
2. Then pass that to "get URL"
HTH -
Richard Gaskin LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
That was exactly my problem, thanks to the both of you. When i was outputting curURL in the message box, it looked just fine with no problems at all. However without the parentheses it did not work. Now i have one field that contains the server information that i use to connect (ftp://servername:password@server.com) , in case i need to access a different server in the future all i need is to change that information.
Do either of you know if SFTP has been introduced into runtime revolution ?
Tareq Daher (Tawaiha),
Instructional Technology, Doctoral student , UNL
Some time ago, I compiled Putty for Windows. You can use this to access an sftp server. The command utilities are available here. On Mac OS X and Linux you can also use the built-in sftp command line utility.
Best regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode