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
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