Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: File does not exists, session.FileExists returns false even though file is exists into list

Your server is broken. It claims support for MLSD/MLST commands. Yet then it fails, when WinSCP tries using MLST command to test the file existence:

> 2019-12-29 21:46:23.649 FEAT

< 2019-12-29 21:46:23.716 211-Extensions suported:
< 2019-12-29 21:46:23.716  MLSD
< 2019-12-29 21:46:23.716 211 End.
...
> 2019-12-29 21:46:24.325 MLST /test.txt
< 2019-12-29 21:46:24.462 500 Unknow command

Try setting FtpUseMlsd to 1:
https://winscp.net/eng/docs/rawsettings#ftpusemlsd

Let us know.
kevalsavani

File does not exists, session.FileExists returns false even though file is exists into list

When I tried with session.FileExists("test.txt"), this returns false even though the file shows when I execute session.ListDirectory("/").
I have attached my log. I am using vb.net.