Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2015-07-07 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls