Skip to Content
avatar image
Former Member

FTP sever name and it is IP address

Hi,

I am given an FTP server name and IP address, such as:

  1. st.avadfaoifdaslkf.com OR 25.136.27.2

I am just wondering:

1. How would PI know "st.avadfaoifdaslkf.com" is associated to "25.136.27.2"

2.If I am using SFTP, how should I get the "Server fingerprint"? Should the FTP server admin provide me that information?

Big thanks in advance

Blue

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 28, 2015 at 03:11 PM

    1. How would PI know "st.avadfaoifdaslkf.com" is associated to "25.136.27.2"

    You should configure using either of these.

    It can TCP/IP address or host name of the FTP server.

    2.If I am using SFTP, how should I get the "Server fingerprint"? Should the FTP server admin provide me that information?

    yes,SFTP server admin will provide.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 28, 2015 at 03:52 PM

    Hi Blue,

    It is not PI who resolves DNS name (st.avadfaoifdaslkf.com) into the IP address (25.136.27.2), but an underlying network service or host configuration (if DNS name / IP binding has been provided explicitly on host level). If you have access to operating system of PI application instance, you may execute DNS lookup or ping command against given host name (st.avadfaoifdaslkf.com) and see if it was correctly resolved to the IP address.

    Regarding SFTP server fingerprint. As it has already been advised, one of options is to ask SFTP server administrator, but you can also acquire server fingerprint by yourself, if you have access to that SFTP server since majority of SFTP clients are capable of storing fingerprints of SFTP servers to which they got connected. For example, I personally use WinSCP as an SFTP client: the first time I connect to the remote SFTP server, WinSCP shows a popup window with server fingerprint; later on I can get server fingerprint, after I establish connection to the SFTP server and go to "Session" > "Server/Protocol Information" in WinSCP (real fingerprint has been masked on the screenshot):

    If you use another SFTP client, you may want to consult with its documentation and it is very likely you will be able to retrieve server fingerprint similarly to the way I use, by means of the preferred SFTP client.

    Regards,

    Vadim


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vadim,

      what you provided is very detail, very very helpful. I learn lots from it.

      I was always puzzled on how PI located the right IP or server, what you explained is very very helpful

      For the fingerprint, as I requested, the FTP server admin provided one for us.

      Thank you so much

      Blue