Topic "script or dll: keep session open to use again"

Author Message


I use WinSCP scripting to upload files from another program. I use the Windows API ShellExecute() call to run
" '/script=..."

I would like to keep the session open because connecting to the server and setting up a new session is the slowest part of the upload operation. Often I am uploading the same small file many times to the same server. For instance, I am debugging server-side PHP or Perl scripts. I can switch from my editor to the WinSCP GUI and back, but it is easier to integrate WinSCP calls into my editor. Also, my editor knows which files it wants to upload. Currrently, my editor uses the above call to a WinSCP console script.

So what should I do? Is there a DLL? Can I use Servant Salamander or FAR to get a hook into WinSCP?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27086
Location: Prague, Czechia
You can setup your editor as external editor for WinSCP. I guess that's the easiest way.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License