martin wrote:
When remote directory does not exist, error message should be displayed and default (home) directory should be opened. What exacly happes to you? Can you send me a log file?
. --------------------------------------------------------------------------
. WinSCP Version 3.4.2 (Build 197)
. Login time: 19. prosinec 2003 21:38:10
. --------------------------------------------------------------------------
. Session name: root@10.2.48.111a
. Host name: 10.2.48.111 (Port: 22)
. User name: root (Password: Yes, Key file: No)
. Transfer Protocol: SCP
. SSH protocol version: 2; Compression: No
. Agent forwarding: No; TIS/CryptoCard: No; KI: Yes
. Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. Ping interval: 0 sec (0 = off); Timeout: 15 sec
. SSH Bugs: -,-,-,-,-,-,-,-,
. Proxy: none
. Return code variable: Autodetect; Lookup user groups: Yes
. Shell: default, EOL: 0
. Local directory: C:\Documents and Settings\slansky\Dokumenty, Remote directory: /tmp/test, Update: No, Cache: Yes
. Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. --------------------------------------------------------------------------
. Looking up host "10.2.48.111"
. Connecting to 10.2.48.111 port 22
. Server version: SSH-1.99-OpenSSH_3.7.1p2
. We claim version: SSH-2.0-WinSCP-release-3.4.2.197
. Using SSH protocol version 2
. Doing Diffie-Hellman group exchange
. Doing Diffie-Hellman key exchange
. Host key fingerprint is:
. ssh-rsa 1024 00:06:29:24:3d:c2:e0:68:96:20:b5:87:c0:1d:69:17
. Initialised AES-256 client->server encryption
. Initialised AES-256 server->client encryption
! Using username "root".
. Keyboard-interactive authentication refused
. Session password prompt (root@10.2.48.111's password: )
. Using stored password.
. Sent password
. Access granted
. Opened channel for session
. Started a shell/command
. --------------------------------------------------------------------------
. Using SCP protocol.
. Doing startup conversation with host.
. Skipping host startup message (if any).
> echo "WinSCP: this is end-of-file:0"
< Sun Microsystems Inc. SunOS 5.8 Generic Patch December 2002
< WinSCP: this is end-of-file:0
. Detecting variable containing return code of last command.
. Trying "$status".
> echo "$status" ; echo "WinSCP: this is end-of-file:0"
< WinSCP: this is end-of-file:0
. Trying "$?".
> echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 0
< WinSCP: this is end-of-file:0
. Return code variable "$?" selected.
. Clearing all aliases.
> unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "ls" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "alias" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "ln" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
> unalias "%s" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:1
. Clearing national user variables.
> unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
> unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$?"
< WinSCP: this is end-of-file:0
. Looking up current user groups.
> groups ; echo "WinSCP: this is end-of-file:$?"
< other root bin sys adm uucp mail tty lp nuucp daemon ncoadmin
< WinSCP: this is end-of-file:0
. Following groups found:
. other
. root
. bin
. sys
. adm
. uucp
. mail
. tty
. lp
. nuucp
. daemon
. ncoadmin
. Changing directory to "/tmp/test".
> cd "/tmp/test" ; echo "WinSCP: this is end-of-file:$?"
! -sh: /tmp/test: does not exist
. Waiting for data timed out, asking user what to do.
. Asking user:
. Host hasn't answered for 15 seconds.
.
. Wait for another 15 seconds? Pressing 'Abort' button will close session. ()
. Waiting for data timed out, asking user what to do.
. Asking user:
. Host hasn't answered for 15 seconds.
.
. Wait for another 15 seconds? Pressing 'Abort' button will close session. ()
. Attempt to close connection due to fatal exception:
* Terminated by user.
. Closing connection.
* (ESshFatal) Error changing directory to '/tmp/test'.
* Terminated by user.