return code 138

Advertisement

Kennedy343
Joined:
Posts:
3
Location:
IL, USA

return code 138

Can log in, can see both computers (Win XP SP@ to Mac Leopard OSX 10.5.2)Can't transfer files.
Get following:
Cannot execute SCP to start transfer. Please make sure that SCP is installed on the server and path to it is included in PATH. You may also try SFTP instead of SCP.
Command failed with return code 138.

Worked before, suddenly no go

Not very PC literate

Anybody Help?

Reply with quote E-mail

Advertisement

Kennedy343
Joined:
Posts:
3
Location:
IL, USA

Addendum per sticky, Sorry
Did check FAQ & Doc
Searched Forum
Version History 4.1 Beta
Using SCP, SFTP no go as well
Norton Commander
Drag & Drop active

Whe I drag from PC to Mac cpy dialogue comes up. When I hit copy program attempts & then I get message

Reply with quote E-mail

Kennedy343
Joined:
Posts:
3
Location:
IL, USA

Re: return code 138

martin wrote:

Please post a log file.
What does it do with SFTP?

martin wrote:

Please post a log file.
What does it do with SFTP?

When I try SFTP I get error:

Connection has been unexpectedly closed. Server sent command exit status 0
With Message:
Cannot initialize SFTP protocol. Is the host running a SFTP server?

This is a single IBM Thinkpad PC trying to move files to a single Macbook via firewire with a pcmcia card firewire adapter on the PC

Logfile: . 2008-03-21 07:51:43.691 --------------------------------------------------------------------------
. 2008-03-21 07:51:43.691 WinSCP Version 4.0.6 (Build 358) (OS 5.1.2600 Service Pack 2)
. 2008-03-21 07:51:43.691 Login time: Friday, March 21, 2008 7:51:43 AM
. 2008-03-21 07:51:43.691 --------------------------------------------------------------------------
. 2008-03-21 07:51:43.691 Session name: PC to Mac
. 2008-03-21 07:51:43.691 Host name: 192.168.0.3 (Port: 22)
. 2008-03-21 07:51:43.691 User name: kennedy (Password: Yes, Key file: No)
. 2008-03-21 07:51:43.711 Tunnel: No
. 2008-03-21 07:51:43.711 Transfer Protocol: SCP
. 2008-03-21 07:51:43.711 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-03-21 07:51:43.711 Proxy: none
. 2008-03-21 07:51:43.711 SSH protocol version: 2; Compression: No
. 2008-03-21 07:51:43.711 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-03-21 07:51:43.711 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2008-03-21 07:51:43.711 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-03-21 07:51:43.711 SFTP Bugs: -,-,-
. 2008-03-21 07:51:43.711 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-03-21 07:51:43.711 Shell: default, EOL: 0
. 2008-03-21 07:51:43.711 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-03-21 07:51:43.711 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2008-03-21 07:51:43.711 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-03-21 07:51:43.711 Cache directory changes: Yes, Permanent: Yes
. 2008-03-21 07:51:43.711 DST mode: 1
. 2008-03-21 07:51:43.711 --------------------------------------------------------------------------
. 2008-03-21 07:51:43.711 Looking up host "192.168.0.3"
. 2008-03-21 07:51:43.711 Connecting to 192.168.0.3 port 22
. 2008-03-21 07:51:44.402 Server version: SSH-2.0-OpenSSH_4.7
. 2008-03-21 07:51:44.402 We claim version: SSH-2.0-WinSCP_release_4.0.6
. 2008-03-21 07:51:44.402 Using SSH protocol version 2
. 2008-03-21 07:51:44.442 Doing Diffie-Hellman group exchange
. 2008-03-21 07:51:44.532 Doing Diffie-Hellman key exchange
. 2008-03-21 07:51:44.903 Host key fingerprint is:
. 2008-03-21 07:51:44.903 ssh-rsa 2048 4f:1e:d3:64:a0:a1:d4:a0:ac:dc:9b:4e:58:56:ee:54
. 2008-03-21 07:51:44.903 Initialised AES-256 client->server encryption
. 2008-03-21 07:51:44.903 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-03-21 07:51:44.903 Initialised AES-256 server->client encryption
. 2008-03-21 07:51:44.903 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-03-21 07:51:44.903 Using username "kennedy".
! 2008-03-21 07:51:45.113 Using keyboard-interactive authentication.
. 2008-03-21 07:51:45.113 Password: prompt from server
. 2008-03-21 07:51:45.113 Using stored password.
. 2008-03-21 07:51:45.434 Access granted
. 2008-03-21 07:51:46.125 Opened channel for session
. 2008-03-21 07:51:46.135 Started a shell/command
. 2008-03-21 07:51:46.135 --------------------------------------------------------------------------
. 2008-03-21 07:51:46.135 Using SCP protocol.
. 2008-03-21 07:51:46.135 Doing startup conversation with host.
. 2008-03-21 07:51:46.135 Skipping host startup message (if any).
> 2008-03-21 07:51:46.135 echo "WinSCP: this is end-of-file:0"
< 2008-03-21 07:51:46.135 WinSCP: this is end-of-file:0
. 2008-03-21 07:51:46.135 Detecting variable containing return code of last command.
. 2008-03-21 07:51:46.135 Trying "$status".
> 2008-03-21 07:51:46.135 echo "$status" ; echo "WinSCP: this is end-of-file:0"
< 2008-03-21 07:51:46.145 WinSCP: this is end-of-file:0
. 2008-03-21 07:51:46.145 Trying "$?".
> 2008-03-21 07:51:46.145 echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 2008-03-21 07:51:46.145 0
< 2008-03-21 07:51:46.145 WinSCP: this is end-of-file:0
. 2008-03-21 07:51:46.145 Return code variable "$?" selected.
. 2008-03-21 07:51:46.145 Clearing all aliases.
> 2008-03-21 07:51:46.145 unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.155 -bash: line 4: unalias: echo: not found
< 2008-03-21 07:51:46.155 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.155 unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.155 -bash: line 5: unalias: pwd: not found
< 2008-03-21 07:51:46.155 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.155 unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.165 -bash: line 6: unalias: cd: not found
< 2008-03-21 07:51:46.165 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.165 unalias "ls" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.165 -bash: line 7: unalias: ls: not found
< 2008-03-21 07:51:46.165 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.165 unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.175 -bash: line 8: unalias: groups: not found
< 2008-03-21 07:51:46.175 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.175 unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.195 -bash: line 9: unalias: scp: not found
< 2008-03-21 07:51:46.195 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.195 unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.195 -bash: line 10: unalias: rm: not found
< 2008-03-21 07:51:46.195 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.195 unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.205 -bash: line 11: unalias: mv: not found
< 2008-03-21 07:51:46.205 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.205 unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.205 -bash: line 12: unalias: mkdir: not found
< 2008-03-21 07:51:46.205 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.205 unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.215 -bash: line 13: unalias: chmod: not found
< 2008-03-21 07:51:46.215 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.215 unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.225 -bash: line 14: unalias: chgrp: not found
< 2008-03-21 07:51:46.225 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.225 unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.225 -bash: line 15: unalias: chown: not found
< 2008-03-21 07:51:46.225 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.225 unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.225 -bash: line 16: unalias: unset: not found
< 2008-03-21 07:51:46.225 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.225 unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.235 -bash: line 17: unalias: unalias: not found
< 2008-03-21 07:51:46.235 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.235 unalias "alias" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.235 -bash: line 18: unalias: alias: not found
< 2008-03-21 07:51:46.235 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.235 unalias "ln" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.245 -bash: line 19: unalias: ln: not found
< 2008-03-21 07:51:46.245 WinSCP: this is end-of-file:1
> 2008-03-21 07:51:46.245 unalias "cp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.245 -bash: line 20: unalias: cp: not found
< 2008-03-21 07:51:46.245 WinSCP: this is end-of-file:1
. 2008-03-21 07:51:46.245 Clearing national user variables.
> 2008-03-21 07:51:46.245 unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.245 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.255 unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.255 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.255 unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.265 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.265 unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.265 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.265 unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.265 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.275 unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.275 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.275 unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.275 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.275 unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.285 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.285 unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.285 WinSCP: this is end-of-file:0
> 2008-03-21 07:51:46.285 unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.295 WinSCP: this is end-of-file:0
. 2008-03-21 07:51:46.295 Looking up groups and users.
> 2008-03-21 07:51:46.295 groups ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.375 staff com.apple.sharepoint.group.2 _lpadmin _appserveradm com.apple.access_ssh-disabled _appserverusr admin
< 2008-03-21 07:51:46.375 WinSCP: this is end-of-file:0
. 2008-03-21 07:51:46.375 Following groups found:
. 2008-03-21 07:51:46.375 staff
. 2008-03-21 07:51:46.375 com.apple.sharepoint.group.2
. 2008-03-21 07:51:46.375 _lpadmin
. 2008-03-21 07:51:46.375 _appserveradm
. 2008-03-21 07:51:46.375 com.apple.access_ssh-disabled
. 2008-03-21 07:51:46.375 _appserverusr
. 2008-03-21 07:51:46.375 admin
. 2008-03-21 07:51:46.375 No users found.
. 2008-03-21 07:51:46.375 Getting current directory name.
> 2008-03-21 07:51:46.375 pwd ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.385 /Users/Kennedy
< 2008-03-21 07:51:46.385 WinSCP: this is end-of-file:0
. 2008-03-21 07:51:46.385 Listing current directory.
> 2008-03-21 07:51:46.385 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
! 2008-03-21 07:51:46.415 ls: illegal option -- -
! 2008-03-21 07:51:46.415 usage: ls [-ABCFGHLPRSTWabcdefghiklmnopqrstuwx1] [file ...]
< 2008-03-21 07:51:46.415 WinSCP: this is end-of-file:1
* 2008-03-21 07:51:46.415 (ETerminal) Command 'ls -la --full-time'
* 2008-03-21 07:51:46.415 failed with return code 1 and error message
* 2008-03-21 07:51:46.415 ls: illegal option -- -
* 2008-03-21 07:51:46.415 usage: ls [-ABCFGHLPRSTWabcdefghiklmnopqrstuwx1] [file ...].
. 2008-03-21 07:51:46.415 Directory listing with --full-time failed, try again regular listing.
. 2008-03-21 07:51:46.415 Listing current directory.
> 2008-03-21 07:51:46.415 ls -la ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:51:46.425 total 1376
< 2008-03-21 07:51:46.425 drwxr-xr-x+ 30 Kennedy staff 1020 Mar 13 11:10 .
< 2008-03-21 07:51:46.425 drwxr-xr-x 5 root admin 170 Dec 18 13:32 ..
< 2008-03-21 07:51:46.425 -rw------- 1 Kennedy staff 3 Dec 18 13:19 .CFUserTextEncoding
< 2008-03-21 07:51:46.425 -rw-r--r--@ 1 Kennedy staff 15364 Mar 19 07:12 .DS_Store
< 2008-03-21 07:51:46.425 drwx------ 158 Kennedy staff 5372 Mar 12 18:50 .Trash
< 2008-03-21 07:51:46.425 -rw------- 1 Kennedy staff 0 Feb 20 13:38 .Xauthority
< 2008-03-21 07:51:46.425 drwxr-xr-x 3 Kennedy staff 102 Dec 20 13:58 .config
< 2008-03-21 07:51:46.425 drwx------@ 3 Kennedy staff 102 Dec 29 18:17 .cups
< 2008-03-21 07:51:46.425 -rw-r--r-- 1 Kennedy staff 45 Mar 18 11:44 .parallels_settings
< 2008-03-21 07:51:46.425 drwxr-xr-x 22 Kennedy staff 748 Dec 27 2006 Christmas
< 2008-03-21 07:51:46.425 drwx------@ 26 Kennedy staff 884 Mar 20 11:05 Desktop
< 2008-03-21 07:51:46.425 drwx------+ 22 Kennedy staff 748 Mar 19 07:33 Documents
< 2008-03-21 07:51:46.425 drwxr-xr-x 25 Kennedy staff 850 Dec 1 2006 Download
< 2008-03-21 07:51:46.425 drwxr-xr-x 15 Kennedy staff 510 Mar 13 11:10 Downloaded
< 2008-03-21 07:51:46.425 drwx------+ 11 Kennedy staff 374 Feb 27 21:50 Downloads
< 2008-03-21 07:51:46.425 drwxr-xr-x 27 Kennedy staff 918 Dec 1 2006 Drivel
< 2008-03-21 07:51:46.425 drwxr-xr-x 11 Kennedy staff 374 Mar 17 10:21 IBM
< 2008-03-21 07:51:46.425 -rw-r--r-- 1 Kennedy staff 629760 May 7 1998 I_view32.exe
< 2008-03-21 07:51:46.425 drwxr-xr-x 9 Kennedy staff 306 Dec 1 2006 Islam
< 2008-03-21 07:51:46.425 drwx------+ 40 Kennedy staff 1360 Jan 9 13:20 Library
< 2008-03-21 07:51:46.425 drwxr-xr-x 6 Kennedy staff 204 Dec 1 2006 Mary
< 2008-03-21 07:51:46.425 drwxr-xr-x 17 Kennedy staff 578 Feb 19 21:43 Miscellaneous
< 2008-03-21 07:51:46.425 drwx------+ 3 Kennedy staff 102 Dec 18 13:19 Movies
< 2008-03-21 07:51:46.425 drwx------+ 7 Kennedy staff 238 Jan 5 16:41 Music
< 2008-03-21 07:51:46.425 drwxr-xr-x 17 Kennedy staff 578 Feb 23 20:41 My Desk Folders
< 2008-03-21 07:51:46.425 -rw-r--r-- 1 Kennedy staff 46592 Mar 12 11:09 Oreo.xls
< 2008-03-21 07:51:46.425 drwx------+ 33 Kennedy staff 1122 Mar 12 16:47 Pictures
< 2008-03-21 07:51:46.425 drwxr-xr-x+ 5 Kennedy staff 170 Dec 18 13:19 Public
< 2008-03-21 07:51:46.425 drwxr-xr-x+ 5 Kennedy staff 170 Dec 18 13:19 Sites
< 2008-03-21 07:51:46.425 drwxr-xr-x 30 Kennedy staff 1020 Jan 1 11:25 Video
< 2008-03-21 07:51:46.425 WinSCP: this is end-of-file:0
. 2008-03-21 07:51:46.425 Startup conversation with host finished.
. 2008-03-21 07:52:08.337 Cached directory change via "Desktop" to "/Users/Kennedy/Desktop".
. 2008-03-21 07:52:08.337 Getting current directory name.
. 2008-03-21 07:52:08.337 Listing current directory.
. 2008-03-21 07:52:08.337 Locating to cached directory "/Users/Kennedy/Desktop".
> 2008-03-21 07:52:08.337 cd "/Users/Kennedy/Desktop" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:52:08.347 WinSCP: this is end-of-file:0
> 2008-03-21 07:52:08.347 ls -la ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:52:08.367 total 1034016
< 2008-03-21 07:52:08.367 drwx------@ 26 Kennedy staff 884 Mar 20 11:05 .
< 2008-03-21 07:52:08.367 drwxr-xr-x+ 30 Kennedy staff 1020 Mar 13 11:10 ..
< 2008-03-21 07:52:08.367 -rw-------@ 1 Kennedy staff 21508 Mar 20 11:05 .DS_Store
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 22617446 Mar 18 22:56 15631353.mp3
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 23 20:41 ATTENZIONE!!!
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Mar 7 16:40 Action
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 577306 Feb 19 23:50 CRA September.pdf
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 20 19:27 Catalog
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 491304723 Feb 19 09:07 Glidewell e.max.mp4
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:17 Icon

< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 23 20:41 Immédiatement
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Mar 12 20:55 Ivoclar
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 6055622 Feb 20 10:40 Ivolab.pdf
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 21504 Feb 26 10:28 LMT Follow Ups.doc
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 20 19:22 My Folders
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:17 My Stuff
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 23 20:41 NEW
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 11:31 New Stuff
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 20 19:22 P700 Jump
< 2008-03-21 07:52:08.367 drwxr-xr-x 134 Kennedy staff 4556 Feb 23 11:25 Rego PoM.key
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:20 Sales
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 1304046 Mar 9 12:23 SideTrack.dmg
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:22 Technical
< 2008-03-21 07:52:08.367 drwxr-xr-x@ 2 Kennedy staff 68 Mar 20 11:04 Update From IBM 3:20
< 2008-03-21 07:52:08.367 -rwxr-xr-x@ 1 Kennedy staff 523456 Aug 7 2007 UsrGuide.pdf
< 2008-03-21 07:52:08.367 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 11:31 Wicked Quick
< 2008-03-21 07:52:08.367 WinSCP: this is end-of-file:0
. 2008-03-21 07:52:27.764 Copying 1 files/directories to remote directory "/Users/Kennedy/Desktop/"
. 2008-03-21 07:52:27.764 PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2008-03-21 07:52:27.764 TM: M; ClAr: No; ExclM(No):
. 2008-03-21 07:52:27.764 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
> 2008-03-21 07:52:27.784 echo "WinSCP: this is begin-of-file" ; scp -r -d -t "/Users/Kennedy/Desktop" ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:52:27.784 WinSCP: this is begin-of-file
! 2008-03-21 07:52:28.225 -bash: line 37: 3023 Bus error scp -r -d -t "/Users/Kennedy/Desktop"
< 2008-03-21 07:52:28.225 inSCP: this is end-of-file:138
. 2008-03-21 07:52:28.225 Cached directory not reloaded.
. 2008-03-21 07:52:28.225 Listing current directory.
> 2008-03-21 07:52:28.225 ls -la ; echo "WinSCP: this is end-of-file:$?"
< 2008-03-21 07:52:28.245 total 1034016
< 2008-03-21 07:52:28.245 drwx------@ 26 Kennedy staff 884 Mar 20 11:05 .
< 2008-03-21 07:52:28.245 drwxr-xr-x+ 30 Kennedy staff 1020 Mar 13 11:10 ..
< 2008-03-21 07:52:28.245 -rw-------@ 1 Kennedy staff 21508 Mar 20 11:05 .DS_Store
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 22617446 Mar 18 22:56 15631353.mp3
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 23 20:41 ATTENZIONE!!!
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Mar 7 16:40 Action
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 577306 Feb 19 23:50 CRA September.pdf
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 20 19:27 Catalog
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 491304723 Feb 19 09:07 Glidewell e.max.mp4
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:17 Icon

< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 23 20:41 Immédiatement
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Mar 12 20:55 Ivoclar
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 6055622 Feb 20 10:40 Ivolab.pdf
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 21504 Feb 26 10:28 LMT Follow Ups.doc
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 20 19:22 My Folders
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:17 My Stuff
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 23 20:41 NEW
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 11:31 New Stuff
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 20 19:22 P700 Jump
< 2008-03-21 07:52:28.245 drwxr-xr-x 134 Kennedy staff 4556 Feb 23 11:25 Rego PoM.key
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:20 Sales
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 1304046 Mar 9 12:23 SideTrack.dmg
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 09:22 Technical
< 2008-03-21 07:52:28.245 drwxr-xr-x@ 2 Kennedy staff 68 Mar 20 11:04 Update From IBM 3:20
< 2008-03-21 07:52:28.245 -rwxr-xr-x@ 1 Kennedy staff 523456 Aug 7 2007 UsrGuide.pdf
< 2008-03-21 07:52:28.245 -rw-r--r--@ 1 Kennedy staff 0 Feb 21 11:31 Wicked Quick
< 2008-03-21 07:52:28.245 WinSCP: this is end-of-file:0
* 2008-03-21 07:52:28.265 (ECommand) Copying files to remote side failed.
* 2008-03-21 07:52:28.265 Cannot execute SCP to start transfer. Please make sure that SCP is installed on the server and path to it is included in PATH. You may also try SFTP instead of SCP.
* 2008-03-21 07:52:28.265 Command failed with return code 138.

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: return code 138

For SCP: Attempt to execute scp command results in:
3023 Bus error scp -r -d -t "/Users/Kennedy/Desktop"

For SFTP: Check the server log file to see why it does not allow SFTP server to be executed.

Reply with quote

Advertisement

You can post new topics in this forum