<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
----- Message d'origine ----- <br>
De : Samuel Gougeon <br>
Date : 21/04/2010 09:48:
<blockquote cite="mid:4BCEADCD.6010307@univ-lemans.fr" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hello,<br>
<br>
----- Message d'origine ----- <br>
De : H Carl <br>
Date : 20/04/2010 16:04:
<blockquote
cite="mid:q2y8c1a2be91004200704la2dd2403hd28df6549eafdd84@mail.gmail.com"
type="cite"><span class="Apple-style-span"
style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">I
have been unable to find any SciLab commands that would allow
reading/writing to a url. Does that possibility exist? It would be
very helpful for taking advantage of a site's webservices.
<div>Thanks.</div>
</span></blockquote>
You can use Curl that is embedded into scilab.<br>
If you are using Scilab under Windows, here is an example :<br>
URL=<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www-cgi.uni-regensburg.de/WWW_Server/Dokumentation/misc/CURL/curl.pdf">"http://www-cgi.uni-regensburg.de/WWW_Server/Dokumentation/misc/CURL/curl.pdf"</a>;
<br>
filename="curl_manual.pdf";<br>
rep=unix(SCI+"/tools/curl/curl -o "+filename+" "+URL)<br>
The file targetted by the URL will be recorded into the specified local
file.<br>
If you are using another operating system, you just have to customize
the<br>
path leading to the curl executable file.<br>
</blockquote>
After the Sylvestre's remark, please note that, like it is presented on
the curl main webpage,<br>
and like Scilab, <br>
<p><i> Curl is free and <a
href="http://curl.haxx.se/docs/copyright.html"
title="Curl and libcurl are licensed under a MIT/X derivate license">open
software</a> that compiles and runs under a wide variety of operating
systems. <br>
Curl exists thanks to efforts from <a
href="http://curl.haxx.se/docs/thanks.html"
title="More than 700 named contributors">many contributors</a>.
</i></p>
Therefore, you can freely instal it on your machine, and use it through
the unix() scilab's command.<br>
So, back-compatibility cannot be a concern.<br>
<br>
Cheers<br>
Samuel<br>
<br>
</body>
</html>