Lost display of directories on remote machine
I'm using the latest version of WinSCP on WinXPPro. I've uninstalled and reinstalled WinSCP, and the problem persists. Thanks for any suggestions.
David Walkey
Advertisement
Advertisement
No it seems like very similar problem, have you read my last post there?:Thanks for the reply. It isn't quite the same problem, because there are as many folder lines in the SCP3 window as there are directories in my UNIX account, and all the other information (modified, permissions, etc) is displayed, the folder symbols just don't show the names beside them, and double clicking doesn't change to that directory.
I have simulated your server using the log and I do not see empty listing. I see 21 directory entries, but with no names. Is this what you see?
Were you using the same version of WinSCP? Also as I have asked already, do you see the same problem with other clients? Like PSFTP?Nobody else accessing the UNIX network with putty/SCP3 is having this problem, and my UNIX account directory names were visible (and the directories accessible) when I accessed my UNIX account through putty/SCP3 from a different PC today
I have no idea how can anything on your local PC affects this. Only maybe if you are using different version of WinSCP.so I'm pretty sure it is a local problem on my home PC.
Advertisement
https://sourceforge.net/projects/winscp/files/The version of SCP3 that worked was 3.3 build 177. I don't know what version I was using when the problem started, because I uninstalled it and installed the latest version (3.7.4 build 371) assuming that would fix the problem. If 3.3/177 is still around somewhere I could try installing that and see if the problem goes away.
I do not know if it is useful. PSFTP takes file name from different source. So it may work even if WinSCP does not. But if you find time, you can try it.I haven't tried PSFTP, but I have configured putty to allow reading and writing of email from Outlook on the PC, i.e. through the UNIX network mail service via tunnelling, and that seems to work fine. I can try PSFTP if you think it is useful.
Are you sure you have used SFTP protocol with the old version of WinSCP? Note that SFTP is the default only since 3.5. Until then SCP was the default. With SCP, WinSCP removes by default all aliases on startup. Because with SCP, WinSCP calles 'ls' command directly. However I quite surprised that SFTP server can get confused by the alias as well. I'm not sure if I haven't asked already: what is your SSH server?But here is the really strange thing: even the old version of SCP3, which displayed my UNIX account directories properly when I tried it from the different PC, doesn't work on my home PC when I leave that .bashrc alias in. But I only removed the alias today, so the older version of SCP3 was working fine with that .bashrc alias in place when I tried the older SCP3 version on the different PC a few days ago?!?!?!? Even the sysadmin doesn't understand that. Perhaps since our UNIX machines don't all have exactly the same OS versions the connection from the other PC may have just happened to be to a machine which had a different version of 'ls' whose listing SCP3 could parse?
Advertisement
This what I would expect. But from your previous posts I've understood the opposite. Maybe I've also mistaken your problem with someone else's problem :-)- I put the 'ls' alias back into my .bashrc file in UNIX
- With the protocol set to "SCP", the directory names are not displayed (the original problem)
- With the protocol set to SFTP, it works fine, the directory names are displayed.
It is natural, isn't it?If SCP calls 'ls' directly, why does the alias cause a problem when the protocol is SCP?
I prefer SFTP. Read more about the protocols.Incidentally, for the benefit of a naive user like me (and any others who might be reading this thread), is there some reason to use SCP vs SFTP? I checked the FAQ and didn't see anything there.
Advertisement
winscp3.exe [SessionName] /console /script=[ScriptFileName]
Advertisement
and so onLocal 'C:\JPG\Image1.jpg' => Remote 'JPG\Image1.jpg'...
Local 'C:\JPG\Image2.jpg' => Remote 'JPG\Image2.jpg'...
Local 'C:\JPG\Image3.jpg' => Remote 'JPG\Image3.jpg'...
..and no feedback as to what files it is comparing.Comparing 'C:\JPG\ with 'JPG\'
Advertisement
You can post new topics in this forum