Topic "APPCRASH WinSCP.com 4.4.0.7136 - WInSCP v5.9.3 (Build 7136) on Server 2008 R2 SP1"

Author Message
AvalonNYC
[View user's profile]
Donor
Joined: 2017-01-14
Posts: 4
Location: New York
Getting error attempting to script send SFTP using winscp.com.
WinSCP v 5.9.3 (Build 7136)
Windows Server 2008R2 SP1

Problem signature:
Problem Event Name: APPCRASH
Application Name: WinSCP.com
Application Version: 4.4.0.7136
Application Timestamp: 00000000
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18229
Fault Module Timestamp: 51fb1116
Exception Code: c0000005
Exception Offset: 0000dee1
OS Version: 6.1.7601.2.1.0.272.7
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

command line:
Code:
D:\Scripts\SFTP\cust888>"D:\Program Files (x86)\WinSCP\winscp.com" /script="TmsSFtpscript.txt"  /xmllog=Logs\TmsSFtpSendOneFile.xml /parameter "D:\Comms\SFTP\Cust888\OUT\test.txt" >> logs\TmsSFtpSendOneFile.log.txt


TmsSFtpScript.txt is (site and key obscured for security:
Code:
option batch abort
option confirm off
open sftp://sftp1.obscured.com -hostkey="ssh-rsa 2048 obscured"
put "%1%" data/
close
exit



Server/Protocol information for the remote server (site info and fingerprint obscured):

File transfer protocol = SFTP-3
Cryptographic protocol = SSH-2
SSH implementation = OpenSSH_5.3
Encryption algorithm = aes
Compression = No
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 2048 *obscured*
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = No
Can create symbolic/hard link = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = Yes
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server supports these SFTP extensions:
posix-rename@openssh.com="1"
statvfs@openssh.com="2"
fstatvfs@openssh.com="2"
------------------------------------------------------------


We have an identical script running for another remote site and it does not have a problem. The other site's Server and Protocol info (site info and fingerprint obscured) is:

File transfer protocol = SFTP-3
Cryptographic protocol = SSH-2
SSH implementation = Sun_SSH_1.1.3
Encryption algorithm = aes
Compression = No
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 1024 *obscured*
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = No
Can create symbolic/hard link = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server does not support any SFTP extension.

Attached are the logs.

Thanks for all you do!
TmsSFtpSendOneFile.xml.txt (147 Bytes) [Download]

Description: XML log

TmsSFtpSendOneFile.log.txt (162 Bytes) [Download]

Description: text log

Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
you are not using 5.9.3, the error says 4.4.0.
Maybe you have a different version of winscp.com and winscp.exe.
AvalonNYC
[View user's profile]
Donor
Joined: 2017-01-14
Posts: 4
Location: New York
Hi, Martin, thanks for your post!

I previously updated WinSCP from the Update icon in the program, then ran the downloaded file WinSCP-5.9.3-Setup.exe and selected "Full Upgrade (recommended) - upgrades all previously installed components"

The upgrade successfully detected the program directory, and ran to completion. I just now did the upgrade again with logging enabled; the install log shows:
Code:
2017-01-16 08:30:53.755   Dest filename: d:\Program Files (x86)\WinSCP\WinSCP.com
2017-01-16 08:30:53.755   Time stamp of our file: 2016-11-30 13:57:12.000
2017-01-16 08:30:53.755   Dest file exists.
2017-01-16 08:30:53.755   Time stamp of existing file: 2016-11-30 13:57:12.000
2017-01-16 08:30:53.756   Installing the file.
2017-01-16 08:30:53.776   Successfully installed the file


I checked WinSCP.com and It announces itself as:
Code:
WinSCP, Version 5.9.3 (Build 7136)
Copyright (c) 2000-2016 Martin Prikryl

So WinSCP.com thinks it is the latest version.

The Explorer details tab of WinSCP.com show:
Code:
Date Created 11/25/13 5:32 AM
Date Modified 11/20/16 1:57 AM


The APPCRASH is still occurring, and still shows:
Code:
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   WinSCP.com
  Application Version:   4.4.0.7136
  ...


So, my assumption is that the version is somehow miscoded in the WinSCP.com executable.

Thanks.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Thanks for your major donation!
AvalonNYC
[View user's profile]
Donor
Joined: 2017-01-14
Posts: 4
Location: New York
I had a mistake in my script (I had omitted the credentials from the login), and the problem is solved.
Thanks for your help and thanks for WinSCP!
John Wilson
Advertisements

You can post new topics in this forum

Search

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