Need Help with CDONTS

Need Help with CDONTS

am 28.03.2007 23:28:10 von jlopes151

Here the sample code, it fails on the attachment retrieving the file.
The file is located on a remote server. The folder is Shared & Web Shared with
EveryOne having Full access to the shared folder. I can pull the file from
other
ways, dropping the full path in the Run of Windows, Using Outlook to send an
e-mail with the file attached

I get one of those Unspecified error messages. By the way this code works if
the file is local. I need to access the file from the remote location.

Re: Need Help with CDONTS

am 29.03.2007 10:08:28 von Anthony Jones

"jlopes151" wrote in message
news:FD5382B8-F317-4AEA-AED9-31A016BBEFB6@microsoft.com...
>
> Here the sample code, it fails on the attachment retrieving the file.
> The file is located on a remote server. The folder is Shared & Web Shared
with
> EveryOne having Full access to the shared folder.

You need to check both the share permissions and the folder/file permissions

> I can pull the file from
> other
> ways, dropping the full path in the Run of Windows, Using Outlook to send
an
> e-mail with the file attached
>
> I get one of those Unspecified error messages. By the way this code works
if
> the file is local. I need to access the file from the remote location.
>
>

What OS are you on? If Win2000 or Win2003 consider using CDOSYS instead of
CDONTS. CDONTS is deprecated.

Re: Need Help with CDONTS

am 29.03.2007 14:40:02 von jlopes151

"Anthony Jones" wrote:

>
> "jlopes151" wrote in message
> news:FD5382B8-F317-4AEA-AED9-31A016BBEFB6@microsoft.com...
> >
> > Here the sample code, it fails on the attachment retrieving the file.
> > The file is located on a remote server. The folder is Shared & Web Shared
> with
> > EveryOne having Full access to the shared folder.
>
> You need to check both the share permissions and the folder/file permissions
>
> > I can pull the file from
> > other
> > ways, dropping the full path in the Run of Windows, Using Outlook to send
> an
> > e-mail with the file attached
> >
> > I get one of those Unspecified error messages. By the way this code works
> if
> > the file is local. I need to access the file from the remote location.
> >
> >
>
> What OS are you on? If Win2000 or Win2003 consider using CDOSYS instead of
> CDONTS. CDONTS is deprecated.
>
>
>

The Web user at the Share level has Read acceess, full control at the file
level
Only the parent folder is Shared with the child folders giving full control
at their
levels

Win2000 SP4