Post a reply

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: Session.FileExists method returns File does not exist though file is present in the directory.

Sorry, but I do not understand.
What does your FileExists question have to do with SynchronizeDirectories?
rajivpanda

Session.FileExists method returns File does not exist though file is present in the directory.

Hi ,
I am using vbscripting to download and upload file from and to WINSCP.

Session.FileExists is returning false.

Is it because of below reasons:
1. Manually if i login to WINSCP - gui it takes more time to login and load particular spool directory as the directory contains around 35000 files.
2.But in vbscript when i connect to session without no much time delay the session is getting connected.

I expect somewhere it is failing due to synchronisation issue.

How can i use Session.SynchronizeDirectories in VBSCRIPT in my code.

Thanks,
Rajiv