Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Error Code 2 request code 18

OK, there's a chance that you do not understand what is mv command for. It is for moving remote file to another remote directory. Not for moving it to local directory. For that use "get -delete".
Guest

Re: Error Code 2 request code 18

martin wrote:

Where do you run the command line from? It looks like you run it from some environment that "eats" the backslash. Try to duplicate it:
c:\WinSCP.exe /log=c:\winscp.log /console /command "open tempus:tempusftp@192.168.166.29" "mv ftp c:\\test_bat" exit



I added the extra slash but still denied access. I am running this from windows scheduler. using a domain login and seperate session login.

Here is the log and it has changed the error codes.

. 2008-09-23 12:33:27.362 WinSCP Version 4.1.6 (Build 412) (OS 5.1.2600 Service Pack 3)
. 2008-09-23 12:33:27.362 Login time: Tuesday, September 23, 2008 12:33:27 PM
. 2008-09-23 12:33:27.362 --------------------------------------------------------------------------
. 2008-09-23 12:33:27.362 Session name: tempus@192.168.166.29
. 2008-09-23 12:33:27.362 Host name: 192.168.166.29 (Port: 22)
. 2008-09-23 12:33:27.362 User name: tempus (Password: Yes, Key file: No)
. 2008-09-23 12:33:27.362 Tunnel: No
. 2008-09-23 12:33:27.362 Transfer Protocol: SFTP (SCP)
. 2008-09-23 12:33:27.362 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-09-23 12:33:27.362 Proxy: none
. 2008-09-23 12:33:27.362 SSH protocol version: 2; Compression: No
. 2008-09-23 12:33:27.362 Bypass authentication: No
. 2008-09-23 12:33:27.362 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-09-23 12:33:27.362 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2008-09-23 12:33:27.362 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-09-23 12:33:27.362 SFTP Bugs: -,-
. 2008-09-23 12:33:27.362 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-09-23 12:33:27.362 Shell: default, EOL: 0
. 2008-09-23 12:33:27.362 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-09-23 12:33:27.362 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2008-09-23 12:33:27.362 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-09-23 12:33:27.362 Cache directory changes: Yes, Permanent: Yes
. 2008-09-23 12:33:27.362 DST mode: 1
. 2008-09-23 12:33:27.362 --------------------------------------------------------------------------
. 2008-09-23 12:33:27.362 Looking up host "192.168.166.29"
. 2008-09-23 12:33:27.362 Connecting to 192.168.166.29 port 22
. 2008-09-23 12:33:27.440 Server version: SSH-2.0-WeOnlyDo 2.0.6
. 2008-09-23 12:33:27.440 We claim version: SSH-2.0-WinSCP_release_4.1.6
. 2008-09-23 12:33:27.440 SSPI: acquired credentials for: mharper@HUNTERLABORATORIES.COM
. 2008-09-23 12:33:27.440 Cannot convert IP address to SPN: DNS is not trusted
. 2008-09-23 12:33:27.440 GSSKEX disabled: The operation completed successfully.

. 2008-09-23 12:33:27.440 Using SSH protocol version 2
. 2008-09-23 12:33:27.440 Using Diffie-Hellman with standard group "group14"
. 2008-09-23 12:33:27.440 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-09-23 12:33:27.987 Host key fingerprint is:
. 2008-09-23 12:33:27.987 ssh-rsa 2048 25:a3:ed:57:45:78:e1:7e:3e:ce:9a:36:75:fb:7a:35
. 2008-09-23 12:33:27.987 Initialised AES-256 CBC client->server encryption
. 2008-09-23 12:33:27.987 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-09-23 12:33:27.987 Initialised AES-256 CBC server->client encryption
. 2008-09-23 12:33:27.987 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-09-23 12:33:27.987 Using username "tempus".
. 2008-09-23 12:33:27.987 Prompt (6, SSH password, , &Password: )
. 2008-09-23 12:33:27.987 Using stored password.
. 2008-09-23 12:33:27.987 Sent password
. 2008-09-23 12:33:27.987 Access granted
. 2008-09-23 12:33:27.987 Opened channel for session
. 2008-09-23 12:33:27.987 Started a shell/command
. 2008-09-23 12:33:27.987 --------------------------------------------------------------------------
. 2008-09-23 12:33:27.987 Using SFTP protocol.
. 2008-09-23 12:33:27.987 Doing startup conversation with host.
> 2008-09-23 12:33:27.987 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2008-09-23 12:33:28.175 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2008-09-23 12:33:28.175 SFTP version 3 negotiated.
. 2008-09-23 12:33:28.175 We believe the server has signed timestamps bug
. 2008-09-23 12:33:28.175 We will use UTF-8 strings for status messages only
. 2008-09-23 12:33:28.175 Getting current directory name.
. 2008-09-23 12:33:28.175 Getting real path for '.'
> 2008-09-23 12:33:28.175 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2008-09-23 12:33:28.206 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2008-09-23 12:33:28.206 Real path is '/'
. 2008-09-23 12:33:28.206 Startup conversation with host finished.
. 2008-09-23 12:33:28.206 Moving file "ftp" to "c:\test_bat".
> 2008-09-23 12:33:28.206 Type: SSH_FXP_RENAME, Size: 29, Number: 274
< 2008-09-23 12:33:28.206 Type: SSH_FXP_STATUS, Size: 34, Number: 274
< 2008-09-23 12:33:28.206 Status/error code: 3, Message: 274, Server: Permission denied, Language:
. 2008-09-23 12:33:28.206 Asking user:
. 2008-09-23 12:33:28.206 Error moving file 'ftp' to 'c:\test_bat'. ("Permission denied.
. 2008-09-23 12:33:28.206 Error code: 3
. 2008-09-23 12:33:28.206 Error message from server: Permission denied
. 2008-09-23 12:33:28.206 Request code: 18")
. 2008-09-23 12:33:52.441 Closing connection.
. 2008-09-23 12:33:52.441 Sending special code: 12
. 2008-09-23 12:33:52.441 Sent EOF message
martin

Re: Error Code 2 request code 18

Where do you run the command line from? It looks like you run it from some environment that "eats" the backslash. Try to duplicate it:
c:\WinSCP.exe /log=c:\winscp.log /console /command "open tempus:tempusftp@192.168.166.29" "mv ftp c:\\test_bat" exit
hunter

Error Code 2 request code 18

I am able to use the gui to move files but using the command line I get the error code 2. I have pasted both logs and the script I am running.

Script is this: c:\WinSCP.exe /log=c:\winscp.log /console /command "open tempus:tempusftp@192.168.166.29" "mv ftp c:\test_bat" exit


log from gui:

. 2008-09-22 10:11:20.814 --------------------------------------------------------------------------
. 2008-09-22 10:11:20.814 WinSCP Version 4.1.6 (Build 412) (OS 5.1.2600 Service Pack 3)
. 2008-09-22 10:11:20.814 Login time: Monday, September 22, 2008 10:11:20 AM
. 2008-09-22 10:11:20.814 --------------------------------------------------------------------------
. 2008-09-22 10:11:20.814 Session name: tempus@192.168.166.29
. 2008-09-22 10:11:20.814 Host name: 192.168.166.29 (Port: 22)
. 2008-09-22 10:11:20.814 User name: tempus (Password: Yes, Key file: No)
. 2008-09-22 10:11:20.814 Tunnel: No
. 2008-09-22 10:11:20.814 Transfer Protocol: SFTP (SCP)
. 2008-09-22 10:11:20.814 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-09-22 10:11:20.814 Proxy: none
. 2008-09-22 10:11:20.814 SSH protocol version: 2; Compression: No
. 2008-09-22 10:11:20.814 Bypass authentication: No
. 2008-09-22 10:11:20.814 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-09-22 10:11:20.814 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2008-09-22 10:11:20.814 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-09-22 10:11:20.814 SFTP Bugs: -,-
. 2008-09-22 10:11:20.814 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-09-22 10:11:20.814 Shell: default, EOL: 0
. 2008-09-22 10:11:20.814 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-09-22 10:11:20.814 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2008-09-22 10:11:20.814 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-09-22 10:11:20.814 Cache directory changes: Yes, Permanent: Yes
. 2008-09-22 10:11:20.814 DST mode: 1
. 2008-09-22 10:11:20.814 --------------------------------------------------------------------------
. 2008-09-22 10:11:20.892 Looking up host "192.168.166.29"
. 2008-09-22 10:11:20.892 Connecting to 192.168.166.29 port 22
. 2008-09-22 10:11:20.955 Server version: SSH-2.0-WeOnlyDo 2.0.6
. 2008-09-22 10:11:20.955 We claim version: SSH-2.0-WinSCP_release_4.1.6
. 2008-09-22 10:11:20.970 SSPI: acquired credentials for: mharper@HUNTERLABORATORIES.COM
. 2008-09-22 10:11:20.970 Cannot convert IP address to SPN: DNS is not trusted
. 2008-09-22 10:11:20.970 GSSKEX disabled:
. 2008-09-22 10:11:20.970 Using SSH protocol version 2
. 2008-09-22 10:11:20.970 Using Diffie-Hellman with standard group "group14"
. 2008-09-22 10:11:20.970 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-09-22 10:11:21.408 Host key fingerprint is:
. 2008-09-22 10:11:21.408 ssh-rsa 2048 25:a3:ed:57:45:78:e1:7e:3e:ce:9a:36:75:fb:7a:35
. 2008-09-22 10:11:21.408 Initialised AES-256 CBC client->server encryption
. 2008-09-22 10:11:21.408 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-09-22 10:11:21.408 Initialised AES-256 CBC server->client encryption
. 2008-09-22 10:11:21.408 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-09-22 10:11:21.408 Using username "tempus".
. 2008-09-22 10:11:21.408 Prompt (6, SSH password, , &Password: )
. 2008-09-22 10:11:21.408 Using stored password.
. 2008-09-22 10:11:21.408 Sent password
. 2008-09-22 10:11:21.408 Access granted
. 2008-09-22 10:11:21.408 Opened channel for session
. 2008-09-22 10:11:21.424 Started a shell/command
. 2008-09-22 10:11:21.424 --------------------------------------------------------------------------
. 2008-09-22 10:11:21.424 Using SFTP protocol.
. 2008-09-22 10:11:21.424 Doing startup conversation with host.
> 2008-09-22 10:11:21.424 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2008-09-22 10:11:21.595 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2008-09-22 10:11:21.595 SFTP version 3 negotiated.
. 2008-09-22 10:11:21.595 We believe the server has signed timestamps bug
. 2008-09-22 10:11:21.595 We will use UTF-8 strings for status messages only
. 2008-09-22 10:11:21.595 Getting current directory name.
. 2008-09-22 10:11:21.595 Getting real path for '.'
> 2008-09-22 10:11:21.595 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2008-09-22 10:11:21.595 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2008-09-22 10:11:21.595 Real path is '/'
. 2008-09-22 10:11:21.595 Listing directory "/".
> 2008-09-22 10:11:21.595 Type: SSH_FXP_OPENDIR, Size: 10, Number: 267
< 2008-09-22 10:11:21.611 Type: SSH_FXP_HANDLE, Size: 22, Number: 267
> 2008-09-22 10:11:21.611 Type: SSH_FXP_READDIR, Size: 22, Number: 524
< 2008-09-22 10:11:21.611 Type: SSH_FXP_NAME, Size: 416, Number: 524
> 2008-09-22 10:11:21.611 Type: SSH_FXP_READDIR, Size: 22, Number: 780
< 2008-09-22 10:11:21.611 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2008-09-22 10:11:21.611 Status/error code: 1
> 2008-09-22 10:11:21.611 Type: SSH_FXP_CLOSE, Size: 22, Number: 1028
. 2008-09-22 10:11:21.611 Startup conversation with host finished.
. 2008-09-22 10:11:38.518 File: "/test.txt"
. 2008-09-22 10:11:38.518 Copying "/test.txt" to local directory started.
. 2008-09-22 10:11:38.518 Ascii transfer mode selected.
. 2008-09-22 10:11:38.518 Opening remote file.
> 2008-09-22 10:11:38.518 Type: SSH_FXP_OPEN, Size: 26, Number: 1283
< 2008-09-22 10:11:38.518 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2008-09-22 10:11:38.518 Discarding reserved response
< 2008-09-22 10:11:38.533 Type: SSH_FXP_HANDLE, Size: 27, Number: 1283
> 2008-09-22 10:11:38.533 Type: SSH_FXP_FSTAT, Size: 27, Number: 1544
> 2008-09-22 10:11:38.533 Type: SSH_FXP_READ, Size: 39, Number: 1797
< 2008-09-22 10:11:38.533 Type: SSH_FXP_ATTRS, Size: 37, Number: 1544
. 2008-09-22 10:11:38.533 Storing reserved response
< 2008-09-22 10:11:38.533 Status/error code: 1
. 2008-09-22 10:11:38.533 3 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2008-09-22 10:11:38.533 Type: SSH_FXP_CLOSE, Size: 27, Number: 2308
. 2008-09-22 10:11:38.533 Deleting file "/test.txt".
> 2008-09-22 10:11:38.533 Type: SSH_FXP_REMOVE, Size: 18, Number: 2573
< 2008-09-22 10:11:38.533 Type: SSH_FXP_STATUS, Size: 24, Number: 2308
. 2008-09-22 10:11:38.533 Discarding reserved response
< 2008-09-22 10:11:38.533 Type: SSH_FXP_STATUS, Size: 24, Number: 2573
< 2008-09-22 10:11:38.533 Status/error code: 0
. 2008-09-22 10:11:38.549 Listing directory "/".
> 2008-09-22 10:11:38.549 Type: SSH_FXP_OPENDIR, Size: 10, Number: 2827
< 2008-09-22 10:11:38.549 Type: SSH_FXP_HANDLE, Size: 22, Number: 2827
> 2008-09-22 10:11:38.549 Type: SSH_FXP_READDIR, Size: 22, Number: 3084
< 2008-09-22 10:11:38.549 Type: SSH_FXP_NAME, Size: 306, Number: 3084
> 2008-09-22 10:11:38.549 Type: SSH_FXP_READDIR, Size: 22, Number: 3340
< 2008-09-22 10:11:38.549 Type: SSH_FXP_STATUS, Size: 28, Number: 3340
< 2008-09-22 10:11:38.549 Status/error code: 1
> 2008-09-22 10:11:38.549 Type: SSH_FXP_CLOSE, Size: 22, Number: 3588
. 2008-09-22 10:11:58.518 Copying 1 files/directories to remote directory "/"
. 2008-09-22 10:11:58.518 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2008-09-22 10:11:58.518 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2008-09-22 10:11:58.518 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2008-09-22 10:11:58.518 File: "C:\test_bat\test.txt"
. 2008-09-22 10:11:58.518 Copying "C:\test_bat\test.txt" to remote directory started.
. 2008-09-22 10:11:58.533 Ascii transfer mode selected.
. 2008-09-22 10:11:58.533 Opening remote file.
> 2008-09-22 10:11:58.533 Type: SSH_FXP_OPEN, Size: 34, Number: 3843
< 2008-09-22 10:11:58.533 Type: SSH_FXP_STATUS, Size: 24, Number: 3588
. 2008-09-22 10:11:58.533 Discarding reserved response
< 2008-09-22 10:11:58.533 Type: SSH_FXP_HANDLE, Size: 27, Number: 3843
> 2008-09-22 10:11:58.533 Type: SSH_FXP_WRITE, Size: 93, Number: 4358
> 2008-09-22 10:11:58.533 Type: SSH_FXP_CLOSE, Size: 27, Number: 4612
< 2008-09-22 10:11:58.533 Type: SSH_FXP_STATUS, Size: 24, Number: 4358
< 2008-09-22 10:11:58.533 Status/error code: 0
> 2008-09-22 10:11:58.533 Type: SSH_FXP_SETSTAT, Size: 30, Number: 4105
< 2008-09-22 10:11:58.533 Type: SSH_FXP_STATUS, Size: 24, Number: 4612
< 2008-09-22 10:11:58.533 Status/error code: 0
< 2008-09-22 10:11:58.533 Type: SSH_FXP_STATUS, Size: 24, Number: 4105
< 2008-09-22 10:11:58.533 Status/error code: 0
. 2008-09-22 10:11:58.533 Listing directory "/".
> 2008-09-22 10:11:58.533 Type: SSH_FXP_OPENDIR, Size: 10, Number: 4875
< 2008-09-22 10:11:58.533 Type: SSH_FXP_HANDLE, Size: 22, Number: 4875
> 2008-09-22 10:11:58.533 Type: SSH_FXP_READDIR, Size: 22, Number: 5132
< 2008-09-22 10:11:58.533 Type: SSH_FXP_NAME, Size: 416, Number: 5132
> 2008-09-22 10:11:58.533 Type: SSH_FXP_READDIR, Size: 22, Number: 5388
< 2008-09-22 10:11:58.533 Type: SSH_FXP_STATUS, Size: 28, Number: 5388
< 2008-09-22 10:11:58.533 Status/error code: 1
> 2008-09-22 10:11:58.533 Type: SSH_FXP_CLOSE, Size: 22, Number: 5636
. 2008-09-22 10:12:04.143 Moving file "test.txt" to "/FTP/test.txt".
> 2008-09-22 10:12:04.143 Type: SSH_FXP_RENAME, Size: 35, Number: 5906
< 2008-09-22 10:12:04.143 Type: SSH_FXP_STATUS, Size: 24, Number: 5636
. 2008-09-22 10:12:04.143 Discarding reserved response
< 2008-09-22 10:12:04.143 Type: SSH_FXP_STATUS, Size: 24, Number: 5906
< 2008-09-22 10:12:04.143 Status/error code: 0
. 2008-09-22 10:12:04.143 Listing directory "/".
> 2008-09-22 10:12:04.143 Type: SSH_FXP_OPENDIR, Size: 10, Number: 6155
< 2008-09-22 10:12:04.143 Type: SSH_FXP_HANDLE, Size: 22, Number: 6155
> 2008-09-22 10:12:04.143 Type: SSH_FXP_READDIR, Size: 22, Number: 6412
< 2008-09-22 10:12:04.143 Type: SSH_FXP_NAME, Size: 306, Number: 6412
> 2008-09-22 10:12:04.143 Type: SSH_FXP_READDIR, Size: 22, Number: 6668
< 2008-09-22 10:12:04.143 Type: SSH_FXP_STATUS, Size: 28, Number: 6668
< 2008-09-22 10:12:04.143 Status/error code: 1
> 2008-09-22 10:12:04.143 Type: SSH_FXP_CLOSE, Size: 22, Number: 6916
* 2008-09-22 10:12:04.174 (EAbort) Operation aborted
. 2008-09-22 10:12:05.768 Cached directory change via "FTP" to "/FTP/".
. 2008-09-22 10:12:05.768 Getting current directory name.
. 2008-09-22 10:12:05.768 Listing directory "/FTP".
> 2008-09-22 10:12:05.768 Type: SSH_FXP_OPENDIR, Size: 13, Number: 7179
< 2008-09-22 10:12:05.768 Type: SSH_FXP_STATUS, Size: 24, Number: 6916
. 2008-09-22 10:12:05.768 Discarding reserved response
< 2008-09-22 10:12:05.768 Type: SSH_FXP_HANDLE, Size: 22, Number: 7179
> 2008-09-22 10:12:05.768 Type: SSH_FXP_READDIR, Size: 22, Number: 7436
< 2008-09-22 10:12:05.768 Type: SSH_FXP_NAME, Size: 315, Number: 7436
> 2008-09-22 10:12:05.768 Type: SSH_FXP_READDIR, Size: 22, Number: 7692
< 2008-09-22 10:12:05.768 Type: SSH_FXP_STATUS, Size: 28, Number: 7692
< 2008-09-22 10:12:05.768 Status/error code: 1
> 2008-09-22 10:12:05.768 Type: SSH_FXP_CLOSE, Size: 22, Number: 7940
. 2008-09-22 10:12:08.096 Closing connection.
. 2008-09-22 10:12:08.096 Sending special code: 12
. 2008-09-22 10:12:08.096 Sent EOF message



Log from command line:

. 2008-09-22 10:15:54.786 --------------------------------------------------------------------------
. 2008-09-22 10:15:54.786 WinSCP Version 4.1.6 (Build 412) (OS 5.1.2600 Service Pack 3)
. 2008-09-22 10:15:54.786 Login time: Monday, September 22, 2008 10:15:54 AM
. 2008-09-22 10:15:54.786 --------------------------------------------------------------------------
. 2008-09-22 10:15:54.786 Session name: tempus@192.168.166.29
. 2008-09-22 10:15:54.786 Host name: 192.168.166.29 (Port: 22)
. 2008-09-22 10:15:54.786 User name: tempus (Password: Yes, Key file: No)
. 2008-09-22 10:15:54.786 Tunnel: No
. 2008-09-22 10:15:54.786 Transfer Protocol: SFTP (SCP)
. 2008-09-22 10:15:54.786 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-09-22 10:15:54.786 Proxy: none
. 2008-09-22 10:15:54.786 SSH protocol version: 2; Compression: No
. 2008-09-22 10:15:54.786 Bypass authentication: No
. 2008-09-22 10:15:54.786 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-09-22 10:15:54.786 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2008-09-22 10:15:54.786 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-09-22 10:15:54.786 SFTP Bugs: -,-
. 2008-09-22 10:15:54.786 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-09-22 10:15:54.786 Shell: default, EOL: 0
. 2008-09-22 10:15:54.786 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-09-22 10:15:54.786 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2008-09-22 10:15:54.786 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-09-22 10:15:54.786 Cache directory changes: Yes, Permanent: Yes
. 2008-09-22 10:15:54.802 DST mode: 1
. 2008-09-22 10:15:54.802 --------------------------------------------------------------------------
. 2008-09-22 10:15:54.802 Looking up host "192.168.166.29"
. 2008-09-22 10:15:54.802 Connecting to 192.168.166.29 port 22
. 2008-09-22 10:15:54.865 Server version: SSH-2.0-WeOnlyDo 2.0.6
. 2008-09-22 10:15:54.865 We claim version: SSH-2.0-WinSCP_release_4.1.6
. 2008-09-22 10:15:54.865 SSPI: acquired credentials for: mharper@HUNTERLABORATORIES.COM
. 2008-09-22 10:15:54.865 Cannot convert IP address to SPN: DNS is not trusted
. 2008-09-22 10:15:54.865 GSSKEX disabled: The operation completed successfully.

. 2008-09-22 10:15:54.865 Using SSH protocol version 2
. 2008-09-22 10:15:54.865 Using Diffie-Hellman with standard group "group14"
. 2008-09-22 10:15:54.865 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-09-22 10:15:55.271 Host key fingerprint is:
. 2008-09-22 10:15:55.271 ssh-rsa 2048 25:a3:ed:57:45:78:e1:7e:3e:ce:9a:36:75:fb:7a:35
. 2008-09-22 10:15:55.271 Initialised AES-256 CBC client->server encryption
. 2008-09-22 10:15:55.271 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-09-22 10:15:55.271 Initialised AES-256 CBC server->client encryption
. 2008-09-22 10:15:55.271 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-09-22 10:15:55.271 Using username "tempus".
. 2008-09-22 10:15:55.271 Prompt (6, SSH password, , &Password: )
. 2008-09-22 10:15:55.271 Using stored password.
. 2008-09-22 10:15:55.271 Sent password
. 2008-09-22 10:15:55.286 Access granted
. 2008-09-22 10:15:55.286 Opened channel for session
. 2008-09-22 10:15:55.286 Started a shell/command
. 2008-09-22 10:15:55.286 --------------------------------------------------------------------------
. 2008-09-22 10:15:55.286 Using SFTP protocol.
. 2008-09-22 10:15:55.286 Doing startup conversation with host.
> 2008-09-22 10:15:55.286 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2008-09-22 10:15:55.396 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2008-09-22 10:15:55.396 SFTP version 3 negotiated.
. 2008-09-22 10:15:55.396 We believe the server has signed timestamps bug
. 2008-09-22 10:15:55.396 We will use UTF-8 strings for status messages only
. 2008-09-22 10:15:55.396 Getting current directory name.
. 2008-09-22 10:15:55.396 Getting real path for '.'
> 2008-09-22 10:15:55.396 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2008-09-22 10:15:55.396 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2008-09-22 10:15:55.396 Real path is '/'
. 2008-09-22 10:15:55.396 Startup conversation with host finished.
. 2008-09-22 10:15:55.396 Moving file "test" to "c:test_bat".
> 2008-09-22 10:15:55.396 Type: SSH_FXP_RENAME, Size: 29, Number: 274
< 2008-09-22 10:15:55.396 Type: SSH_FXP_STATUS, Size: 29, Number: 274
< 2008-09-22 10:15:55.396 Status/error code: 2, Message: 274, Server: No such file, Language:
. 2008-09-22 10:15:55.396 Asking user:
. 2008-09-22 10:15:55.396 Error moving file 'test' to 'c:test_bat'. ("No such file or directory.
. 2008-09-22 10:15:55.396 Error code: 2
. 2008-09-22 10:15:55.396 Error message from server: No such file
. 2008-09-22 10:15:55.396 Request code: 18")
. 2008-09-22 10:18:35.382 Closing connection.
. 2008-09-22 10:18:35.382 Sending special code: 12
. 2008-09-22 10:18:35.382 Sent EOF message

Thanks for the help

Mark :)