[scilab-Users] URL read/write

Ginters Bušs ginters.buss at gmail.com
Tue Feb 1 12:57:20 CET 2011


So, what's another option, if not curl?

Ginters

On Wed, Apr 21, 2010 at 11:06 AM, Sylvestre Ledru <
sylvestre.ledru at scilab.org> wrote:

> Le mercredi 21 avril 2010 à 10:02 +0200, Samuel Gougeon a écrit :
> > ----- Message d'origine -----
> > De : Samuel Gougeon
> > Date : 21/04/2010 09:48:
> > > Hello,
> > >
> > > ----- Message d'origine -----
> > > De : H Carl
> > > Date : 20/04/2010 16:04:
> > > > 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.
> > > > Thanks.
> > > You can use Curl that is embedded into scilab.
> > > If you are using Scilab under Windows, here is an example :
> > > URL="
> http://www-cgi.uni-regensburg.de/WWW_Server/Dokumentation/misc/CURL/curl.pdf
> ";
> > > filename="curl_manual.pdf";
> > > rep=unix(SCI+"/tools/curl/curl -o "+filename+" "+URL)
> > > The file targetted by the URL will be recorded into the specified
> > > local file.
> > > If you are using another operating system, you just have to
> > > customize the
> > > path leading to the curl executable file.
> > After the Sylvestre's remark, please note that, like it is presented
> > on the curl main webpage,
> > and like Scilab,
> >
> >
> > Curl is free and open software that compiles and runs under a wide
> > variety of operating systems.
> > Curl exists thanks to efforts from many contributors.
> >
> > Therefore, you can freely instal it on your machine, and use it
> > through the unix() scilab's command.
> > So, back-compatibility cannot be a concern.
> Obviously but it is important to highlight that a Scilab script cannot
> expect to find curl on every Scilab distribution ...
>
> Sylvestre
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110201/1872268d/attachment.htm>


More information about the users mailing list