Topic "cd allows one to change directory to a filename"

Author Message
[View user's profile]

Joined: 2017-06-08
Posts: 1
Location: Los Angeles
I'm using winscp 5.9.5 build 7441 on windows 10 transferring files to a mac os x system using sftp protocol from winscp command line.
the directory tmp on the mac has a file named blort in it.
If I connect to the mac system, and do (username replaced by x's)

winscp> cd tmp/blort
winscp> pwd
winscp> ls
Error listing directory '/Users/xxxxxxxx/tmp/blort'.
No such file or directory.
Error code: 2
Error message from server: No such file
(A)bort, (R)etry, (S)kip: Skip
winscp> cd ..
winscp> ls
drwx------ 11 xxxxxxxx staff 374 Jun 7 16:52:35 2017 .
drwxr-xr-x 108 xxxxxxxx staff 3672 Jun 7 12:49:46 2017 ..
-rw------- 1 xxxxxxxx staff 8 Jun 5 15:30:04 2017 blort

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26911
Location: Prague, Czechia
OK, thanks for your report. You are right. I'll look into it.

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