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

Home » Public Forums » archive » FTP problem in IDLnetURL method SetProperty
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
FTP problem in IDLnetURL method SetProperty [message #60771] Sun, 15 June 2008 12:27 Go to next message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
I can't transfer 2 files to FTP server. First file transfered is
successfull, but on second my IDL is CRASHED and CLOSED.

Here is fragment of my source code

cmd=['MKD '+login,'CWD '+login,'MKD '+STRTRIM(STRING(order),2),$
'CWD '+STRTRIM(STRING(order),2),'MKD in','CWD in']
response=oUrl->FtpCommand(cmd)
path=login+'/'+STRTRIM(STRING(order),2)+'/in/'
oUrl->SetProperty,URL_PATH=path+file1
print,'file1=',path+file1
response=oUrl->Put(file1)
print,'file2=',path+file2

;The next string generates error and system told that
;idl_opserver.ex.exe get error and will closed'

oUrl->SetProperty,URL_PATH=path+file2
response=oUrl->Put(file2)

Thanks a lot
Re: FTP problem in IDLnetURL method SetProperty [message #60920 is a reply to message #60771] Sun, 15 June 2008 13:51 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<d4fbdc55-68e0-4668-b8a0-74050fe931b3@d1g2000hsg.googlegroups.com>,
"skymaxwell@gmail.com" <skymaxwell@gmail.com> wrote:

> I can't transfer 2 files to FTP server. First file transfered is
> successfull, but on second my IDL is CRASHED and CLOSED.
>
> Here is fragment of my source code
>
> cmd=['MKD '+login,'CWD '+login,'MKD '+STRTRIM(STRING(order),2),$
> 'CWD '+STRTRIM(STRING(order),2),'MKD in','CWD in']
> response=oUrl->FtpCommand(cmd)
> path=login+'/'+STRTRIM(STRING(order),2)+'/in/'
> oUrl->SetProperty,URL_PATH=path+file1
> print,'file1=',path+file1
> response=oUrl->Put(file1)
> print,'file2=',path+file2
>
> ;The next string generates error and system told that
> ;idl_opserver.ex.exe get error and will closed'
>
> oUrl->SetProperty,URL_PATH=path+file2
> response=oUrl->Put(file2)
>
> Thanks a lot

I've been having the same problem with IDLnetURL. It crashes IDL
on my Mac. Please send a bug report to ITTVIS.

As an alternative, I've been SPAWNING a curl process. That will work
on *nix and Macs; can't help you if you're running Windows.

Ken Bowman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Virtual machine question
Next Topic: Warping with intensity conservation or drizzle algorithm

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

Current Time: Wed Oct 08 13:49:03 PDT 2025

Total time taken to generate the page: 0.00499 seconds