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: GetPeerName Failed in WinSCP GUI

Please try 5.0.9 beta.
sorcer1

GetPeerName Failed in WinSCP GUI

Hello,

I get the error "Error listing directory : GetPeerName failed when i connect to a FTP with a proxy.
I have no errors if i remove the proxy.
This is the session log :

. 2012-09-10 10:30:44.918 --------------------------------------------------------------------------

. 2012-09-10 10:30:44.918 WinSCP Version 5.0.8 (Build 2438) (OS 6.1.7601 Service Pack 1)
. 2012-09-10 10:30:44.918 Configuration: C:\Tools\winscp508\WinSCP.ini
. 2012-09-10 10:30:44.918 Local account: AD\drm
. 2012-09-10 10:30:44.918 Login time: lundi 10 septembre 2012 10:30:44
. 2012-09-10 10:30:44.918 --------------------------------------------------------------------------
. 2012-09-10 10:30:44.918 Session name: user@aka.com (Ad-Hoc session)
. 2012-09-10 10:30:44.918 Host name: aka.com (Port: 21)
. 2012-09-10 10:30:44.918 User name: user (Password: Yes, Key file: No)
. 2012-09-10 10:30:44.918 Tunnel: No
. 2012-09-10 10:30:44.918 Transfer Protocol: FTP
. 2012-09-10 10:30:44.918 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2012-09-10 10:30:44.918 Proxy: HTTP
. 2012-09-10 10:30:44.918 HostName: myproxy.com (Port: 3128); Username: ; Passwd: No
. 2012-09-10 10:30:44.918 FTP: FTPS: None; Passive: Yes [Force IP: A]
. 2012-09-10 10:30:44.918 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2012-09-10 10:30:44.918 Cache directory changes: Yes, Permanent: Yes
. 2012-09-10 10:30:44.918 DST mode: 1
. 2012-09-10 10:30:44.918 --------------------------------------------------------------------------
. 2012-09-10 10:30:44.980 Connecting to aka.com ...
. 2012-09-10 10:30:45.105 Connected with aka.com. Waiting for welcome message...
< 2012-09-10 10:30:45.246 220 Welcome
> 2012-09-10 10:30:45.246 USER user
< 2012-09-10 10:30:45.386 331 Password required for user.
> 2012-09-10 10:30:45.386 PASS ********
< 2012-09-10 10:30:45.776 230 User user logged in.
> 2012-09-10 10:30:45.776 SYST
< 2012-09-10 10:30:45.792 215 UNIX Type: L8
> 2012-09-10 10:30:45.792 FEAT
< 2012-09-10 10:30:45.792 211-Features:
< 2012-09-10 10:30:45.792  MDTM
< 2012-09-10 10:30:45.792  REST STREAM
< 2012-09-10 10:30:45.792  SIZE
< 2012-09-10 10:30:45.792  AUTH TLS
< 2012-09-10 10:30:45.792  PBSZ
< 2012-09-10 10:30:45.807  PROT
< 2012-09-10 10:30:45.807 211 End
. 2012-09-10 10:30:45.854 Connected
. 2012-09-10 10:30:45.854 --------------------------------------------------------------------------
. 2012-09-10 10:30:45.854 Using FTP protocol.
. 2012-09-10 10:30:45.854 Doing startup conversation with host.
> 2012-09-10 10:30:45.916 PWD
< 2012-09-10 10:30:45.916 257 "/39311/ROOT" is current directory.
. 2012-09-10 10:30:45.979 Getting current directory name.
. 2012-09-10 10:30:46.166 Retrieving directory listing...
> 2012-09-10 10:30:46.166 TYPE A
< 2012-09-10 10:30:46.166 200 Type set to A
> 2012-09-10 10:30:46.166 PASV
< 2012-09-10 10:30:46.166 227 Entering Passive Mode (2,21,254,26,161,218).
. 2012-09-10 10:30:46.166 GetPeerName failed
. 2012-09-10 10:30:46.166 Could not retrieve directory listing
. 2012-09-10 10:30:46.228 Retrieving directory listing...
> 2012-09-10 10:30:46.228 TYPE A
< 2012-09-10 10:30:46.228 200 Type set to A
> 2012-09-10 10:30:46.228 PASV
< 2012-09-10 10:30:46.228 227 Entering Passive Mode (2,21,254,26,216,144).
. 2012-09-10 10:30:46.228 GetPeerName failed
. 2012-09-10 10:30:46.228 Could not retrieve directory listing
* 2012-09-10 10:30:46.353 (ECommand) Error listing directory '/39311/ROOT'.
* 2012-09-10 10:30:46.353 GetPeerName failed
* 2012-09-10 10:30:46.353 Could not retrieve directory listing
* 2012-09-10 10:30:46.353 Entering Passive Mode (2,21,254,26,216,144).
> 2012-09-10 10:30:50.191 TYPE A
< 2012-09-10 10:30:50.191 200 Type set to A
. 2012-09-10 10:31:03.498 Startup conversation with host finished.
> 2012-09-10 10:31:16.774 TYPE A
< 2012-09-10 10:31:16.774 200 Type set to A
> 2012-09-10 10:31:19.817 TYPE A
< 2012-09-10 10:31:19.817 200 Type set to A