cancel
Showing results for 
Search instead for 
Did you mean: 

FTP sever name and it is IP address

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Raghuraman,

Thank you so much for the reply.

"You should configure using either of these. 

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

Are you saying I don't need to do anything, just use either server name or the IP address in the Communication Chanel, I don't have to do anything else and PI will be able to find the FTP server?

former_member186851
Active Contributor
0 Kudos

Hello Blue,

Yes.Enough.

Make sure that ports at the FTP server are opened for PI connection.

Former Member
0 Kudos

Great!

Thanks again Raghuraman!

Answers (1)

Answers (1)

vadimklimov
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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