comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: spawn question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: spawn question [message #60590] Mon, 02 June 2008 06:48 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<9836d583-0a44-4bc1-b076-2b953089735a@26g2000hsk.googlegroups.com>,
russ <rlayberry@hotmail.com> wrote:

> i think i will just ask if the file has been created and if it hasnt
> after sometime, kill the GET command and do another one with a
> different http site
>
> russ

I suggest that you look into curl and wget. I successfully SPAWN curl processes
to put and get files from remote http and ftp servers.

This curl command puts a file to an ftp server in the background using my .netrc
file for authentication (via anonymous ftp)

SPAWN, 'curl -n -s -T local_file.png ftp://host.domain/directory/remote_file.png &'

There is also the IDLnetURL object, but we have had problems with it crashing
the IDL session. This has been reported to ITTVIS, but no solution yet (that
I know of).

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Project sav file in 7.0
Next Topic: Block selection in IDL7

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 18:54:28 PDT 2025

Total time taken to generate the page: 0.48127 seconds