Thank you.
I didn't want to include the entire script/log in the interest of brevity and security, so that's why I used the double-colons.
But here is the "complete" version of both, although I did search/replace to change names to make them anonymous.
# BATCH FOR XEI PROCESSING OF VENDOR FILES
# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
open ourusername@sftp.educationalvendor.com
# Change remote directory
cd \Vendor\Accounts
# Force binary mode transfer and upload file
option transfer binary
put D:\ExportFiles\Accounts.csv
# Change remote directory
cd ..\..
cd \Vendor\Courses
# Force binary mode transfer and upload file
option transfer binary
put D:\ExportFiles\Courses.csv
# Change remote directory
cd ..\..
cd \Vendor\Rosters
# Force binary mode transfer and upload file
option transfer binary
put D:\ExportFiles\Rosters.csv
# Disconnect
close
# Exit WinSCP
exit
. 2010-07-27 11:15:43.797 --------------------------------------------------------------------------
. 2010-07-27 11:15:43.797 WinSCP Version 4.2.8 (Build 818) (OS 5.2.3790 Service Pack 2)
. 2010-07-27 11:15:43.797 Login time: Tuesday, July 27, 2010 11:15:43 AM
. 2010-07-27 11:15:43.797 --------------------------------------------------------------------------
. 2010-07-27 11:15:43.797 Session name: ourusername@sftp.educationalvendor.com
. 2010-07-27 11:15:43.797 Host name: sftp.educationalvendor.com (Port: 22)
. 2010-07-27 11:15:43.797 User name: ourusername (Password: Yes, Key file: No)
. 2010-07-27 11:15:43.797 Tunnel: No
. 2010-07-27 11:15:43.797 Transfer Protocol: SFTP (SCP)
. 2010-07-27 11:15:43.797 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2010-07-27 11:15:43.797 Proxy: none
. 2010-07-27 11:15:43.797 SSH protocol version: 2; Compression: No
. 2010-07-27 11:15:43.797 Bypass authentication: No
. 2010-07-27 11:15:43.797 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2010-07-27 11:15:43.797 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2010-07-27 11:15:43.797 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2010-07-27 11:15:43.797 SFTP Bugs: -,-
. 2010-07-27 11:15:43.797 Return code variable: Autodetect; Lookup user groups: Yes
. 2010-07-27 11:15:43.797 Shell: default
. 2010-07-27 11:15:43.797 EOL: 0, UTF: 2
. 2010-07-27 11:15:43.797 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2010-07-27 11:15:43.797 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2010-07-27 11:15:43.797 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-07-27 11:15:43.797 Cache directory changes: Yes, Permanent: Yes
. 2010-07-27 11:15:43.797 DST mode: 1
. 2010-07-27 11:15:43.797 --------------------------------------------------------------------------
. 2010-07-27 11:15:43.813 Looking up host "sftp.educationalvendor.com"
. 2010-07-27 11:15:43.860 Connecting to 208.40.252.85 port 22
. 2010-07-27 11:15:43.938 Server version: SSH-2.0-1.36_sshlib GlobalSCAPE
. 2010-07-27 11:15:43.938 We believe remote version ignores SSH-2 maximum packet size
. 2010-07-27 11:15:43.938 We believe remote version has SSH-2 ignore bug
. 2010-07-27 11:15:43.938 Using SSH protocol version 2
. 2010-07-27 11:15:43.938 We claim version: SSH-2.0-WinSCP_release_4.2.8
. 2010-07-27 11:15:44.032 Doing Diffie-Hellman group exchange
. 2010-07-27 11:15:44.235 Doing Diffie-Hellman key exchange with hash SHA-1
. 2010-07-27 11:15:44.500 Host key fingerprint is:
. 2010-07-27 11:15:44.500 ssh-dss 1024 3c:5b:93:d0:be:16:2d:ad:50:0f:90:2b:c3:8f:57:87
. 2010-07-27 11:15:44.500 Initialised AES-256 CBC client->server encryption
. 2010-07-27 11:15:44.500 Initialised HMAC-SHA1 client->server MAC algorithm
. 2010-07-27 11:15:44.500 Initialised AES-256 CBC server->client encryption
. 2010-07-27 11:15:44.500 Initialised HMAC-SHA1 server->client MAC algorithm
! 2010-07-27 11:15:44.688 Using username "ourusername".
! 2010-07-27 11:15:44.735 Further authentication required
. 2010-07-27 11:15:44.735 Further authentication required
. 2010-07-27 11:15:44.735 Prompt (6, SSH password, , &Password: )
. 2010-07-27 11:15:44.735 Using stored password.
. 2010-07-27 11:15:44.735 Sent password
. 2010-07-27 11:15:44.782 Access granted
. 2010-07-27 11:15:44.828 Opened channel for session
. 2010-07-27 11:15:45.032 Started a shell/command
. 2010-07-27 11:15:45.032 --------------------------------------------------------------------------
. 2010-07-27 11:15:45.032 Using SFTP protocol.
. 2010-07-27 11:15:45.032 Doing startup conversation with host.
> 2010-07-27 11:15:45.032 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2010-07-27 11:15:45.078 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2010-07-27 11:15:45.078 SFTP version 3 negotiated.
. 2010-07-27 11:15:45.078 We believe the server has signed timestamps bug
. 2010-07-27 11:15:45.078 We will use UTF-8 strings for status messages only
. 2010-07-27 11:15:45.078 Getting current directory name.
. 2010-07-27 11:15:45.078 Getting real path for '.'
> 2010-07-27 11:15:45.078 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2010-07-27 11:15:45.125 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2010-07-27 11:15:45.125 Real path is '/'
. 2010-07-27 11:15:45.125 Listing directory "/".
> 2010-07-27 11:15:45.125 Type: SSH_FXP_OPENDIR, Size: 10, Number: 267
< 2010-07-27 11:15:45.203 Type: SSH_FXP_HANDLE, Size: 10, Number: 267
> 2010-07-27 11:15:45.203 Type: SSH_FXP_READDIR, Size: 10, Number: 524
< 2010-07-27 11:15:45.250 Type: SSH_FXP_NAME, Size: 94, Number: 524
> 2010-07-27 11:15:45.250 Type: SSH_FXP_READDIR, Size: 10, Number: 780
< 2010-07-27 11:15:45.297 Type: SSH_FXP_STATUS, Size: 22, Number: 780
< 2010-07-27 11:15:45.297 Status code: 1
> 2010-07-27 11:15:45.297 Type: SSH_FXP_CLOSE, Size: 10, Number: 1028
. 2010-07-27 11:15:45.297 Startup conversation with host finished.
. 2010-07-27 11:15:46.688 Cached directory change via "XEI" to "/Vendor".
. 2010-07-27 11:15:46.688 Getting current directory name.
. 2010-07-27 11:15:46.688 Listing directory "/Vendor".
> 2010-07-27 11:15:46.688 Type: SSH_FXP_OPENDIR, Size: 13, Number: 1291
< 2010-07-27 11:15:46.688 Type: SSH_FXP_STATUS, Size: 21, Number: 1028
. 2010-07-27 11:15:46.688 Discarding reserved response
< 2010-07-27 11:15:46.750 Type: SSH_FXP_HANDLE, Size: 10, Number: 1291
> 2010-07-27 11:15:46.750 Type: SSH_FXP_READDIR, Size: 10, Number: 1548
< 2010-07-27 11:15:46.797 Type: SSH_FXP_NAME, Size: 290, Number: 1548
> 2010-07-27 11:15:46.797 Type: SSH_FXP_READDIR, Size: 10, Number: 1804
< 2010-07-27 11:15:46.844 Type: SSH_FXP_STATUS, Size: 22, Number: 1804
< 2010-07-27 11:15:46.844 Status code: 1
> 2010-07-27 11:15:46.844 Type: SSH_FXP_CLOSE, Size: 10, Number: 2052
. 2010-07-27 11:15:47.735 Cached directory change via "Accounts" to "/Vendor/Accounts".
. 2010-07-27 11:15:47.735 Getting current directory name.
. 2010-07-27 11:15:47.735 Listing directory "/Vendor/Accounts".
> 2010-07-27 11:15:47.735 Type: SSH_FXP_OPENDIR, Size: 22, Number: 2315
< 2010-07-27 11:15:47.735 Type: SSH_FXP_STATUS, Size: 21, Number: 2052
. 2010-07-27 11:15:47.735 Discarding reserved response
< 2010-07-27 11:15:47.813 Type: SSH_FXP_HANDLE, Size: 10, Number: 2315
> 2010-07-27 11:15:47.813 Type: SSH_FXP_READDIR, Size: 10, Number: 2572
< 2010-07-27 11:15:47.860 Type: SSH_FXP_NAME, Size: 215, Number: 2572
> 2010-07-27 11:15:47.860 Type: SSH_FXP_READDIR, Size: 10, Number: 2828
< 2010-07-27 11:15:47.907 Type: SSH_FXP_STATUS, Size: 22, Number: 2828
< 2010-07-27 11:15:47.907 Status code: 1
> 2010-07-27 11:15:47.907 Type: SSH_FXP_CLOSE, Size: 10, Number: 3076
. 2010-07-27 11:15:50.907 Cached directory change via ".." to "/Vendor".
. 2010-07-27 11:15:50.907 Getting current directory name.
. 2010-07-27 11:15:50.922 Directory content loaded from cache.
. 2010-07-27 11:15:51.797 Cached directory change via "Courses" to "/Vendor/Courses".
. 2010-07-27 11:15:51.797 Getting current directory name.
. 2010-07-27 11:15:51.797 Listing directory "/Vendor/Courses".
> 2010-07-27 11:15:51.797 Type: SSH_FXP_OPENDIR, Size: 21, Number: 3339
< 2010-07-27 11:15:51.797 Type: SSH_FXP_STATUS, Size: 21, Number: 3076
. 2010-07-27 11:15:51.797 Discarding reserved response
< 2010-07-27 11:15:51.875 Type: SSH_FXP_HANDLE, Size: 10, Number: 3339
> 2010-07-27 11:15:51.875 Type: SSH_FXP_READDIR, Size: 10, Number: 3596
< 2010-07-27 11:15:51.922 Type: SSH_FXP_NAME, Size: 213, Number: 3596
> 2010-07-27 11:15:51.922 Type: SSH_FXP_READDIR, Size: 10, Number: 3852
< 2010-07-27 11:15:51.969 Type: SSH_FXP_STATUS, Size: 22, Number: 3852
< 2010-07-27 11:15:51.969 Status code: 1
> 2010-07-27 11:15:51.969 Type: SSH_FXP_CLOSE, Size: 10, Number: 4100
. 2010-07-27 11:15:53.391 Cached directory change via ".." to "/Vendor".
. 2010-07-27 11:15:53.391 Getting current directory name.
. 2010-07-27 11:15:53.391 Directory content loaded from cache.
. 2010-07-27 11:15:54.251 Cached directory change via "Rosters" to "/Vendor/Rosters".
. 2010-07-27 11:15:54.251 Getting current directory name.
. 2010-07-27 11:15:54.251 Listing directory "/Vendor/Rosters".
> 2010-07-27 11:15:54.251 Type: SSH_FXP_OPENDIR, Size: 21, Number: 4363
< 2010-07-27 11:15:54.251 Type: SSH_FXP_STATUS, Size: 21, Number: 4100
. 2010-07-27 11:15:54.251 Discarding reserved response
< 2010-07-27 11:15:55.891 Type: SSH_FXP_HANDLE, Size: 10, Number: 4363
> 2010-07-27 11:15:55.891 Type: SSH_FXP_READDIR, Size: 10, Number: 4620
< 2010-07-27 11:15:55.938 Type: SSH_FXP_NAME, Size: 213, Number: 4620
> 2010-07-27 11:15:55.938 Type: SSH_FXP_READDIR, Size: 10, Number: 4876
< 2010-07-27 11:15:55.985 Type: SSH_FXP_STATUS, Size: 22, Number: 4876
< 2010-07-27 11:15:55.985 Status code: 1
> 2010-07-27 11:15:55.985 Type: SSH_FXP_CLOSE, Size: 10, Number: 5124
. 2010-07-27 11:16:03.407 Cached directory change via ".." to "/Vendor".
. 2010-07-27 11:16:03.407 Getting current directory name.
. 2010-07-27 11:16:03.407 Directory content loaded from cache.
. 2010-07-27 11:16:05.423 Cached directory change via "Courses" to "/Vendor/Courses".
. 2010-07-27 11:16:05.423 Getting current directory name.
. 2010-07-27 11:16:05.438 Directory content loaded from cache.
. 2010-07-27 11:16:07.782 Cached directory change via ".." to "/Vendor".
. 2010-07-27 11:16:07.782 Getting current directory name.
. 2010-07-27 11:16:07.782 Directory content loaded from cache.
. 2010-07-27 11:16:09.142 Cached directory change via "Accounts" to "/Vendor/Accounts".
. 2010-07-27 11:16:09.142 Getting current directory name.
. 2010-07-27 11:16:09.142 Directory content loaded from cache.
. 2010-07-27 11:16:11.360 Cached directory change via ".." to "/Vendor".
. 2010-07-27 11:16:11.360 Getting current directory name.
. 2010-07-27 11:16:11.360 Directory content loaded from cache.
. 2010-07-27 11:16:13.095 Closing connection.
. 2010-07-27 11:16:13.095 Sending special code: 12
. 2010-07-27 11:16:13.095 Sent EOF message