WinSCP ignores .profile

Advertisement

Ron2
Guest

WinSCP ignores .profile

Hi,

i have some problems with permissions after the transmission of files.
I read some similar threads here, but could not find out, what to do to
solve the problem.

The task is easy, i want to transfer files to unix and i don't want to set
the permissions from WinSCP. Instead the permissions are defined in the
.profile on the Unix System (HP-UX B.11.23 U ia64). The .profile contains
"umask 000", but it seams that WinSCP don't care about it. In WinSCP i
unchecked "Set permissions". The SFTP-Server is "SSH-2.0-OpenSSH_4.4p1-hpn12v11"

I tried different settings, but the transferred files have always "rw-r--r--".
Therefore WinSCP does not read the .profile and i don't understand why WinSCP
is using these permissions. It makes no difference if i change the permissions
of the unix folders, for example "Test_RAH" (see logfile below). I also tried
to specify the exact path for the shell or use another shell, but it was not
successful.

The only way to change the permissions is to check the box "Set permissions"
in "Upload options". But i don't want to do that, the better way is to make
the correct settings on the Unix system.

Is that a bug, that the .profile is not read from WinSCP? Do you have another
idea for this problem?

Thanks for help
Ron


. 2008-09-16 11:10:32.344 --------------------------------------------------------------------------
. 2008-09-16 11:10:32.344 WinSCP Version 4.0.5 (Build 354) (OS 5.1.2600 Service Pack 2)
. 2008-09-16 11:10:32.344 Login time: Dienstag, 16. September 2008 11:10:32
. 2008-09-16 11:10:32.344 --------------------------------------------------------------------------
. 2008-09-16 11:10:32.344 Session name: session_xyz
. 2008-09-16 11:10:32.344 Host name: host-xyz (Port: 22)
. 2008-09-16 11:10:32.344 User name: abc (Password: Yes, Key file: No)
. 2008-09-16 11:10:32.344 Tunnel: No
. 2008-09-16 11:10:32.344 Transfer Protocol: SFTP
. 2008-09-16 11:10:32.344 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-09-16 11:10:32.344 Proxy: none
. 2008-09-16 11:10:32.344 SSH protocol version: 2; Compression: No
. 2008-09-16 11:10:32.344 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-09-16 11:10:32.344 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2008-09-16 11:10:32.344 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-09-16 11:10:32.344 SFTP Bugs: -,-,-
. 2008-09-16 11:10:32.344 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-09-16 11:10:32.344 Shell: default, EOL: 0
. 2008-09-16 11:10:32.344 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-09-16 11:10:32.344 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2008-09-16 11:10:32.344 Local directory: C:\rah\TMPOOL, Remote directory: /vw-edi/transtest/test_RAH, Update: No, Cache: Yes
. 2008-09-16 11:10:32.344 Cache directory changes: Yes, Permanent: Yes
. 2008-09-16 11:10:32.344 DST mode: 1
. 2008-09-16 11:10:32.344 --------------------------------------------------------------------------
. 2008-09-16 11:10:32.359 Looking up host "host-xyz"
. 2008-09-16 11:10:32.359 Connecting to 192.168.xyz.xyz port 22
. 2008-09-16 11:10:32.359 Selecting events 63 for socket 460
. 2008-09-16 11:10:32.359 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.359 Looking for incoming data
. 2008-09-16 11:10:32.359 Looking for network events
. 2008-09-16 11:10:32.359 Detected network event
. 2008-09-16 11:10:32.359 Enumerating network events for socket 460
. 2008-09-16 11:10:32.359 Enumerated 18 network events for socket 460
. 2008-09-16 11:10:32.359 Detected network write event on socket 460 with error 0
. 2008-09-16 11:10:32.359 Detected network connect event on socket 460 with error 0
. 2008-09-16 11:10:32.359 Looking for network events
. 2008-09-16 11:10:32.390 Detected network event
. 2008-09-16 11:10:32.390 Enumerating network events for socket 460
. 2008-09-16 11:10:32.390 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.390 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.390 Server version: SSH-2.0-OpenSSH_4.4p1-hpn12v11
. 2008-09-16 11:10:32.390 We claim version: SSH-2.0-WinSCP_release_4.0.5
. 2008-09-16 11:10:32.390 Using SSH protocol version 2
. 2008-09-16 11:10:32.390 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.390 Looking for incoming data
. 2008-09-16 11:10:32.390 Looking for network events
. 2008-09-16 11:10:32.406 Detected network event
. 2008-09-16 11:10:32.406 Enumerating network events for socket 460
. 2008-09-16 11:10:32.406 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.406 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.406 Doing Diffie-Hellman group exchange
. 2008-09-16 11:10:32.406 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.406 Looking for incoming data
. 2008-09-16 11:10:32.406 Looking for network events
. 2008-09-16 11:10:32.484 Detected network event
. 2008-09-16 11:10:32.484 Enumerating network events for socket 460
. 2008-09-16 11:10:32.484 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.484 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.484 Doing Diffie-Hellman key exchange
. 2008-09-16 11:10:32.594 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.594 Looking for incoming data
. 2008-09-16 11:10:32.594 Looking for network events
. 2008-09-16 11:10:32.609 Detected network event
. 2008-09-16 11:10:32.609 Enumerating network events for socket 460
. 2008-09-16 11:10:32.609 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.609 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.750 Selecting events 63 for socket 460
. 2008-09-16 11:10:32.750 Host key fingerprint is:
. 2008-09-16 11:10:32.750 ssh-rsa 2048 a7:9e:28:7f:ec:5c:44:f4:3a:72:91:cc:25:d0:a0:98
. 2008-09-16 11:10:32.750 Initialised AES-256 client->server encryption
. 2008-09-16 11:10:32.750 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-09-16 11:10:32.750 Initialised AES-256 server->client encryption
. 2008-09-16 11:10:32.750 Initialised HMAC-SHA1 server->client MAC algorithm
. 2008-09-16 11:10:32.750 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.750 Looking for incoming data
. 2008-09-16 11:10:32.750 Looking for network events
. 2008-09-16 11:10:32.828 Detected network event
. 2008-09-16 11:10:32.828 Enumerating network events for socket 460
. 2008-09-16 11:10:32.828 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.828 Detected network read event on socket 460 with error 0
! 2008-09-16 11:10:32.828 Using username "edi".
. 2008-09-16 11:10:32.828 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.828 Looking for incoming data
. 2008-09-16 11:10:32.828 Looking for network events
. 2008-09-16 11:10:32.828 Detected network event
. 2008-09-16 11:10:32.828 Enumerating network events for socket 460
. 2008-09-16 11:10:32.828 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.828 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.828 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.828 Looking for incoming data
. 2008-09-16 11:10:32.828 Looking for network events
. 2008-09-16 11:10:32.828 Detected network event
. 2008-09-16 11:10:32.828 Enumerating network events for socket 460
. 2008-09-16 11:10:32.828 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.828 Detected network read event on socket 460 with error 0
! 2008-09-16 11:10:32.828 Using keyboard-interactive authentication.
. 2008-09-16 11:10:32.828 Password: prompt from server
. 2008-09-16 11:10:32.828 Using stored password.
. 2008-09-16 11:10:32.828 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.828 Looking for incoming data
. 2008-09-16 11:10:32.828 Looking for network events
. 2008-09-16 11:10:32.844 Detected network event
. 2008-09-16 11:10:32.844 Enumerating network events for socket 460
. 2008-09-16 11:10:32.844 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.844 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.844 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.844 Looking for incoming data
. 2008-09-16 11:10:32.844 Looking for network events
. 2008-09-16 11:10:32.844 Detected network event
. 2008-09-16 11:10:32.844 Enumerating network events for socket 460
. 2008-09-16 11:10:32.844 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.844 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.844 Access granted
. 2008-09-16 11:10:32.844 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.844 Looking for incoming data
. 2008-09-16 11:10:32.844 Looking for network events
. 2008-09-16 11:10:32.859 Detected network event
. 2008-09-16 11:10:32.859 Enumerating network events for socket 460
. 2008-09-16 11:10:32.859 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.859 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.859 Opened channel for session
. 2008-09-16 11:10:32.859 Waiting for the server to continue with the initialisation
. 2008-09-16 11:10:32.859 Looking for incoming data
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Detected network event
. 2008-09-16 11:10:32.859 Enumerating network events for socket 460
. 2008-09-16 11:10:32.859 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.859 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.859 Started a shell/command
. 2008-09-16 11:10:32.859 --------------------------------------------------------------------------
. 2008-09-16 11:10:32.859 Using SFTP protocol.
. 2008-09-16 11:10:32.859 Doing startup conversation with host.
> 2008-09-16 11:10:32.859 Type: SSH_FXP_INIT, Size: 5, Number: -1
> 2008-09-16 11:10:32.859 01,00,00,00,05,
. 2008-09-16 11:10:32.859 Sent 9 bytes
. 2008-09-16 11:10:32.859 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Timeout waiting for network events
. 2008-09-16 11:10:32.859 Waiting for another 4 bytes
. 2008-09-16 11:10:32.859 Looking for incoming data
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Detected network event
. 2008-09-16 11:10:32.859 Enumerating network events for socket 460
. 2008-09-16 11:10:32.859 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.859 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.859 Received 9 bytes (0)
. 2008-09-16 11:10:32.859 Read 4 bytes (5 pending)
. 2008-09-16 11:10:32.859 Read 5 bytes (0 pending)
< 2008-09-16 11:10:32.859 Type: SSH_FXP_VERSION, Size: 5, Number: -1
< 2008-09-16 11:10:32.859 02,00,00,00,03,
. 2008-09-16 11:10:32.859 SFTP version 3 negotiated.
. 2008-09-16 11:10:32.859 We believe the server has signed timestamps bug
. 2008-09-16 11:10:32.859 We will use UTF-8 strings for status messages only
. 2008-09-16 11:10:32.859 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2008-09-16 11:10:32.859 Changing directory to "/vw-edi/transtest/test_RAH".
. 2008-09-16 11:10:32.859 Getting real path for '/vw-edi/transtest/test_RAH'
> 2008-09-16 11:10:32.859 Type: SSH_FXP_REALPATH, Size: 35, Number: 16
> 2008-09-16 11:10:32.859 10,00,00,00,10,00,00,00,1A,2F,76,77,2D,65,64,69,2F,74,72,61,6E,73,74,65,73,
> 2008-09-16 11:10:32.859 74,2F,74,65,73,74,5F,52,41,48,
. 2008-09-16 11:10:32.859 Sent 39 bytes
. 2008-09-16 11:10:32.859 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Timeout waiting for network events
. 2008-09-16 11:10:32.859 Waiting for another 4 bytes
. 2008-09-16 11:10:32.859 Looking for incoming data
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Detected network event
. 2008-09-16 11:10:32.859 Enumerating network events for socket 460
. 2008-09-16 11:10:32.859 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.859 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.859 Received 77 bytes (0)
. 2008-09-16 11:10:32.859 Read 4 bytes (73 pending)
. 2008-09-16 11:10:32.859 Read 73 bytes (0 pending)
< 2008-09-16 11:10:32.859 Type: SSH_FXP_NAME, Size: 73, Number: 16
< 2008-09-16 11:10:32.859 68,00,00,00,10,00,00,00,01,00,00,00,1A,2F,76,77,2D,65,64,69,2F,74,72,61,6E,
< 2008-09-16 11:10:32.859 73,74,65,73,74,2F,74,65,73,74,5F,52,41,48,00,00,00,1A,2F,76,77,2D,65,64,69,
< 2008-09-16 11:10:32.859 2F,74,72,61,6E,73,74,65,73,74,2F,74,65,73,74,5F,52,41,48,00,00,00,00,
. 2008-09-16 11:10:32.859 Real path is '/vw-edi/transtest/test_RAH'
. 2008-09-16 11:10:32.859 Trying to open directory "/vw-edi/transtest/test_RAH".
> 2008-09-16 11:10:32.859 Type: SSH_FXP_LSTAT, Size: 35, Number: 263
> 2008-09-16 11:10:32.859 07,00,00,01,07,00,00,00,1A,2F,76,77,2D,65,64,69,2F,74,72,61,6E,73,74,65,73,
> 2008-09-16 11:10:32.859 74,2F,74,65,73,74,5F,52,41,48,
. 2008-09-16 11:10:32.859 Sent 39 bytes
. 2008-09-16 11:10:32.859 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Timeout waiting for network events
. 2008-09-16 11:10:32.859 Waiting for another 4 bytes
. 2008-09-16 11:10:32.859 Looking for incoming data
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Detected network event
. 2008-09-16 11:10:32.859 Enumerating network events for socket 460
. 2008-09-16 11:10:32.859 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.859 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.859 Received 41 bytes (0)
. 2008-09-16 11:10:32.859 Read 4 bytes (37 pending)
. 2008-09-16 11:10:32.859 Read 37 bytes (0 pending)
< 2008-09-16 11:10:32.859 Type: SSH_FXP_ATTRS, Size: 37, Number: 263
< 2008-09-16 11:10:32.859 69,00,00,01,07,00,00,00,0F,00,00,00,00,00,00,04,00,00,00,00,6D,00,00,00,6B,
< 2008-09-16 11:10:32.859 00,00,41,C0,48,CF,77,E3,48,CE,78,37,
. 2008-09-16 11:10:32.859 Getting current directory name.
. 2008-09-16 11:10:32.859 Listing directory "/vw-edi/transtest/test_RAH".
> 2008-09-16 11:10:32.859 Type: SSH_FXP_OPENDIR, Size: 35, Number: 523
> 2008-09-16 11:10:32.859 0B,00,00,02,0B,00,00,00,1A,2F,76,77,2D,65,64,69,2F,74,72,61,6E,73,74,65,73,
> 2008-09-16 11:10:32.859 74,2F,74,65,73,74,5F,52,41,48,
. 2008-09-16 11:10:32.859 Sent 39 bytes
. 2008-09-16 11:10:32.859 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Timeout waiting for network events
. 2008-09-16 11:10:32.859 Waiting for another 4 bytes
. 2008-09-16 11:10:32.859 Looking for incoming data
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Detected network event
. 2008-09-16 11:10:32.859 Enumerating network events for socket 460
. 2008-09-16 11:10:32.859 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.859 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.859 Received 17 bytes (0)
. 2008-09-16 11:10:32.859 Read 4 bytes (13 pending)
. 2008-09-16 11:10:32.859 Read 13 bytes (0 pending)
< 2008-09-16 11:10:32.859 Type: SSH_FXP_HANDLE, Size: 13, Number: 523
< 2008-09-16 11:10:32.859 66,00,00,02,0B,00,00,00,04,00,00,00,00,
> 2008-09-16 11:10:32.859 Type: SSH_FXP_READDIR, Size: 13, Number: 780
> 2008-09-16 11:10:32.859 0C,00,00,03,0C,00,00,00,04,00,00,00,00,
. 2008-09-16 11:10:32.859 Sent 17 bytes
. 2008-09-16 11:10:32.859 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.859 Timeout waiting for network events
. 2008-09-16 11:10:32.859 Waiting for another 4 bytes
. 2008-09-16 11:10:32.859 Looking for incoming data
. 2008-09-16 11:10:32.859 Looking for network events
. 2008-09-16 11:10:32.875 Detected network event
. 2008-09-16 11:10:32.875 Enumerating network events for socket 460
. 2008-09-16 11:10:32.875 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.875 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.875 Received 469 bytes (0)
. 2008-09-16 11:10:32.875 Read 4 bytes (465 pending)
. 2008-09-16 11:10:32.875 Read 465 bytes (0 pending)
< 2008-09-16 11:10:32.875 Type: SSH_FXP_NAME, Size: 465, Number: 780
< 2008-09-16 11:10:32.875 68,00,00,03,0C,00,00,00,04,00,00,00,01,2E,00,00,00,3C,64,72,77,78,2D,2D,2D,
< 2008-09-16 11:10:32.875 2D,2D,2D,20,20,20,20,32,20,65,64,69,20,20,20,20,20,20,65,64,69,74,72,61,6E,
< 2008-09-16 11:10:32.875 73,66,65,72,20,20,20,20,20,31,30,32,34,20,53,65,70,20,31,35,20,31,36,3A,35,
< 2008-09-16 11:10:32.875 39,20,2E,00,00,00,0F,00,00,00,00,00,00,04,00,00,00,00,6D,00,00,00,6B,00,00,
< 2008-09-16 11:10:32.875 41,C0,48,CF,78,08,48,CE,78,37,00,00,00,02,2E,2E,00,00,00,3D,64,72,77,78,72,
< 2008-09-16 11:10:32.875 77,78,72,77,78,20,20,20,20,39,20,65,64,69,20,20,20,20,20,20,65,64,69,74,72,
< 2008-09-16 11:10:32.875 61,6E,73,66,65,72,20,20,20,20,20,31,30,32,34,20,53,65,70,20,20,39,20,31,33,
< 2008-09-16 11:10:32.875 3A,35,38,20,2E,2E,00,00,00,0F,00,00,00,00,00,00,04,00,00,00,00,6D,00,00,00,
< 2008-09-16 11:10:32.875 6B,00,00,41,FF,48,CA,73,64,48,C6,64,CB,00,00,00,0D,54,65,73,74,5F,52,61,68,
< 2008-09-16 11:10:32.875 35,2E,74,78,74,00,00,00,48,2D,72,77,2D,72,77,2D,2D,2D,2D,20,20,20,20,31,20,
< 2008-09-16 11:10:32.875 65,64,69,20,20,20,20,20,20,65,64,69,74,72,61,6E,73,66,65,72,20,20,20,20,20,
< 2008-09-16 11:10:32.875 20,20,20,35,20,53,65,70,20,20,39,20,31,33,3A,34,39,20,54,65,73,74,5F,52,61,
< 2008-09-16 11:10:32.875 68,35,2E,74,78,74,00,00,00,0F,00,00,00,00,00,00,00,05,00,00,00,6D,00,00,00,
< 2008-09-16 11:10:32.875 6B,00,00,81,B0,48,CE,69,83,48,C6,62,B1,00,00,00,0E,54,65,73,74,5F,52,61,68,
< 2008-09-16 11:10:32.875 31,31,2E,74,78,74,00,00,00,49,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,
< 2008-09-16 11:10:32.875 20,65,64,69,20,20,20,20,20,20,65,64,69,74,72,61,6E,73,66,65,72,20,20,20,20,
< 2008-09-16 11:10:32.875 20,20,20,20,35,20,53,65,70,20,20,39,20,31,33,3A,34,39,20,54,65,73,74,5F,52,
< 2008-09-16 11:10:32.875 61,68,31,31,2E,74,78,74,00,00,00,0F,00,00,00,00,00,00,00,05,00,00,00,6D,00,
< 2008-09-16 11:10:32.875 00,00,6B,00,00,81,A4,48,CE,69,6E,48,C6,62,B1,
> 2008-09-16 11:10:32.875 Type: SSH_FXP_READDIR, Size: 13, Number: 1036
> 2008-09-16 11:10:32.875 0C,00,00,04,0C,00,00,00,04,00,00,00,00,
. 2008-09-16 11:10:32.875 Sent 17 bytes
. 2008-09-16 11:10:32.875 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:32.875 Looking for network events
. 2008-09-16 11:10:32.875 Timeout waiting for network events
. 2008-09-16 11:10:32.875 Waiting for another 4 bytes
. 2008-09-16 11:10:32.875 Looking for incoming data
. 2008-09-16 11:10:32.875 Looking for network events
. 2008-09-16 11:10:32.875 Detected network event
. 2008-09-16 11:10:32.875 Enumerating network events for socket 460
. 2008-09-16 11:10:32.875 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:32.875 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:32.875 Received 32 bytes (0)
. 2008-09-16 11:10:32.875 Read 4 bytes (28 pending)
. 2008-09-16 11:10:32.875 Read 28 bytes (0 pending)
< 2008-09-16 11:10:32.875 Type: SSH_FXP_STATUS, Size: 28, Number: 1036
< 2008-09-16 11:10:32.875 65,00,00,04,0C,00,00,00,01,00,00,00,0B,45,6E,64,20,6F,66,20,66,69,6C,65,00,
< 2008-09-16 11:10:32.875 00,00,00,
< 2008-09-16 11:10:32.875 Status/error code: 1
> 2008-09-16 11:10:32.875 Type: SSH_FXP_CLOSE, Size: 13, Number: 1284
> 2008-09-16 11:10:32.875 04,00,00,05,04,00,00,00,04,00,00,00,00,
. 2008-09-16 11:10:32.875 Sent 17 bytes
. 2008-09-16 11:10:32.875 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:32.875 Looking for network events
. 2008-09-16 11:10:32.875 Timeout waiting for network events
. 2008-09-16 11:10:32.875 Startup conversation with host finished.
. 2008-09-16 11:10:33.547 Session upkeep
. 2008-09-16 11:10:33.547 Looking for network events
. 2008-09-16 11:10:33.547 Detected network event
. 2008-09-16 11:10:33.547 Enumerating network events for socket 460
. 2008-09-16 11:10:33.547 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:33.547 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:33.547 Received 28 bytes (0)
. 2008-09-16 11:10:34.047 Session upkeep
. 2008-09-16 11:10:34.047 Looking for network events
. 2008-09-16 11:10:34.047 Timeout waiting for network events
. 2008-09-16 11:10:34.547 Session upkeep
. 2008-09-16 11:10:34.547 Looking for network events
. 2008-09-16 11:10:34.547 Timeout waiting for network events
. 2008-09-16 11:10:35.047 Session upkeep
. 2008-09-16 11:10:35.047 Looking for network events
. 2008-09-16 11:10:35.047 Timeout waiting for network events
. 2008-09-16 11:10:35.547 Session upkeep
. 2008-09-16 11:10:35.547 Looking for network events
. 2008-09-16 11:10:35.547 Timeout waiting for network events
. 2008-09-16 11:10:36.047 Session upkeep
. 2008-09-16 11:10:36.047 Looking for network events
. 2008-09-16 11:10:36.047 Timeout waiting for network events
. 2008-09-16 11:10:36.157 Copying 1 files/directories to remote directory "/vw-edi/transtest/test_RAH/"
. 2008-09-16 11:10:36.157 PrTime: Yes; PrRO: Yes; Rght: rw-rw----; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2008-09-16 11:10:36.157 TM: A; ClAr: No; ExclM(No):
. 2008-09-16 11:10:36.157 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2008-09-16 11:10:36.157 File: "C:\rah\TMPOOL\Testfile.txt"
. 2008-09-16 11:10:36.157 Copying "C:\rah\TMPOOL\Testfile.txt" to remote directory started.
. 2008-09-16 11:10:36.157 Ascii transfer mode selected.
. 2008-09-16 11:10:36.157 Opening remote file.
> 2008-09-16 11:10:36.172 Type: SSH_FXP_OPEN, Size: 64, Number: 1539
> 2008-09-16 11:10:36.172 03,00,00,06,03,00,00,00,27,2F,76,77,2D,65,64,69,2F,74,72,61,6E,73,74,65,73,
> 2008-09-16 11:10:36.172 74,2F,74,65,73,74,5F,52,41,48,2F,54,65,73,74,66,69,6C,65,2E,74,78,74,00,00,
> 2008-09-16 11:10:36.172 00,3A,00,00,00,01,00,00,00,00,00,00,00,06,
. 2008-09-16 11:10:36.172 Sent 68 bytes
. 2008-09-16 11:10:36.172 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.172 Looking for network events
. 2008-09-16 11:10:36.172 Timeout waiting for network events
. 2008-09-16 11:10:36.172 Read 4 bytes (24 pending)
. 2008-09-16 11:10:36.172 Read 24 bytes (0 pending)
< 2008-09-16 11:10:36.172 Type: SSH_FXP_STATUS, Size: 24, Number: 1284
< 2008-09-16 11:10:36.172 65,00,00,05,04,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
. 2008-09-16 11:10:36.172 Discarding reserved response
. 2008-09-16 11:10:36.172 Waiting for another 4 bytes
. 2008-09-16 11:10:36.172 Looking for incoming data
. 2008-09-16 11:10:36.172 Looking for network events
. 2008-09-16 11:10:36.172 Detected network event
. 2008-09-16 11:10:36.172 Enumerating network events for socket 460
. 2008-09-16 11:10:36.172 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:36.172 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:36.172 Received 17 bytes (0)
. 2008-09-16 11:10:36.172 Read 4 bytes (13 pending)
. 2008-09-16 11:10:36.172 Read 13 bytes (0 pending)
< 2008-09-16 11:10:36.172 Type: SSH_FXP_HANDLE, Size: 13, Number: 1539
< 2008-09-16 11:10:36.172 66,00,00,06,03,00,00,00,04,00,00,00,00,
> 2008-09-16 11:10:36.172 Type: SSH_FXP_WRITE, Size: 30, Number: 2054
> 2008-09-16 11:10:36.172 06,00,00,08,06,00,00,00,04,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,05,
> 2008-09-16 11:10:36.172 54,65,73,74,0A,
. 2008-09-16 11:10:36.172 Sent 34 bytes
. 2008-09-16 11:10:36.172 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.172 Looking for network events
. 2008-09-16 11:10:36.172 Timeout waiting for network events
> 2008-09-16 11:10:36.172 Type: SSH_FXP_CLOSE, Size: 13, Number: 2308
> 2008-09-16 11:10:36.172 04,00,00,09,04,00,00,00,04,00,00,00,00,
. 2008-09-16 11:10:36.172 Sent 17 bytes
. 2008-09-16 11:10:36.172 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.172 Looking for network events
. 2008-09-16 11:10:36.172 Timeout waiting for network events
> 2008-09-16 11:10:36.172 Type: SSH_FXP_SETSTAT, Size: 60, Number: 1801
> 2008-09-16 11:10:36.172 09,00,00,07,09,00,00,00,27,2F,76,77,2D,65,64,69,2F,74,72,61,6E,73,74,65,73,
> 2008-09-16 11:10:36.172 74,2F,74,65,73,74,5F,52,41,48,2F,54,65,73,74,66,69,6C,65,2E,74,78,74,00,00,
> 2008-09-16 11:10:36.172 00,08,48,CF,69,E9,48,C6,62,B1,
. 2008-09-16 11:10:36.172 Sent 64 bytes
. 2008-09-16 11:10:36.172 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.172 Looking for network events
. 2008-09-16 11:10:36.172 Detected network event
. 2008-09-16 11:10:36.172 Enumerating network events for socket 460
. 2008-09-16 11:10:36.172 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:36.172 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:36.172 Received 28 bytes (0)
. 2008-09-16 11:10:36.172 Read 4 bytes (24 pending)
. 2008-09-16 11:10:36.172 Read 24 bytes (0 pending)
< 2008-09-16 11:10:36.172 Type: SSH_FXP_STATUS, Size: 24, Number: 2054
< 2008-09-16 11:10:36.172 65,00,00,08,06,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
< 2008-09-16 11:10:36.172 Status/error code: 0
. 2008-09-16 11:10:36.172 Waiting for another 4 bytes
. 2008-09-16 11:10:36.172 Looking for incoming data
. 2008-09-16 11:10:36.172 Looking for network events
. 2008-09-16 11:10:36.172 Detected network event
. 2008-09-16 11:10:36.172 Enumerating network events for socket 460
. 2008-09-16 11:10:36.172 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:36.172 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:36.172 Received 28 bytes (0)
. 2008-09-16 11:10:36.172 Received 28 bytes (0)
. 2008-09-16 11:10:36.172 Read 4 bytes (52 pending)
. 2008-09-16 11:10:36.172 Read 24 bytes (28 pending)
< 2008-09-16 11:10:36.172 Type: SSH_FXP_STATUS, Size: 24, Number: 2308
< 2008-09-16 11:10:36.188 65,00,00,09,04,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
< 2008-09-16 11:10:36.188 Status/error code: 0
. 2008-09-16 11:10:36.188 Read 4 bytes (24 pending)
. 2008-09-16 11:10:36.188 Read 24 bytes (0 pending)
< 2008-09-16 11:10:36.188 Type: SSH_FXP_STATUS, Size: 24, Number: 1801
< 2008-09-16 11:10:36.188 65,00,00,07,09,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
< 2008-09-16 11:10:36.188 Status/error code: 0
. 2008-09-16 11:10:36.188 Listing directory "/vw-edi/transtest/test_RAH".
> 2008-09-16 11:10:36.188 Type: SSH_FXP_OPENDIR, Size: 35, Number: 2571
> 2008-09-16 11:10:36.188 0B,00,00,0A,0B,00,00,00,1A,2F,76,77,2D,65,64,69,2F,74,72,61,6E,73,74,65,73,
> 2008-09-16 11:10:36.188 74,2F,74,65,73,74,5F,52,41,48,
. 2008-09-16 11:10:36.188 Sent 39 bytes
. 2008-09-16 11:10:36.188 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.188 Looking for network events
. 2008-09-16 11:10:36.188 Timeout waiting for network events
. 2008-09-16 11:10:36.188 Waiting for another 4 bytes
. 2008-09-16 11:10:36.188 Looking for incoming data
. 2008-09-16 11:10:36.188 Looking for network events
. 2008-09-16 11:10:36.188 Detected network event
. 2008-09-16 11:10:36.188 Enumerating network events for socket 460
. 2008-09-16 11:10:36.188 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:36.188 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:36.188 Received 17 bytes (0)
. 2008-09-16 11:10:36.188 Read 4 bytes (13 pending)
. 2008-09-16 11:10:36.188 Read 13 bytes (0 pending)
< 2008-09-16 11:10:36.188 Type: SSH_FXP_HANDLE, Size: 13, Number: 2571
< 2008-09-16 11:10:36.188 66,00,00,0A,0B,00,00,00,04,00,00,00,00,
> 2008-09-16 11:10:36.188 Type: SSH_FXP_READDIR, Size: 13, Number: 2828
> 2008-09-16 11:10:36.188 0C,00,00,0B,0C,00,00,00,04,00,00,00,00,
. 2008-09-16 11:10:36.188 Sent 17 bytes
. 2008-09-16 11:10:36.188 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.188 Looking for network events
. 2008-09-16 11:10:36.188 Timeout waiting for network events
. 2008-09-16 11:10:36.188 Waiting for another 4 bytes
. 2008-09-16 11:10:36.188 Looking for incoming data
. 2008-09-16 11:10:36.188 Looking for network events
. 2008-09-16 11:10:36.188 Detected network event
. 2008-09-16 11:10:36.188 Enumerating network events for socket 460
. 2008-09-16 11:10:36.188 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:36.188 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:36.188 Received 592 bytes (0)
. 2008-09-16 11:10:36.188 Read 4 bytes (588 pending)
. 2008-09-16 11:10:36.188 Read 588 bytes (0 pending)
< 2008-09-16 11:10:36.188 Type: SSH_FXP_NAME, Size: 588, Number: 2828
< 2008-09-16 11:10:36.188 68,00,00,0B,0C,00,00,00,05,00,00,00,01,2E,00,00,00,3C,64,72,77,78,2D,2D,2D,
< 2008-09-16 11:10:36.188 2D,2D,2D,20,20,20,20,32,20,65,64,69,20,20,20,20,20,20,65,64,69,74,72,61,6E,
< 2008-09-16 11:10:36.188 73,66,65,72,20,20,20,20,20,31,30,32,34,20,53,65,70,20,31,36,20,31,31,3A,31,
< 2008-09-16 11:10:36.188 30,20,2E,00,00,00,0F,00,00,00,00,00,00,04,00,00,00,00,6D,00,00,00,6B,00,00,
< 2008-09-16 11:10:36.188 41,C0,48,CF,78,0B,48,CF,78,0B,00,00,00,02,2E,2E,00,00,00,3D,64,72,77,78,72,
< 2008-09-16 11:10:36.188 77,78,72,77,78,20,20,20,20,39,20,65,64,69,20,20,20,20,20,20,65,64,69,74,72,
< 2008-09-16 11:10:36.188 61,6E,73,66,65,72,20,20,20,20,20,31,30,32,34,20,53,65,70,20,20,39,20,31,33,
< 2008-09-16 11:10:36.188 3A,35,38,20,2E,2E,00,00,00,0F,00,00,00,00,00,00,04,00,00,00,00,6D,00,00,00,
< 2008-09-16 11:10:36.188 6B,00,00,41,FF,48,CA,73,64,48,C6,64,CB,00,00,00,0D,54,65,73,74,5F,52,61,68,
< 2008-09-16 11:10:36.188 35,2E,74,78,74,00,00,00,48,2D,72,77,2D,72,77,2D,2D,2D,2D,20,20,20,20,31,20,
< 2008-09-16 11:10:36.188 65,64,69,20,20,20,20,20,20,65,64,69,74,72,61,6E,73,66,65,72,20,20,20,20,20,
< 2008-09-16 11:10:36.188 20,20,20,35,20,53,65,70,20,20,39,20,31,33,3A,34,39,20,54,65,73,74,5F,52,61,
< 2008-09-16 11:10:36.188 68,35,2E,74,78,74,00,00,00,0F,00,00,00,00,00,00,00,05,00,00,00,6D,00,00,00,
< 2008-09-16 11:10:36.188 6B,00,00,81,B0,48,CE,69,83,48,C6,62,B1,00,00,00,0E,54,65,73,74,5F,52,61,68,
< 2008-09-16 11:10:36.188 31,31,2E,74,78,74,00,00,00,49,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,
< 2008-09-16 11:10:36.188 20,65,64,69,20,20,20,20,20,20,65,64,69,74,72,61,6E,73,66,65,72,20,20,20,20,
< 2008-09-16 11:10:36.188 20,20,20,20,35,20,53,65,70,20,20,39,20,31,33,3A,34,39,20,54,65,73,74,5F,52,
< 2008-09-16 11:10:36.188 61,68,31,31,2E,74,78,74,00,00,00,0F,00,00,00,00,00,00,00,05,00,00,00,6D,00,
< 2008-09-16 11:10:36.188 00,00,6B,00,00,81,A4,48,CE,69,6E,48,C6,62,B1,00,00,00,0C,54,65,73,74,66,69,
< 2008-09-16 11:10:36.188 6C,65,2E,74,78,74,00,00,00,47,2D,72,77,2D,72,2D,2D,72,2D,2D,20,20,20,20,31,
< 2008-09-16 11:10:36.188 20,65,64,69,20,20,20,20,20,20,65,64,69,74,72,61,6E,73,66,65,72,20,20,20,20,
< 2008-09-16 11:10:36.188 20,20,20,20,35,20,53,65,70,20,20,39,20,31,33,3A,34,39,20,54,65,73,74,66,69,
< 2008-09-16 11:10:36.188 6C,65,2E,74,78,74,00,00,00,0F,00,00,00,00,00,00,00,05,00,00,00,6D,00,00,00,
< 2008-09-16 11:10:36.188 6B,00,00,81,A4,48,CF,69,E9,48,C6,62,B1,
> 2008-09-16 11:10:36.188 Type: SSH_FXP_READDIR, Size: 13, Number: 3084
> 2008-09-16 11:10:36.188 0C,00,00,0C,0C,00,00,00,04,00,00,00,00,
. 2008-09-16 11:10:36.188 Sent 17 bytes
. 2008-09-16 11:10:36.188 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.188 Looking for network events
. 2008-09-16 11:10:36.188 Timeout waiting for network events
. 2008-09-16 11:10:36.188 Waiting for another 4 bytes
. 2008-09-16 11:10:36.188 Looking for incoming data
. 2008-09-16 11:10:36.188 Looking for network events
. 2008-09-16 11:10:36.188 Detected network event
. 2008-09-16 11:10:36.188 Enumerating network events for socket 460
. 2008-09-16 11:10:36.188 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:36.188 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:36.188 Received 32 bytes (0)
. 2008-09-16 11:10:36.188 Read 4 bytes (28 pending)
. 2008-09-16 11:10:36.188 Read 28 bytes (0 pending)
< 2008-09-16 11:10:36.188 Type: SSH_FXP_STATUS, Size: 28, Number: 3084
< 2008-09-16 11:10:36.188 65,00,00,0C,0C,00,00,00,01,00,00,00,0B,45,6E,64,20,6F,66,20,66,69,6C,65,00,
< 2008-09-16 11:10:36.188 00,00,00,
< 2008-09-16 11:10:36.188 Status/error code: 1
> 2008-09-16 11:10:36.188 Type: SSH_FXP_CLOSE, Size: 13, Number: 3332
> 2008-09-16 11:10:36.188 04,00,00,0D,04,00,00,00,04,00,00,00,00,
. 2008-09-16 11:10:36.188 Sent 17 bytes
. 2008-09-16 11:10:36.188 There are 0 bytes remaining in the send buffer
. 2008-09-16 11:10:36.188 Looking for network events
. 2008-09-16 11:10:36.188 Timeout waiting for network events
. 2008-09-16 11:10:36.547 Session upkeep
. 2008-09-16 11:10:36.547 Looking for network events
. 2008-09-16 11:10:36.547 Detected network event
. 2008-09-16 11:10:36.547 Enumerating network events for socket 460
. 2008-09-16 11:10:36.547 Enumerated 1 network events for socket 460
. 2008-09-16 11:10:36.547 Detected network read event on socket 460 with error 0
. 2008-09-16 11:10:36.547 Received 28 bytes (0)
. 2008-09-16 11:10:37.047 Session upkeep
. 2008-09-16 11:10:37.047 Looking for network events
. 2008-09-16 11:10:37.047 Timeout waiting for network events
. 2008-09-16 11:10:37.360 Closing connection.
. 2008-09-16 11:10:37.360 Selecting events 0 for socket 460

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: WinSCP ignores .profile

Ron2 wrote:

I tried different settings, but the transferred files have always "rw-r--r--".
Therefore WinSCP does not read the .profile and i don't understand why WinSCP
is using these permissions. It makes no difference if i change the permissions
of the unix folders, for example "Test_RAH" (see logfile below). I also tried
to specify the exact path for the shell or use another shell, but it was not
successful.
WinSCP of course does not read .profile. If anyone should interpret it, it is your SFTP server. The default permissions you see are also set by your SFTP server.

Also read documentation.

Reply with quote

Advertisement

You can post new topics in this forum