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

Home » Public Forums » archive » "idlneturl" question.
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
"idlneturl" question. [message #91827] Thu, 03 September 2015 01:27 Go to next message
Dae-Kyu Shin is currently offline  Dae-Kyu Shin
Messages: 25
Registered: February 2015
Junior Member
hi

idlneturl object is not working on the idl workbench.

but it is working on the idl command line(not workbench console).

here is the example code

url = idlneturl()
print, url.getftpdirlist(url='ftp://ftp.swpc.noaa.gov/pub/lists/particle/')


error message of workbench is

% IDLNETURL::GETFTPDIRLIST: CCurlException: Error: Ftp Dir Request Failed. Error = RETR response: 425,
Curl Error Code = 19. Last Ftp Response = 425 Unable to build data connection: Connection
timed out
% Execution halted at: $MAIN$



say again, it is working only idl command line.


idl 8.5, windows 64bit.


Thanks.
Re: "idlneturl" question. [message #91835 is a reply to message #91827] Thu, 03 September 2015 06:00 Go to previous messageGo to next message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Thursday, September 3, 2015 at 2:27:38 AM UTC-6, Dae-Kyu Shin wrote:
> hi
>
> idlneturl object is not working on the idl workbench.
>
> but it is working on the idl command line(not workbench console).
>
> here is the example code
>
> url = idlneturl()
> print, url.getftpdirlist(url='ftp://ftp.swpc.noaa.gov/pub/lists/particle/')
>
>
> error message of workbench is
>
> % IDLNETURL::GETFTPDIRLIST: CCurlException: Error: Ftp Dir Request Failed. Error = RETR response: 425,
> Curl Error Code = 19. Last Ftp Response = 425 Unable to build data connection: Connection
> timed out
> % Execution halted at: $MAIN$
>
>
>
> say again, it is working only idl command line.
>
>
> idl 8.5, windows 64bit.
>
>
> Thanks.

The command is successfully executing in my 8.5 Workbench on Win-7 64, both 32-bit and 64-bit IDL, as well as the command lines of both from my location.

An FTP 425 code is related to a Passive transfer error (PASV).

Check the RESPONSE_CODE and RESPONSE_HEADER properties of the object for possible additional information.

Jim P.
Re: "idlneturl" question. [message #91837 is a reply to message #91835] Thu, 03 September 2015 06:35 Go to previous message
Dae-Kyu Shin is currently offline  Dae-Kyu Shin
Messages: 25
Registered: February 2015
Junior Member
2015년 9월 3일 목요일 오후 10시 0분 50초 UTC+9, Jim P 님의 말:
> On Thursday, September 3, 2015 at 2:27:38 AM UTC-6, Dae-Kyu Shin wrote:
>> hi
>>
>> idlneturl object is not working on the idl workbench.
>>
>> but it is working on the idl command line(not workbench console).
>>
>> here is the example code
>>
>> url = idlneturl()
>> print, url.getftpdirlist(url='ftp://ftp.swpc.noaa.gov/pub/lists/particle/')
>>
>>
>> error message of workbench is
>>
>> % IDLNETURL::GETFTPDIRLIST: CCurlException: Error: Ftp Dir Request Failed. Error = RETR response: 425,
>> Curl Error Code = 19. Last Ftp Response = 425 Unable to build data connection: Connection
>> timed out
>> % Execution halted at: $MAIN$
>>
>>
>>
>> say again, it is working only idl command line.
>>
>>
>> idl 8.5, windows 64bit.
>>
>>
>> Thanks.
>
> The command is successfully executing in my 8.5 Workbench on Win-7 64, both 32-bit and 64-bit IDL, as well as the command lines of both from my location.
>
> An FTP 425 code is related to a Passive transfer error (PASV).
>
> Check the RESPONSE_CODE and RESPONSE_HEADER properties of the object for possible additional information.
>
> Jim P.

Thanks.

Solve the problem using ftp_connection_mode=0.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: eigenql in MATLAB
Next Topic: IDL Virtual Machine logo.

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

Current Time: Wed Oct 08 11:33:38 PDT 2025

Total time taken to generate the page: 0.00294 seconds