Solved

asp.net winscp

Posted on 2016-09-15
2
29 Views
Last Modified: 2016-10-04
I have situation where I need to send a file to sFTP / port 22 on my website.
So I research and find out below may help.
My question is I need to know what I need to do first.
Do I need to download something to the server first?
And then download something to get dll on my development pc?

https://winscp.net/eng/docs/library#csharp
0
Comment
Question by:ITsolutionWizard
  • 2
2 Comments
 
LVL 63

Accepted Solution

by:
Fernando Soto earned 500 total points (awarded by participants)
ID: 41800763
Hi ITsolutionWizard;

From what the link you posted you first need to download WinSCP .NET Assembly and install it. So after you download the assembly place it in a directory where when you want to use this in a project you know where it is on your system. Now to install it In your project go to Solution Explorer and right click on the References node. Now click on the Add Reference..., in the Reference Manager window that opens click on Browse node on the left of the window. Now click on Browse button at lower right of window. Then navigate to where you saved the assembly and select it and then click on the Add button and then click on the OK button. The assembly is now installed. Now you will need to add a using statement, using WinSCP;. Now you can write code against it.
0
 
LVL 63

Expert Comment

by:Fernando Soto
ID: 41827725
The solution posted answered the question.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Adding bootstrap to only Content page and NOT master page 1 50
Open a link in vb.net 2 16
Finding the IIS version 5 22
jquery + C#.net radiobuttonlist 3 30
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question