Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
skarusala

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
skarusala

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