Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21096

Log in time to a remote server

$
0
0
Hello !

I'm continuously logged in to a remote server in order to handle some incoming files on a subdirectory.
When I manually open this directory to check for files to process, it takes about 7 to 8 seconds before the directory even appear. From there it's just some more second to open it.

I've developed a VB program to automatically open and check other directories, but they are all in the server of my own, and the access therefor is just a second. There is no problem at all to check for files and then report the results. But for the remote server the time is too long and the attempt will be stopped.

Is there any command in VB to extend the time for trying, long enough to let the directory appear and be scanned ? I can of course put in some delay in the program code, but it will just slow down before it even try to access.
I guess there is some maximum limit set for the time to find a server directory before it reaches the time limit, whether the limit is in Windows or is set somewhere in VB - I don't know...

Anyone else that have some information ?

Best regards

/Kalle

Viewing all articles
Browse latest Browse all 21096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>