Hi all!
I'm trying to get access to secured ftp with IDLnetURL but it seems impossible to me as I am rather novice in programming. Using IDL 8.2.1 in Windows and the same syntax written in url_docs_ftp_get.pro:
oUrl = OBJ_NEW('IDLnetUrl')
; Set verbose to 1 to see more info on the transaction
oUrl->SetProperty, VERBOSE = 1
; Set the transfer protocol as ftp
oUrl->SetProperty, url_scheme = 'ftps'
; The FTP server
oUrl->SetProperty, URL_HOST = '193.105.155.71'
oUrl->SetProperty, URL_PATH = 'data/'
oUrl->SetProperty, URL_USERNAME = '***'
oUrl->SetProperty, URL_PASSWORD = '***'
Now, if I use file = oUrl->Get(Filename = 'some_file_name') to receive files from ftp, it cannot connect. The same is with GetFtpDirList. I have tried different ports also. I can access to the ftp through PuTTY or with my personal Mac (through Terminal) and this makes me wonder weather I'm doing something wrong or are there some other properties I should be aware of, like Windows firewall is blocking the access or something similar?
Thanks in advance!
Sander
|