Re: https Help Needed

2007-08-31 Thread Andre Garzia
Hey Scott, what about the following workflow, using that curl try: if the url is HTTPS try: curl -v -k -X HEAD this will just send back the header portion of a call to that url. This is good because you have the Content-Lenght and then you can later call: curl -v -k and monitor the file s

Re: https Help Needed

2007-08-30 Thread Dave Cragg
On 30 Aug 2007, at 00:53, Mark Smith wrote: BTW, what are the problems you're having with libURL and https? I had some problems with frequent timeouts, and although I've since migrated that particular app to using curl, before I did, I managed to come up with a repeat loop that kept trying

Re: https Help Needed

2007-08-29 Thread Scott Rossi
Recently, Andre Garzia wrote: > Hello Scott, > don't know if you already solved that. No, I didn't, but I was hoping you might offer a solution. :-) > have you tried: > > LibURLSetSSLVerification false Definitely. The problem seems to be that using native Rev to access a secure server is unr

Re: https Help Needed

2007-08-29 Thread Andre Garzia
Hello Scott, don't know if you already solved that. have you tried: LibURLSetSSLVerification false your cURL line below is doing just that with the -k in it. Maybe with this setting in place, everything works. Cheers andre PS: you know that TM|Colors and TM|Align are my favorite plugins here...

Re: https Help Needed

2007-08-29 Thread Mark Smith
So redirecting the output stops it blocking? Wow, I never thought to try it...thanks, once again, Sarah! Best, Mark On 30 Aug 2007, at 01:05, Sarah Reichelt wrote: I don't know anything about HTTPS so can't help you there, but I do have a technique for non-blocking shell calls which might h

Re: https Help Needed

2007-08-29 Thread Sarah Reichelt
On 8/30/07, Mark Smith <[EMAIL PROTECTED]> wrote: > Sorry, I take that back. I don't think it will work because shell > calls are blocking - your app will do nothing until the shell call to > curl is completed, appending an ampersand (to put the process in the > background) doesn't work in Rev on O

Re: https Help Needed

2007-08-29 Thread Mark Smith
Sorry, I take that back. I don't think it will work because shell calls are blocking - your app will do nothing until the shell call to curl is completed, appending an ampersand (to put the process in the background) doesn't work in Rev on OS X. BTW, what are the problems you're having with

Re: https Help Needed

2007-08-29 Thread Mark Smith
Sadly, as things stand, we can't interact with the shell on OS X (see bug 2538), so Brian's suggestion of using curl and monitoring the resulting file seems like it could work. Best, Mark On 29 Aug 2007, at 20:54, Scott Rossi wrote: Hey Rev List: I'm under a very tight deadline on an htt

Re: https Help Needed

2007-08-29 Thread Brian Yennie
Scott, How about: 1) Use curl to get the file size from the HTTP header using the -- head option: -I/--head (HTTP/FTP/FILE) Fetch the HTTP-header only! HTTP- servers feature the command HEAD which this uses to get nothing but the header o

https Help Needed

2007-08-29 Thread Scott Rossi
Hey Rev List: I'm under a very tight deadline on an https file access stack for Mac/Win. I need to download a file from a secure server to a local drive, ideally using 'load URL' so I can monitor progress. Apparently there is a bug in the SSL stuff in libURL that prevents the library from working