Topic "WINSCP and .Net Assemblies"

Author Message
TheDM
[View user's profile]

Joined: 2013-07-30
Posts: 1
Location: Fort Waynem IN
Hello! My company has made WINSCP available for use to use. I am working on a project that needs to transfer files to our SFTP site. But there is logic involved in performing the transfers. The machine creating the data files we want to send to our sftp site uses two files. First it creates a .csv file and appends to it as needed. When the machine is finished, it creates a .end file of the same name. So what I would want the program to do is to create a file list of the .END file names and move the files Replace(filename,".END",".CSV") to the sftp site. I saw you can use .Net assemblies. Is it possile to do this within the assembly? or can it only use code from the WINSCP API? Can I use any VB code I want in the assembly Question

Thanks,
TheDM
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
You can write your VB code to collect list of .end files, replaces the .end with .csv and then call the WinSCP .NET assembly to upload these.
_________________
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