Topic "Dynamically configuring properties to winsp.dll"

Author Message
skarusala
[View user's profile]

Joined: 2014-12-23
Posts: 2
Location: India
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
You are looking for reflection.
See http://stackoverflow.com/questions/9404523/set-property-value-using-property-name
skarusala
[View user's profile]

Joined: 2014-12-23
Posts: 2
Location: India


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
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
Advertisements

You can post new topics in this forum






Search Site

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