Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

SFTP with non std port 22


smile May 15, 2022 09:40 AM

Hi to All

its possible use (set) another port instead of 22 in SFTP (option on FTPClient)?

Thx

Smile


nsw May 18, 2022 10:00 AM

FTPClient should allow you to choose the port you want to use in the IPAddress field of the instruction :-

IPAddress (IP Address)

The IP address for the device you are trying to send a file to or retrieve a file from. This is a string expression, which can be entered as a numeric address (for example, "xxx.xxx.xxx.xxx", with each xxx being a value of 0 to 255) or a fully-qualified domain name (for example, "computer-name.domain.com"). FTP URL syntax (for example, ftp://server.com) should not be used. The default port number used is 21. If a different port number is required, follow the IPAddress with a colon and enter the port number (for example, 192.168.3.45:35).

I have never tried it myself.


smile May 19, 2022 12:38 AM

It was simple but I didn't think about it! Many thanks NSW!

Log in or register to post/reply in the forum.