Re: FTP problems

2010-12-10 Thread Andre Garzia
Folks, There is nothing magical about browsers opening FTP servers. Just like we can put URL, so can browsers. The trick is knowing which protocol to use. If you access a URL with ftp://... then you will be doing FTP if you access the same server using http://... then you will be looking for a web

Re: FTP problems

2010-12-10 Thread Ben Rubinstein
On 10/12/2010 18:43, Bob Sneidar wrote: Well now wait just a doggone minute here! The only reason FTP works with browsers is because the browser is written to do so. We have no guarantee that the GET/PUT URL command in Livecode is written to do so! Except the documentation. _

Re: FTP problems

2010-12-10 Thread Andre Garzia
Folks, The FTP server is not recognizing the PASS command for sending password. After USER anonymous command it logs you in without waiting for a PASS command. It answers the PASS with 500 and thus Rev engine stops processing. if you want to have some fun with this: go stack url "http://dl.dropb

Re: FTP problems

2010-12-10 Thread Bob Sneidar
The reason I think that this is not the case, is because the result of the command returns an error 500 Unknown command which is an FTP response, not an HTTP one. Bob On Dec 10, 2010, at 10:40 AM, wayne durden wrote: > I wonder if perhaps the first three characters of the url also being "ftp

Re: FTP problems

2010-12-10 Thread Bob Sneidar
Well now wait just a doggone minute here! The only reason FTP works with browsers is because the browser is written to do so. We have no guarantee that the GET/PUT URL command in Livecode is written to do so! I suspect if there was a web interface to the FTP server, it would work a peach! Bob

Re: FTP problems

2010-12-10 Thread wayne durden
I wonder if perhaps the first three characters of the url also being "ftp" may be involved. For instance, if there is logic in the engine which for some reason might first strip the original ftp off the url to establish the protocol, but then is recursively called or otherwise checking the remain

Re: FTP problems

2010-12-10 Thread Colin Holgate
On Dec 10, 2010, at 1:15 PM, J. Landman Gay wrote: > > I'm not sure why, but your server isn't accepting the URL. But it does work in a browser. What could cause it to work ok in a browser, but not from the message box? ___ use-livecode mailing l

Re: FTP problems

2010-12-10 Thread Bob Sneidar
But oddly, if you just enter the URL into a web browser you get the contents of the file without any authentication. Bob On Dec 10, 2010, at 10:15 AM, J. Landman Gay wrote: > On 12/10/10 10:26 AM, Joseba Aguayo wrote: >> Hello: >> >> Why this sentence not run : >> >> put URL >> "ftp://ftp

Re: FTP problems

2010-12-10 Thread J. Landman Gay
On 12/10/10 10:26 AM, Joseba Aguayo wrote: Hello: Why this sentence not run : put URL "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt"; into msg Often you need to supply a user name and password for ftp access. I tried this: get "ftp://ftpdatos.aem

Re: FTP problems

2010-12-10 Thread Mike Bonner
Strangely, gives a 'command not found' in the result. Definitely weird. On Fri, Dec 10, 2010 at 10:42 AM, Bob Sneidar wrote: > I have no idea. When I put the URL into a web page it works, but no form of > put or get I tried returns anything. > > Bob > > > On Dec 10, 2010, at 8:26 AM, Joseba Agu

Re: FTP problems

2010-12-10 Thread Bob Sneidar
I have no idea. When I put the URL into a web page it works, but no form of put or get I tried returns anything. Bob On Dec 10, 2010, at 8:26 AM, Joseba Aguayo wrote: > Hello: > > Why this sentence not run : > > put URL > "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estac

FTP problems

2010-12-10 Thread Joseba Aguayo
Hello: Why this sentence not run : put URL "ftp://ftpdatos.aemet.es/series_climatologicas/valores_diarios/estacion/LEEME_DATOS.txt"; into msg Un saludo. Joseba Aguayo Fernández (jagu...@telur.es) ___ use-livecode mailing list use-livecode@lists.r