Solved

asp.net winscp

Posted on 2016-09-15
2
24 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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