Topic "Cannot connect when remote folder was deleted"

Author Message
[View user's profile]

Joined: 2012-11-16
Posts: 2
WinSCP v.5.1.1

WinSCP remembers path on remote machine and when connects again, remote path is the same as was last time.
Problem occurs when the remote folder was deleted - winscp cannot connect until I create deleted folder or
delete remembered path from system registry.

Sorry for my terrible English.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26447
Location: Prague, Czechia
Can you please attach few screenshots showing that? And a session log file. Thanks.
Martin Prikryl
[View user's profile]

Joined: 2012-11-16
Posts: 2
I think I know what the problem is. There is QNX4 operating system on the remote machine, which generates problem.
When WinSCP try to set current directory, during connection establish, executes command:

cd "/AAAA" ; echo "WinSCP: this is end-of-file:$?"

on Linux machine the response is:

-bash: cd: /AAAA: No such file or directory
WinSCP: this is end-of-file:1

but on QNX4 machine the response is:

/AAAA: bad directory

there is no "WinSCP: this is end-of-file" in reponse.
WinSCP timeouts when waiting on it.
It seems that QNX4 shell breaks executing commands on cd command error.

Look at the attached log.

NODE4.log (9.83 KB) [Download]

Description: (none)


You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License