ftp logins are corrupted

Advertisement

unsalkorkmaz
Joined:
Posts:
7

ftp logins are corrupted

Hi,
I had no problem till 1-2 weeks ago. My backup ftp's server got hardware problem, they changed it and my problems started if i remember correct. First i thought its ftp server's wrong settings but after i switch to new hosting company , i still get same problem in new ftp account too. Basically when i login i am getting directly this error:
GetPeerName failed
Could not retrieve directory listing
Entering Passive Mode (IP,IP,IP,IP,236,50).

I can successfully login via ftpzilla but winscp started to give this error in ftp logins :S
sftp logins dont have problem.

(PS: i am using socks5 proxy)

Reply with quote

Advertisement

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

Re: ftp logins are corrupted

Please attach a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

Reply with quote

unsalkorkmaz
Joined:
Posts:
7

--------------------------------------------------------------------------
WinSCP Version 5.0.8 (Build 2438) (OS 6.1.7601 Service Pack 1)
Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
Local account: korkmaz-PC\korkmaz
Login time: 13 Ağustos 2012 Pazartesi 11:41:50
--------------------------------------------------------------------------
Session name: user@backup-server.tld (Modified stored session)
Host name: user.backup-server.tld (Port: 21)
User name: user (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: FTP
Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
Proxy: SOCKS5
HostName: localhost (Port: 3121); Username: ; Passwd: No
FTP: FTPS: None; Passive: Yes [Force IP: A]
Local directory: C:\Users\korkmaz\Documents, Remote directory: /, Update: Yes, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
DST mode: 1
--------------------------------------------------------------------------
Connecting to user.backup-server.tld ...
Connected with user.backup-server.tld. Waiting for welcome message...
220 ProFTPD 1.3.4b Server (Hetzner Backup) [::ffff:IP.IP.IP.IP]
USER user
331 Password required for user
PASS ****************
230 User user logged in
SYST
215 UNIX Type: L8
FEAT
211-Features:
 MDTM
 MFMT
 TVFS
 AUTH TLS
 MFF modify;UNIX.group;UNIX.mode;
 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
 PBSZ
 PROT
 REST STREAM
 SIZE
211 End
Connected
--------------------------------------------------------------------------
Using FTP protocol.
Doing startup conversation with host.
PWD
257 "/" is the current directory
Changing directory to "/".
CWD /
250 CWD command successful
Getting current directory name.
PWD
257 "/" is the current directory
Retrieving directory listing...
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (IP,IP,IP,IP,238,203).
GetPeerName failed
Could not retrieve directory listing
Retrieving directory listing...
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (IP,IP,IP,IP,230,216).
GetPeerName failed
Could not retrieve directory listing
(ECommand) Error listing directory '/'.
GetPeerName failed
Could not retrieve directory listing
Entering Passive Mode (IP,IP,IP,IP,230,216).
Startup conversation with host finished.

Reply with quote

martin
Site Admin
martin avatar

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

unsalkorkmaz
Joined:
Posts:
7

your mail was in spam folder, fyi.

i tried it but got directly connection error:
. 2012-08-13 20:52:53.690 --------------------------------------------------------------------------
. 2012-08-13 20:52:53.691 WinSCP Version 5.0.8 (Build 2439) (OS 6.1.7601 Service Pack 1)
. 2012-08-13 20:52:53.691 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2012-08-13 20:52:53.691 Local account: korkmaz-PC\korkmaz
. 2012-08-13 20:52:53.691 Login time: 13 Ağustos 2012 Pazartesi 20:52:53
. 2012-08-13 20:52:53.691 --------------------------------------------------------------------------
. 2012-08-13 20:52:53.691 Session name: user@backup.tld (Modified stored session)
. 2012-08-13 20:52:53.691 Host name: user.backup.tld (Port: 21)
. 2012-08-13 20:52:53.691 User name: user (Password: Yes, Key file: No)
. 2012-08-13 20:52:53.691 Tunnel: No
. 2012-08-13 20:52:53.691 Transfer Protocol: FTP
. 2012-08-13 20:52:53.692 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2012-08-13 20:52:53.692 Proxy: SOCKS5
. 2012-08-13 20:52:53.692 HostName: localhost (Port: 3121); Username: ; Passwd: No
. 2012-08-13 20:52:53.692 FTP: FTPS: None; Passive: Yes [Force IP: A]
. 2012-08-13 20:52:53.692 Local directory: C:\Users\korkmaz\Documents, Remote directory: /, Update: Yes, Cache: Yes
. 2012-08-13 20:52:53.692 Cache directory changes: Yes, Permanent: Yes
. 2012-08-13 20:52:53.692 DST mode: 1
. 2012-08-13 20:52:53.692 --------------------------------------------------------------------------
. 2012-08-13 20:52:53.760 Connecting to user.backup.tld ...
. 2012-08-13 20:52:53.765 Connection failed.
* 2012-08-13 20:52:53.818 (EFatal) Connection failed.
* 2012-08-13 20:52:53.818 Connection failed.

Reply with quote

Advertisement

Advertisement

martin
Site Admin
martin avatar

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.

Reply with quote

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

unsalkorkmaz wrote:

getting directly connection error like previous debug version :S

btw i can make a video that showing problem if you want/need.
Can you email me the log?

Reply with quote

unsalkorkmaz
Joined:
Posts:
7

. 2012-08-23 16:04:21.584 --------------------------------------------------------------------------
. 2012-08-23 16:04:21.584 WinSCP Version 5.0.8 (Build 2490) (OS 6.1.7601 Service Pack 1)
. 2012-08-23 16:04:21.585 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2012-08-23 16:04:21.585 Local account: korkmaz-PC\korkmaz
. 2012-08-23 16:04:21.585 Working directory: C:\Program Files\WinSCP
. 2012-08-23 16:04:21.585 Command-line: "C:\Program Files\WinSCP\WinSCP.exe" 
. 2012-08-23 16:04:21.585 Login time: 23 Ağustos 2012 Perşembe 16:04:21
. 2012-08-23 16:04:21.585 --------------------------------------------------------------------------
. 2012-08-23 16:04:21.585 Session name: user@user.your-backup.de (Modified stored session)
. 2012-08-23 16:04:21.585 Host name: user.your-backup.de (Port: 21)
. 2012-08-23 16:04:21.585 User name: user (Password: Yes, Key file: No)
. 2012-08-23 16:04:21.585 Tunnel: No
. 2012-08-23 16:04:21.585 Transfer Protocol: FTP
. 2012-08-23 16:04:21.585 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2012-08-23 16:04:21.586 Proxy: SOCKS5
. 2012-08-23 16:04:21.586 HostName: localhost (Port: 3121); Username: ; Passwd: No
. 2012-08-23 16:04:21.586 FTP: FTPS: None; Passive: Yes [Force IP: A]
. 2012-08-23 16:04:21.586 Local directory: C:\Users\korkmaz\Documents, Remote directory: /, Update: Yes, Cache: Yes
. 2012-08-23 16:04:21.586 Cache directory changes: Yes, Permanent: Yes
. 2012-08-23 16:04:21.586 DST mode: 1
. 2012-08-23 16:04:21.586 --------------------------------------------------------------------------
. 2012-08-23 16:04:21.666 Connecting to user.your-backup.de ...
. 2012-08-23 16:04:21.666 Connection failed.
* 2012-08-23 16:04:21.722 (EFatal) Connection failed.
* 2012-08-23 16:04:21.722 Connection failed.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

In each of your logs, there's a different domain name. Are you manually editing the logs?
Anyway, there may be a firewall or something on your machine that blocks the debug version. Please try to disable the firewall for testing.

Reply with quote

Tian
Guest

Issue resolved?

Is there a fix for this yet?
I seem to get the same issue on a server but can connect locally with winscp

After writing log on server found
. 2017-09-04 08:41:13.177 Connecting to Site ...
. 2017-09-04 08:41:13.177 Connected with Site, negotiating TLS connection...
. 2017-09-04 08:41:13.177 Disconnected from server
. 2017-09-04 08:41:13.177 Connection failed.
* 2017-09-04 08:41:14.114 (EFatal) Connection failed.
* 2017-09-04 08:41:14.114 Disconnected from server
* 2017-09-04 08:41:14.114 Connection failed.

Reply with quote

Advertisement

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

Re: Issue resolved?

Tian wrote:

Is there a fix for this yet?
I seem to get the same issue on a server but can connect locally with winscp

After writing log on server found
. 2017-09-04 08:41:13.177 Connecting to Site ...
. 2017-09-04 08:41:13.177 Connected with Site, negotiating TLS connection...
. 2017-09-04 08:41:13.177 Disconnected from server
. 2017-09-04 08:41:13.177 Connection failed.
* 2017-09-04 08:41:14.114 (EFatal) Connection failed.
* 2017-09-04 08:41:14.114 Disconnected from server
* 2017-09-04 08:41:14.114 Connection failed.
Can you connect with any other FTPS client? Start a new thread and post complete log files of WinSCP and the other FTPS client.

Reply with quote

Advertisement

You can post new topics in this forum