Developer forum

Forum » Development » SSH.NET. Possible to use on a non custom solution DW 8.8.X?

SSH.NET. Possible to use on a non custom solution DW 8.8.X?

Jan Sangill
Reply

@using Renci.SshNet;
@using Renci.SshNet.Common;
@using Renci.SshNet.Sftp;

Hi, is it possible to use SFTP somehow via dynamicweb? 

I guess this is a yes/no answer:)

 


Replies

 
Nicolai Pedersen
Reply

I do not understand the question...

Do you want to send or receive data?

You usings looks like regular C# (In razor) and since this is just .net, everything you can do in .net, you can do in Dynamicweb. There might be some issues with ports in the firewall in and out of the installation.

 
Jan Sangill
Reply

Hi Nikolai,

My goal is to upload files/retrive files from FTP server - on SFTP.

Is this possible without a custom solution? Since I need some libraries installed etc.
 

 
Nicolai Pedersen
Reply

You need at least custom. Probably you cannot even with that because the ports will not be open and you might need something to start the server part on the solution.

I think it would be much easier to ask your hosting provider for a ftp access to the site and setup a service in the other end to handle the sync.

 

You must be logged in to post in the forum