Topic "Deploying WinSCP Dll and exe file on servers"

Author Message
sumangeorge
[View user's profile]

Joined: 2016-12-15
Posts: 15
Location: Detroit
I have done my coding in VB6 to convert FTP to SFTP using WinSCP.
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:
Code:
%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 Very Happy

    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)
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26456
Location: Prague, Czechia
sumangeorge wrote:
1.> Do i need to run the above commands directly on servers or do i need to write some scripts for this.

On the server.

Quote:
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)

If your application is 32-bit, use the WinSCPnet32.tlb and vice versa.
sumangeorge
[View user's profile]

Joined: 2016-12-15
Posts: 15
Location: Detroit
Ok cool so i just need the command in server.
So have windows 2003 server installed in server.
Is this WinSCP version(5.9.3) compatible with windows 2003 or windows 2012?



martin wrote:
sumangeorge wrote:
1.> Do i need to run the above commands directly on servers or do i need to write some scripts for this.

On the server.

Quote:
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)

If your application is 32-bit, use the WinSCPnet32.tlb and vice versa.
sumangeorge
[View user's profile]

Joined: 2016-12-15
Posts: 15
Location: Detroit
As per the document in this site.(https://winscp.net/eng/docs/requirements#client)
WinSCP is compatible with both windows 2003 and windows 2012.

sumangeorge wrote:
Ok cool so i just need the command in server.
So have windows 2003 server installed in server.
Is this WinSCP version(5.9.3) compatible with windows 2003 or windows 2012?



martin wrote:
sumangeorge wrote:
1.> Do i need to run the above commands directly on servers or do i need to write some scripts for this.

On the server.

Quote:
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)

If your application is 32-bit, use the WinSCPnet32.tlb and vice versa.
Advertisements

You can post new topics in this forum






Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License