This is an old revision of the document!

Troubleshooting

WinScp Version 4.3.8

Logging into a Redhat Linux 6.4 sftp server.

When I login, I get the following error

Advertisement

Directory '

I click ok and it logins in normally. Any ideas what is causing this?

On a similar configuration but using WinSCP version 3.8.2 I don’t have the same problem. Systems are controlled so I unable to load new/old versions.

Troubleshooting Connection Issues

When you are not able to connect to the server:

  • Make sure you use protocol that the server supports.
  • Read guide for connecting to FTP/SFTP server.
  • Try if you can connect with other client using the same protocol.
  • Check other F.A.Q. on connection.
  • If you are getting an error message, check list of common error messages.
  • If the server refuses to accept your connection or drops the connection suddenly, you should better check the server (e.g. its log file) first to find out the reason. Contact the server administrator if you cannot check the server yourself.

Advertisement

Troubleshooting Scripting/Automation Issues

When you are facing issue with scripting/automation:

Troubleshooting Timestamp Issues

When the file timestamps you see in file panels are not what you expect them to be; or synchronization does not work:

When inspecting the session log, look for following entries:

  • Directory listing, including UTC file modification timestamps:
..;D;0;2013-04-24T08:43:23.000Z;"" [0];"" [0];rw-rw-rw-;1                                
.htaccess;-;33;2004-11-10T20:46:46.000Z;"" [0];"" [0];rw-rw-rw-;3                        
commandline.txt;-;9390;2013-04-15T09:01:52.000Z;"" [0];"" [0];rw-rw-rw-;1                
config.txt;-;4490;2013-04-17T06:31:36.000Z;"" [0];"" [0];rw-rw-rw-;1                     
contributions.txt;-;1865;2012-08-24T07:08:58.000Z;"" [0];"" [0];rw-rw-rw-;1              
directory_cache.txt;-;1892;2011-07-30T18:24:52.000Z;"" [0];"" [0];rw-rw-rw-;1            
dragext.txt;-;4329;2013-04-09T11:50:48.000Z;"" [0];"" [0];rw-rw-rw-;1                    
  • Modification timestamp being set on target file after file transfer (SFTP):
Preserving timestamp [2009-02-26T21:15:50.000Z]
  • Timestamp comparing during synchronization:
Local file 'D:\Documents\wiki\config.txt' [2013-04-24T09:41:04.922Z] [4546] is modified 
comparing to remote file '/home/martinp/httpdocs/wiki/config.txt' [2013-04-17T06:31:36.000Z] [4490]

Advertisement

If this does not help you, and you decide to seek support, make sure you include complete session log in your report, showing above entries.

When you are not able to help yourself

Learn what support you may get to WinSCP.

  1. For FTP this is specifically mandated for MLSD command. With obsoleted LIST command, behaviour is undefined.Back

Last modified: by 214.3.138.234