How to set up sftp connection

ftp

#1

I am trying use ‘FTP Download’ activity to download a file from FTP server. Using Filezilla I ensured all the values such as host, port, user, pwd are correct. Through Filezillla I was able to download file from the server.
When I enter the same values and ‘test connection’, UiPath says ‘Host’ in a pop window and the connection doesn’t seem to be working. Needless to say it is not working.

I work remote and have to vpn running to access the ftp server.

image
I when run it I get the following error. FTPConnection has thrown an exception

Source: Download

Message: host

Exception Type: ArgumentException

System.ArgumentException: host

Server stack trace:
at Renci.SshNet.ConnectionInfo…ctor(String host, Int32 port, String username, ProxyTypes proxyType, String proxyHost, Int32 proxyPort, String proxyUsername, String proxyPassword, AuthenticationMethod[] authenticationMethods)
at Renci.SshNet.PasswordConnectionInfo…ctor(String host, Int32 port, String username, Byte[] password, ProxyTypes proxyType, String proxyHost, Int32 proxyPort, String proxyUsername, String proxyPassword)
at Renci.SshNet.PasswordConnectionInfo…ctor(String host, Int32 port, String username, String password)
at UiPath.FTP.Activities.FtpSessionGen…ctor(Int32 ftpMode, String host, String user, String password, Int32 port, String keyFiles)
at UiPath.FTP.Activities.FTPActivity.ExecuteAsync()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Action.EndInvoke(IAsyncResult result)
at UiPath.FTP.Activities.AsyncActivity.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.FTP.Activities.AsyncNativeActivity.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)