X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Sep 2014 02:29 AM by  anon
Access to sftp
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
05 Sep 2014 02:29 AM
    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

    Deleted User



    New Member


    Posts:
    New Member


    --
    15 Sep 2014 02:22 PM
    Are you trying to connect SFTP server (SSH File Transfer Protocol or Secure File Transfer Protocol) or a FTP server protected using SSL/TLS (FTPS)? My understanding is that SFTP and FTPS are different protocols, and the IDLnetURL object explicitly supports FTPS but does not support SFTP.

    Deleted User



    New Member


    Posts:
    New Member


    --
    18 Sep 2014 12:57 AM
    Hi It seems that the server I'm trying to connect is SFTP (over SSH) and in my understanding there are no ways to make connection with that kind of a server using IDL, or am I wrong? Sander
    You are not authorized to post a reply.