Session.FileExists method returns File does not exist though

Advertisement

rajivpanda
Joined:
Posts:
1
Location:
Bangalore, India

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,070
Location:
Prague, Czechia

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?

Reply with quote

Advertisement

You can post new topics in this forum