"idlneturl" question. [message #91827] |
Thu, 03 September 2015 01:27  |
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   |
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  |
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.
|
|
|