Thanks a lot Klaus.
Adding QUOTE works perfectly. As well as using the function you've wrote.
...
put QUOTE & "/Users/me/Documents/test v1/test with spaces.html" & QUOTE into tFile2Touch
get shell("touch -mt 201201010000" && tFile2Touch)
...
Hello, I'm new with Mac OSX and Live Code and would like to know how to change a file’s last modified on Mac OSX. I tried the command below but it seems it doesn't work: - launch touch -mt 201201010000 "/Users/ me /Documents/test.html" with "/Applications/Utilities/Terminal.app" Could you kindly hel...
Hi, I am new and would like to know how can I find in the field using a wild cards, such as * or ?. (In other program, * is equivalent to any characters or number in any numbers and ? is equivalent to any char or number for 1 character.) For example, I would like to find string in field Filenames en...
Thanks Klaus :). Now it's working in Windows. This is my first time to do this kind of programming. In my other program, it's synchronous so I can debug line by line but using LiveCode, debugging under callbackMessage stops the loop (which I think happened to me when I debug it and thought that it w...
Hi Klaus, I've implemented your code and it's now working - downloading then afterwards, update the file's modification date. Thanks. Now, I don't know where to put the command - answer "Download completed!"? Is there a command or function when the callback function ends? We have noted that "Downloa...
Thanks again Klaus, I will try your suggestion later. I'm a bit confused about putting all the code under the case "cached" and not under "downloaded". Is it correct? Anyhow, I was also looking on the command "wait until the status is downloaded", see code below. But it was hanging. I was trying to ...
Thanks Klaus for the code. I've inserted it into my code, run, then it gave me the same result as before, it downloaded all the files but didn't update the modification date. When I trace the value of tDownloadstatus, it contains "downloaded" (not "cached"), so I changed it, see code below. Run it a...
Hi FourthWorld, at the moment, I have no plan to support drag-and-drop ... Klaus, I'm almost complete with the ftp download, that is to read the files and folders recursively, extract, compare dates and download the file and then update the modification date by touch.exe. During my debug, the flow i...
Thanks a lot for your help, Klaus. I will try to use the commands you've mentionned, it may take some time for me to do it as I am still new with LiveCode but hope will complete it. BTW, I've already made this program but using other Windows program (no output to Mac) and I've also used the touch.ex...
Last week, I bought a license of LiveCode 4.5.2 which I would like to test for my first project. My project is to create a download utility from our ftp. I don't know where to start, but basically, I would like to download all the files/folders (including files in the subfolders) in our FTP site on ...