Dynamically configuring properties to winsp.dll

Advertisement

skarusala
Joined:
Posts:
2
Location:
India

Dynamically configuring properties to winsp.dll

Hello team,

We are facing challenge in configuring properties for winscp.dll version 5.5.5 targeted to .netframework and operating system is Windows XP. below is the description.

a. We developed.net application which has unique functionality that transfers files to SFTP server
b. For transferring files to SFTP server we used winscp.dll
c. As we want to configure properties of winscp.dll like (hostname, username, password) dynamically.
d. Dynamically mean we want to put all the properties in XML/ Text file having property name with values.
e. We have checked all the methods exposed by winscp.dll.
f. But no method is giving such a feature.

Can someone help us how to archive this functionality with .net winscp dll

Thanks
Srinivas

Reply with quote

Advertisement

skarusala
Joined:
Posts:
2
Location:
India

Re: Dynamically configuring properties to winsp.dll

martin wrote:

You are looking for reflection.
See https://stackoverflow.com/q/9404523/850848

Hello Prikryl,

Thanks for the quick response.

One step is missing from below list of steps (e- step)

We are facing challenge in configuring properties for winscp.dll version 5.5.5 targeted to .netframework and operating system is Windows XP. below is the description.

a. We developed.net application which has unique functionality that transfers files to SFTP server
b. For transferring files to SFTP server we used winscp.dll
c. As we want to configure properties of winscp.dll like (hostname, username, password) dynamically.
d. Dynamically mean we want to put all the properties in XML/ Text file having property name with values.
e. We need to fetch these XML/Text values to the code and want to bind these as properties for sessionOption class.
f. IS there any method to accomidate these functionality .
g. We have checked all the methods exposed by winscp.dll.
h. But no method is giving such a feature.

Can you please help us how to archive this functionality with .net winscp dll

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,501
Location:
Prague, Czechia

Re: Dynamically configuring properties to winsp.dll

Point e) is completely out of scope of this forum. This is not general programming forum. Please ask elsewhere. Well, actually, you find thousands examples on the Internet, if you try.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum