Welcome Guest!
 VirtualPascal
 Previous Message All Messages Next Message 
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.
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.