Re: And What About the Internet Date and Time?

2011-08-19 Thread Gregory Lypny
Hi Peter, Yes, seconds converted from UTC is the only reliable timestamp. I asked about time zone settings in local machines for display purposes. We may have a timestamp that is absolutely correct but if that is to be displayed for the user in a LiveCard app on their local machine, say as a

And What About the Internet Date and Time?

2011-08-18 Thread Gregory Lypny
Hello again everyone, Okay, please don’t hate me. I'm still trying to nail down a reasonably accurate system-independent date and time stamp to use in my student client app that will submit and retrieve data from my Mac. I will post a modest enhancement to Stephan Barncard’s excellent

Redux - Getting the Date and Time From the Internet

2011-08-18 Thread Gregory Lypny
Hello everyone, Here is a small enhancement to Stephen Barncard’s handler. If you call the function with the option “report” as in put nistTime(“report”) into field “Date and Time” you’ll get a summary. Set the field’s tabstops to 380 for a nice display. After playing with it, I’ve come to

Re: Grabbing the Date and Time From a Time Server on the Internet

2011-08-17 Thread Gregory Lypny
that defeats the whole purpose of a RealTime function. Going to have to do a bit more research. Bob On Aug 16, 2011, at 9:33 AM, Gregory Lypny wrote: Hi Bob, Good summary, Bob. It summarizes nicely the issues that I?m dealing with in creating a client-side student helper app. Your

Re: Retrieving Date and Time From a Remote Computer

2011-08-17 Thread Gregory Lypny
Hi Jacqueline, Yes, the date and time must be embedded in the file. An example would be that of subjects participating in an experiment where the client app is the vehicle running it. The app may be a simple questionnaire or a simulation that tracks their choices and activities. The

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-17 Thread Gregory Lypny
Thank you, Roger. This ought to do the trick! Regards, Gregory On Tue, Aug 16, 2011, at 6:46 PM, use-livecode-requ...@lists.runrev.com wrote: If all you need is the modified date/time of a file from an FTP site, the MDTM command works well. put libURLftpCommand(MDTM pathToFile,

Re: Retrieving Date and Time From The Internet

2011-08-17 Thread Gregory Lypny
Much obliged, Scott. Gregory On Tue, Aug 16, 2011, at 6:46 PM, Scott Rossi wrote: A fun challenge. Here's one option, limited to a single time (US Eastern), with no guarantee of reliability (can any Web-based service truly claim this?): function timeStamp put url

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-17 Thread Gregory Lypny
Hi Andre, Sorry, I made a mistake: there are no timestamps for files that have never been modified. Gregory On Tue, Aug 16, 2011, at 6:46 PM, Andre Garzia wrote: Message: 9 Date: Tue, 16 Aug 2011 15:08:02 -0300 From: Andre Garzia an...@andregarzia.com To: How to use LiveCode

Ask Password and Login Screen

2011-08-17 Thread Gregory Lypny
Hello everyone, I’m building a startup stack with a sign-in requiring a user ID and password. I would use LiveCode’s built-in Ask Password command but that provides only a password field. What I have so far is fine except that I’d like to be able to provide privacy for the entry of the

Re: Retrieving Date and Time From The Internet

2011-08-17 Thread Gregory Lypny
Hi Stephen Barncard and Andre Garzia, Cool functions! Thank you for sharing. Never thought my original question was going to kick up so much dust! Gregory ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Ask Password and Login Screen

2011-08-17 Thread Gregory Lypny
Thanks Devin, It’s exactly what I need. I’ll play with the handler in the behaviour button a bit so that it distinguishes between the user ID field and the password field. Regards, Gregory On Wed, Aug 17, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Gregory, I have

Retrieving Date and Time From a Remote Computer

2011-08-16 Thread Gregory Lypny
Hello everyone, Another date and time retrieval question: How can I retrieve the date and time from my remote Mac? Regards, Gregory ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Gregory Lypny
Hello everyone, Can the Detailed Files function be used to get file information from a remote Mac or am I limited to the listing provided by put url (“ftp://...”)? Regards, Gregory ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Gregory Lypny
Thanks Andre, Much obliged. Gregory On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 22 Date: Tue, 16 Aug 2011 12:20:35 -0300 From: Andre Garzia an...@andregarzia.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Using the

Re: Grabbing the Date and Time From a Time Server on the Internet

2011-08-16 Thread Gregory Lypny
Hi Bob, Good summary, Bob. It summarizes nicely the issues that I’m dealing with in creating a client-side student helper app. Your RealTime function works nicely. The only thing missing is the year, which again, is something that a user could set manually. Regards, Gregory On Tue, Aug

Re: Retrieving Date and Time From a Remote Computer

2011-08-16 Thread Gregory Lypny
Hi Bob, No, just my office Mac a few kilometres away. I was thinking of other ways of not relying on the date and time settings of users who would FTP data to me. If my client app can grab the date and time from my office make, then I have a consistent timestamp that I can rely on. Gregory

Re: Retrieving Date and Time From a Remote Computer

2011-08-16 Thread Gregory Lypny
Hi Stephen, Yes, and Bob Sneidar has kindly provided us with a function that does that (see Re: Grabbing the Date and Time From a Time Server on the Internet”). The only thing it lacks at the moment is the year. I asked about doing the same with a remote computer only to explore an

Re: Using the Detailed Files Function to Get Info From a Remote Machine

2011-08-16 Thread Gregory Lypny
Thanks Andre, The LIST option returns what url (“ftp://...”) does in the absence of libURLSetFTPListCommand, so I guess the idea of the command is to toggle between LIST and NLST. Unfortunately, neither returns the creation or modification dates of the files. Regards, Gregory On Tue, Aug

Re: Grabbing the Date and Time From a Time Server on the Internet

2011-08-15 Thread Gregory Lypny
Thanks for this, Bob. I did some more poking around myself and this seems to work. Not too difficult remove the HTML. on mouseUp put url (http://tycho.usno.navy.mil/cgi-bin/timer.pl;) end mouseUp On Mon, Aug 15, 2011, at 3:45 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 3

Re: Grabbing the Date and Time From a Time Server on the Internet

2011-08-15 Thread Gregory Lypny
Thanks Stephen, I too came across this one today. Looks pretty easy to parse. Gregory On Mon, Aug 15, 2011, at 3:45 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 14 Date: Mon, 15 Aug 2011 11:57:24 -0700 From: stephen barncard stephenrevoluti...@barncard.com To: How to use

Re: What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-14 Thread Gregory Lypny
Agreed. And I don’t think it would be a stretch for the Rev team to throw an SFTP command into LiveCode. Gregory On Sun, Aug 14, 2011, at 10:01 AM, use-livecode-requ...@lists.runrev.com wrote: Certainly the more protocols supported, the better ;) Since Apple could have used SFTP earlier,

Re: What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-13 Thread Gregory Lypny
That would be great, Andre. Gregory On Sat, Aug 13, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: I have a barely working SFTP external for mac will release an alpha soon. :-) PS: On the end of my vacations, that is why I am silent...

Grabbing the Date and Time From a Time Server on the Internet

2011-08-13 Thread Gregory Lypny
Taking another kick at the cat here. I’d like to use something like get url (http://[time server address]) to grab the current date and time from an official time server. This would be used in a LiveCode standalone distributed to collaborators and grad students who would use it to

What to Do Since FTP No Longer Supported in Mac OSX Lion?

2011-08-12 Thread Gregory Lypny
Hello everyone, I was building a nice app with LiveCode the other day. It used PUT URL and FTP to download files from my remote Mac. Worked like a charm until yesterday when I updated the OS on the remote Mac to Lion. Now I get socket timeout messages. I then read on the web that FTP is

Storing Data in Standalone Apps

2011-08-11 Thread Gregory Lypny
Hello everyone, My apologies in advance for the lame question but I need a little refresher as it has been ages since I’ve deployed standalone apps. To save data in them, and that would include custom props, I need to do it in stack files that are not sub-stacks of the main stack. In other

Re: FTP To and From My Mac

2011-08-10 Thread Gregory Lypny
Hi Dave Cragg and Mark Schonewille, Thank you both for your responses. Problem solved with a unexpected fix! I tried all of your suggestions, learned a lot about the various libURL commands, which will be useful in my project, but unfortunately, none solved the problem not being able to

Questions About LiveCode Apps That Connect to the Internet

2011-08-10 Thread Gregory Lypny
Hello everyone, I’m building a standalone for my students. It will allow them to upload quizzes and small assignments to my Mac via FTP as well as participate in various experiments and surveys. I have a few Internet-related questions that I hoping someone can answer. Is there a handler I

FTP To and From My Mac

2011-08-09 Thread Gregory Lypny
Hello everyone, I’ve got my Mac at work running as a server of sorts and would like to be able to read and write files to it via FTP. I used the simple GET URL command below and it worked for a 6 KB file but not for a 200 KB file. get url

Rev Customer Databased Hacked?

2011-07-11 Thread Gregory Lypny
Hello everyone, Have any of you received this message from Heather? Implications? Gregory Dear Gregory Lypny, I need to inform you that over the weekend we experienced an attack on our customer database. Although we caught this very quickly I regret that some information may have been

Part II of Re: On-Rev Web Form Dropping Data

2010-12-02 Thread Gregory Lypny
Hi Everyone, Yesterday I posted a long question (sorry about that) concerning data lost from a web form submitted through my On-Rev site, where two students appear to have submitted quiz answers from the same IP address at virtually the same time. Bob Sneidar replied asking whether I had

<    1   2