Re: GetFolder over frame relay
- From: "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial>
- Date: Thu, 13 Oct 2005 20:41:45 -0400
Fails? Do you get an error? What does it say?
Ray at home
"edamron" <edamron@xxxxxxxxxxx> wrote in message
news:1129228258.595304.199000@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I wrote a simple vb script to synchronize a directory on servers at our
> remote sites with our server at our main office.
>
> The remote sites are all connected via frame relays. At one site
> everything works great but the process fails at all of the other sites.
>
> I can find no explanation except that the connection at the site that
> succeeds is fairly fast and the connections at the other sites are
> fairly slow. I'm thinking that the FileSystemObject GetFolder function
> is timing out. Telling me that either the function or argument is
> invalid.
>
> Below is a code snippit:
>
> If oFSO.FolderExists(sUNC) then
>
> Set oFolderFROM = oFSO.GetFolder(sUNC) 'Code fails here.
> if Err.Number <> 0 then
> Exit Sub
> End If
>
> So I check for the folder first and it's there but when I try to get it
> the code fails.
>
> If this is a timeout issue, is there a way to control the length of
> time before a timeout error occurs? I think if I tell the script not
> to time out unless five seconds has passed it should work.
>
> Thanks
>
.
- Follow-Ups:
- Re: GetFolder over frame relay
- From: edamron
- Re: GetFolder over frame relay
- From: edamron
- Re: GetFolder over frame relay
- References:
- GetFolder over frame relay
- From: edamron
- GetFolder over frame relay
- Prev by Date: Re: How do I get a list of installed browser plugins
- Next by Date: Help with WMI collection
- Previous by thread: GetFolder over frame relay
- Next by thread: Re: GetFolder over frame relay
- Index(es):
Relevant Pages
|