I recently updated to 4.1.0beta and now every time I try to use a command-line script with FTP, I get "invalid access to memory" immediately after login and the directory listing.
I am creating a logfile but it doesn't contain any relevant information.
The problem also occurs when I use the winscp.com interactively.
I think I need a debug version, right? I don't see any way to activate additional logging as a command-line switch.
How do I give you my email address?
Here is the script (username and password obscured):
option batch abort
option confirm off
open ftp://x:x@bfmrr.bloomberg.com
option transfer binary
get corp_pfd_lamr.out.gz.enc.20080402
get corp_pfd_lamr.px.gz.enc.20080402
get corp_pfd_lamr_fitch.out.gz.enc.20080402
get corp_pfd_namr.out.gz.enc.20080402
get corp_pfd_namr.px.gz.enc.20080402
get corp_pfd_namr_fitch.out.gz.enc.20080402
exit
Here's how I call it:
c:\Progra~1\winscp\WinSCP.com /log=winscp.log /script=script.txt
Here's winscp.log:
2008-04-03 09:39:42.983 WinSCP Version 4.1.0 (Build 375) (OS 5.1.2600 Service Pack 2)
. 2008-04-03 09:39:42.983 Login time: Thursday, April 03, 2008 9:39:42 AM
. 2008-04-03 09:39:42.983 --------------------------------------------------------------------------
. 2008-04-03 09:39:42.983 Session name: x@bfmrr.bloomberg.com
. 2008-04-03 09:39:42.983 Host name: bfmrr.bloomberg.com (Port: 21)
. 2008-04-03 09:39:42.983 User name: x (Password: Yes, Key file: No)
. 2008-04-03 09:39:42.983 Tunnel: No
. 2008-04-03 09:39:42.983 Transfer Protocol: FTP
. 2008-04-03 09:39:42.983 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2008-04-03 09:39:42.983 Proxy: none
. 2008-04-03 09:39:42.983 FTP: Passive: No
. 2008-04-03 09:39:42.983 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-04-03 09:39:42.983 Cache directory changes: Yes, Permanent: Yes
. 2008-04-03 09:39:42.983 DST mode: 1
. 2008-04-03 09:39:42.983 --------------------------------------------------------------------------
. 2008-04-03 09:39:43.015 Connecting to bfmrr.bloomberg.com ...
. 2008-04-03 09:39:43.171 Connected with bfmrr.bloomberg.com. Waiting for welcome message...
< 2008-04-03 09:39:43.187 220 ftp1pdmz8.bloomberg.com NcFTPd Server (licensed copy) ready.
> 2008-04-03 09:39:43.187 USER x
< 2008-04-03 09:39:43.218 331 User x okay, need password.
> 2008-04-03 09:39:43.218 PASS ********
< 2008-04-03 09:39:43.233 230-You are user #85 of 1000 simultaneous users allowed.
< 2008-04-03 09:39:43.421 230-
< 2008-04-03 09:39:43.421 230 Restricted user logged in.
> 2008-04-03 09:39:43.421 SYST
< 2008-04-03 09:39:43.437 215 UNIX Type: L8
> 2008-04-03 09:39:43.437 FEAT
< 2008-04-03 09:39:43.468 211-Extensions supported:
< 2008-04-03 09:39:43.468 CLNT
< 2008-04-03 09:39:43.468 LANG EN*
< 2008-04-03 09:39:43.468 MDTM
< 2008-04-03 09:39:43.468 MFMT
< 2008-04-03 09:39:43.468 MLST Type*;Size*;Modify*;Perm;Unique;UNIX.mode*;UNIX.owner;UNIX.uid;UNIX.group;UNIX.gid;
< 2008-04-03 09:39:43.468 PASV
< 2008-04-03 09:39:43.468 REST STREAM
< 2008-04-03 09:39:43.468 SIZE
< 2008-04-03 09:39:43.468 UTF8
< 2008-04-03 09:39:43.468 TVFS
< 2008-04-03 09:39:43.468 RFC 959 2389 2577 3659
< 2008-04-03 09:39:43.468 211 End.
> 2008-04-03 09:39:43.468 CLNT FileZilla
< 2008-04-03 09:39:43.483 200 Noted.
> 2008-04-03 09:39:43.483 OPTS UTF8 ON
< 2008-04-03 09:39:43.515 501 Option not recognized.
. 2008-04-03 09:39:43.515 Connected
. 2008-04-03 09:39:43.515 --------------------------------------------------------------------------
. 2008-04-03 09:39:43.515 Using FTP protocol.
. 2008-04-03 09:39:43.515 Doing startup conversation with host.
> 2008-04-03 09:39:43.515 PWD
< 2008-04-03 09:39:43.530 257 "/" is cwd.
. 2008-04-03 09:39:43.530 Getting current directory name.
. 2008-04-03 09:39:43.530 Startup conversation with host finished.
. 2008-04-03 09:39:43.530 Listing file "corp_pfd_lamr.px.gz.enc.20080403".
. 2008-04-03 09:39:43.530 Retrieving directory listing...
> 2008-04-03 09:39:43.530 TYPE A
< 2008-04-03 09:39:43.562 200 Type okay.
> 2008-04-03 09:39:43.577 PORT 192,168,1,31,16,126
< 2008-04-03 09:39:43.608 200 PORT command successful.
> 2008-04-03 09:39:43.608 LIST -a
< 2008-04-03 09:39:43.655 150 Opening ASCII mode data connection for /bin/ls.
< 2008-04-03 09:39:43.858 226 Listing completed.
. 2008-04-03 09:39:43.858 Directory listing successful
. 2008-04-03 09:39:43.858 Disconnected from server