http://qs321.pair.com?node_id=140552


in reply to Appending to Files on NT?

You can probably tell what the problem is by including the special variable $! in the error message.

update: added link

Replies are listed 'Best First'.
(tye)Re: Appending to Files on NT?
by tye (Sage) on Jan 22, 2002 at 05:08 UTC

    Excellent idea. In this particular case, the value of $^E might also be helpful. I suspect that the file is open by a program that isn't sharing write access. See the Win32API::File documentation of the $svShare argument to createFile() for more information on this.

            - tye (but my friends call me "Tye")
Re: Re: Appending to Files on NT?
by mr_dont (Beadle) on Jan 22, 2002 at 05:02 UTC

    Right wog!

    Thanks for the tip! It was a permissions problem. Hmmm... I hope I hope I can set the permissions of the file on the NT server using my linux ftp client!