Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Appending to Files on NT?

by wog (Curate)
on Jan 22, 2002 at 04:52 UTC ( #140552=note: print w/ replies, xml ) Need Help??

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

Comment on Re: Appending to Files on NT?
Download Code
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!

(tye)Re: Appending to Files on NT?
by tye (Cardinal) 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")

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://140552]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-05-04 09:27 GMT
Find Nodes?
    Voting Booth?

    In my home, the TV remote control is ...

    Results (83 votes), past polls