Post a reply

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)


Topic review

George A.

Thank you!

Thank you sir.

Re: Using Session.FileExists() function throws "Session Failed" error

Thanks for your post.

This issue has been added to the tracker:

Meanwhile, just ignore calls to the Session.Failed, when you are calling the Session.FileExists. Just introduce some flag.
George A.

Using Session.FileExists() function throws "Session Failed" error

When I try to check if file exists at FTP site with Session.FileExists() function it fires up Session.Failed event when file is not there. The message is "Can't get attributes of file .... No such file or directory. Error code: 2. Error message from server: File not found."
Is there a way to void this message? I read documentation and found nothing about it.

thank you.