Contents » Troubleshooting » FAQ (Frequently Asked Questions) »

Is there some API that I can use to add file transfer functionality to my application?

While WinSCP code has strictly separated core functionality and the GUI, which allows existence of plugins to file managers, there is no usable API. It means, that the interface of the core library:

  • is not documented;
  • changes significantly with every release;
  • uses proprietary classes of Borland libraries (VCL) and proprietary features of the Borland C++ compiler.

You can of course use scripting functionality of WinSCP, if it suits your needs.

Note that you also cannot use the WinSCP filemanager plugins from you application. These are designed to work from within the respective filemanager environment only.

Otherwise, I would suggest you to take a look at source code of PuTTY. WinSCP uses its SSH code and SFTP and SCP code is particularly inspired by it as well. PuTTY does not have the API too, but it at least uses plain C and is has also separate core and the GUI.

 
  faq_api.txt · Last modified: 18 Jan 2007 10:38 by 193.179.225.19 (prikryl)
 

Site Search

This page

Donate

Donate via PayPal

Associations

Webhosting phpBB
Hosted by SourceForge Bookmark Manager
Driven by DokuWiki

Site design by Black Gate

Promotion consulting by TechWeb Media