Topic "Automating multiple transfers server 2008 R2"

Author Message
cgman
[View user's profile]

Joined: 2011-11-22
Posts: 2
Hi all,

Please forgive me if this issue is resolved, but this dilemma is similar to these topics:

http://winscp.net/forum/viewtopic.php?t=4365
http://winscp.net/forum/viewtopic.php?t=5856

Only I need the ability to take make multiple simultaneous transfers with the command line.

I am currently using windows task scheduler to run several separate powershell scripts at separate intervals, but when a second task overlaps the first task, it closes immediately with an 0x1 error code.

What is throwing me off is I can open the same session several times and run the scripts manually and have simultaneous transfers. I think this should work, but server 2008 must not like opening/running winscp at the same time, even though i have one tasks for each script.

Any workarounds are very welcome,

Thank you very much in advance.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Can you post a log file for failed simultaneous transfer?
_________________
Martin Prikryl
cgman
[View user's profile]

Joined: 2011-11-22
Posts: 2
Hi,

I have tons of log entries, but they all seem to be running at separate times. I just started two sceduled tasks that reference 2 scripts which start a winscp session each. only one of the tasks logged an entry and the other was 0x1 in the "last run result".

It's like server 2008 doesn't like to run multiple winscps.

any ideas? have you or anyone else tried this on server 2008?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
If you send me the logs, I can check.
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Basic PowerShell example added
http://winscp.net/eng/docs/library#powershell
More examples (and syntax highlighting) coming soon.
_________________
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