Automated upload - keeping same session open - How?

Advertisement

Guest

Automated upload - keeping same session open - How?

Hello,

Currently I have a working batch file which is calling winscp.com /script.... each 30 seconds to put a file on the server.
So the winscp script is mainly:

...
open connection
put file
exit
...

But this means that everytime a new connection has to be established, file is placed and connection is closed again. Isn't there a possibilty to open just at the very beginning the connection and then leave the session open and place files as often as I want on the same open connection? (like you would do, when working on the GUI or the console in non-interactive mode)
Would it work with Input redirection and if yes, how? (I know there is keepuptodate/synchronize, but this isn't quite the solution for my case as I need to place a file really every 30 seconds)

Thx for advice!

br
trikkar

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum