Topic "Winscp.com is not working"

Author Message
neelakandan
[View user's profile]

Joined: 2013-09-05
Posts: 4
Location: INDIA
winscp.com commandline utility is not working in production server
it is working good in test server


code inside the bat file

C:
CD\Program Files (x86)\WinSCP
winscp.com /command "option batch abort" "option confirm off" "close" "exit"


when i execute the bat file in test server output like this


NULL
C:\Windows\system32>C:
NULL
C:\Windows\system32>Cd\Program Files (x86)\WinSCP
NULL
C:\Program Files (x86)\WinSCP>winscp.com /command "option batch abort" "option confirm off" "close" "exit"
batch abort
confirm off
No session.
NULL



when i execute the bat file in production server output like this


NULL
C:\Windows\system32>C:
NULL
C:\Windows\system32>Cd\Program Files (x86)\WinSCP
NULL
C:\Program Files (x86)\WinSCP>winscp.com /command "option batch abort" "option confirm off" "close" "exit"
NULL
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Did it ever work on the production server? What is exit code of winscp.com?
Guest




prikryl wrote:
Did it ever work on the production server? What is exit code of winscp.com?


it is working in production server
from yesterday only it is not working
it is urgent.please give me some suggestion
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Quote:
it is working in production server
from yesterday only it is not working
it is urgent.please give me some suggestion

If exit code is 3, you are possibly a victim of this issue:
https://winscp.net/tracker/show_bug.cgi?id=996

Currently, the only known workaround is to restart the server.

Last edited by martin on 2013-09-05; edited 1 time in total
Guest




Anonymous wrote:
prikryl wrote:
Did it ever work on the production server? What is exit code of winscp.com?


it is working in production server
from yesterday only it is not working
it is urgent.please give me some suggestion



CODE IN PRODUCTION SERVER

BAT FILE CODE :

"C:\Program Files (x86)\WinSCP\WinSCP.com" -script=C:\temp\SFTPOUTPUT.TXT

SCRIPT FILE CODE :

option batch abort
option confirm off
open sftp://112:thEWape2@ftp.alphamcs.com:22
close
exit
Guest




prikryl wrote:
Quote:
it is working in production server
from yesterday only it is not working
it is urgent.please give me some suggestion

If exit code is 3, you are possibly a victim of this issue:
https://winscp.net/tracker/show_bug.cgi?id=996

Currently, the only known workaround is to restart the server.



IS ANY OTHER WAY TO SOLVE THIS ISSUE
IT IS NOT POSSIBLE TO RESTART THE SERVER
SAME PROCESS IS SCHEDULED IN TEST SERVER IT IS WORKING GOOD FOR PAST TWO MONTHS
WITH IN TWO DAYS WE HAVE THE ISSUE IN PRODUCTION SERVER
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Quote:
SAME PROCESS IS SCHEDULED IN TEST SERVER IT IS WORKING GOOD FOR PAST TWO MONTHS
WITH IN TWO DAYS WE HAVE THE ISSUE IN PRODUCTION SERVER

It depends on frequency or starts. There's no other workaround as of now.
_________________
Martin Prikryl
neelakandan
[View user's profile]

Joined: 2013-09-05
Posts: 4
Location: INDIA
prikryl wrote:
Quote:
SAME PROCESS IS SCHEDULED IN TEST SERVER IT IS WORKING GOOD FOR PAST TWO MONTHS
WITH IN TWO DAYS WE HAVE THE ISSUE IN PRODUCTION SERVER

It depends on frequency or starts. There's no other workaround as of now.



we restarted server yesterday it was works good
again we have same the same issue today
neelakandan
[View user's profile]

Joined: 2013-09-05
Posts: 4
Location: INDIA
neelakandan wrote:
prikryl wrote:
Quote:
SAME PROCESS IS SCHEDULED IN TEST SERVER IT IS WORKING GOOD FOR PAST TWO MONTHS
WITH IN TWO DAYS WE HAVE THE ISSUE IN PRODUCTION SERVER

It depends on frequency or starts. There's no other workaround as of now.



we restarted server yesterday it was works good
again we have same the same issue today



when i execute the bat file manually it works good
through xp..cmdshell it is not working
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
neelakandan wrote:
when i execute the bat file manually it works good
through xp..cmdshell it is not working

There's some resource that is exhausted in scheduler's (or similar) session.
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