I am able to test it in my local and everything works fine,
Now i need to install WinSCP dll and exe on server and deploy my solution executable file.
Please let me know how to deploy WinSCP dll and WinSCP.exe on server.
As per the document in this site. I need to run following commands in server:
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb:WinSCPnet32.tlb %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb:WinSCPnet64.tlb
I am new to this so it might feel silly to you guys :D
1.> Do i need to run the above commands directly on servers or do i need to write some scripts for this.
2.> I have 64 bit server so i have to register assembly for both (32 and 64). In my project i have to add the reference for WinSCPnet32.tlb. should i add the reference for 32 bit version or 64 bit. (My local system is 32 bit so i have tested with 32 bit only)