Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I am uploading files on one server and want to replicate on another server in asp.net c#. As I came to about ftp and windows services so which approach will be appropriate.



Regards
Gaurav Mishra

What I have tried:

I checked ftp but not successful.
Posted
Updated 22-May-17 0:19am
Comments
Kornfeld Eliyahu Peter 22-May-17 3:48am    
There is no one solution - you must be more specific and share what you have tried and what went wrong to let us try and help you...
F-ES Sitecore 22-May-17 4:05am    
Easiest way is to use shares and simple file copies, however you will need to ensure the account your asp.net code runs under has the desired access as the default account won't. After that next easiest is FTP. Beyond that you're looking at custom tools to do this or custom libraries\products.

1 solution

You can use this library

SSH.NET Library - Home[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900