|
Re: Filemode while reading from Novell share
|
Jürgen Hestermann
|
Sep 09, 2004 14:35 PDT
|
Hello Jürgen,
| | | | in my program I wanted to copy a file from a novell server but
I am always getting ioresult=5 (I think that's sharing violation)
after reset(f). Novell rights are read and filescan on this directory/file.
I can read the content of the file with other programs like viewers
but not with my program. I tried to change the filemode variable to
FileMode := open_access_ReadWrite;
or explicitly setting it to the default of
FileMode := open_access_ReadWrite OR open_share_DenyNone; // $42
but not change. Anbody knows how to overcome this or how to set FileMode?
|
ioresult=5 is acces denied, it my be a sharing problem!
|
but I can read the file with other programs like viewers.
So it cannot be a sharing problem.
Tomorrow I'll try the Windows API "copyfile" to see whether this works.
| | Are you shure, that your Novell-account has the right to write to
the drive? Are you allowed to copy the file with a CMD-Copy?
|
Yes, I am quite sure.
Jürgen Hestermann.
|
|
 |
|