.NET assembly Sync script and custom FTP Port
Hi all.
I am currently testing the remote to local sync script provided to this link.
What I want is to be able to connect on a custom port. The remote server is running an ftp service but not on 21 port.
In the script there is this:
$sessionOptions.Protocol = [WinSCP.Protocol]::Sftp
is there a way to overcome the named setting and set the port number?
Thank you in advance
I am currently testing the remote to local sync script provided to this link.
What I want is to be able to connect on a custom port. The remote server is running an ftp service but not on 21 port.
In the script there is this:
$sessionOptions.Protocol = [WinSCP.Protocol]::Sftp
is there a way to overcome the named setting and set the port number?
Thank you in advance