Hello,
I am in a cloud environment, and I need to be able to upload and download file from a SFTP.
Is there any built-in way in Epicor to pen a SFTP Client ?
Thanks,
Hello,
I am in a cloud environment, and I need to be able to upload and download file from a SFTP.
Is there any built-in way in Epicor to pen a SFTP Client ?
Thanks,
I don’t think .NET ships with a native SFTP client, and unless Epicor includes one (which I have no idea if they do), you might be better off creating your own service outside of Epicor and use a third party library to handle the upload/download. Surely someone will correct me if I’m (likely) wrong, but that’s my 2 cents.
Looks like ssh.net would work
SFTP File Upload With C# Application
Hello,
Yes for on-premise we can but in the cloud they will not le us install a package.
That was my first idea.
Thanks,
If you don’t care about the data security, that is you are okay with FTP from a security standpoint but simply need to get the data up to a SFTP site, you could FTP the file to an intermediate cloud site (i.e DriveHQ) and then use a cloud integration tool to do the FTP to SFTP Transfer… ( i.e. zapier, integromat/make etc).
Another possibility that might work would be the Epicor Automation Studio.
Will function code allow calling System.Diagnostics.Process.Start()?
If so, Windows comes with a command line sftp client, which you should be able to call directly…
usage: sftp [-46aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher]
[-D sftp_server_path] [-F ssh_config] [-i identity_file]
[-J destination] [-l limit] [-o ssh_option] [-P port]
[-R num_requests] [-S program] [-s subsystem | sftp_server]
destination