Topic "Continue disconnecting after migration from windows to linux"

Author Message
Guest




Hi everybody, since I migrate my site from a windows server to a linux one first i can reach the root directory. But when i click into a folder (whichever) this is what happened to winscp:
log:
Error ->lost connection
Timeout detected. (data connection)
Could not retrieve directory listing
After a few seconds it try unsuccessfully reconnection. For 3 or 4 times it loops like this.
Then it enter the directory, but if i want to change or upload or someother operation, it restarts with the faulty loop that i described.
I called the support of my server provider and he told me to see if i had installed the latest version of winscp. So I downloaded it. But the problem remains.
Then support asked to me to try another ftp client and I had already FileZilla. I thought it gives the same problem, but no, it worked perfectly.
So I checked: same computer, same firewall, same ftp client settings.
No way, so i decided to write here in the hope to receive some support
Thank you.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please attach a full log file showing the problem (using the latest version of WinSCP).

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 can mark the attachment as private.

A log file from FileZilla for a comparison would help too.
_________________
Martin Prikryl
Guest




Here is win scp log, I will produce the other log as soon as possible
scp.log (35.96 KB) [Download]

Description: winscp log

Guest




filezilla log (simple and complete)
filezilla_ful.txt (4.97 KB) [Download]

Description: filezilla full log

filezilla_simple.txt (3.98 KB) [Download]

Description: filezilla simple log

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
What version of FileZilla are you using?
I wonder why it uses LIST command instead of MLSD.
Does anything change if you force WinSCP to fallback to LIST command too?
Set both Use MLSD command for directory listing and Support for listing of hidden files to Off.
https://winscp.net/eng/docs/ui_login_ftp
_________________
Martin Prikryl
Guest




FILEZILLA VERSION: 2.2.13a

Changing settings following your advice, it works well.
Just one question: could I have security problems or some other problem with these settings?

Thank you for your help prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Quote:
Just one question: could I have security problems or some other problem with these settings?

No. But you might have security problems from using 10 years old version of FileZilla (what explains why it uses LIST command).
Guest




ehehe, yes, you're right. But as I has no way to upload files over ftp and my service provider customer care told me to use alternative client, that was what i had. Really old because for years i've been using winscp leaving that version of filezilla in a folder getting dust and dust year after year.
Anyway, Why do my server not accept MLSD command? I thing there is some problem with server settings (that i cannot controll).
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Anonymous wrote:
Anyway, Why do my server not accept MLSD command? I thing there is some problem with server settings (that i cannot controll).

No idea.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License