Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Downloading using FTP

by TwistedGreen (Sexton)
on May 10, 2004 at 09:00 UTC ( [id://351995]=note: print w/replies, xml ) Need Help??


in reply to Downloading using FTP

Check out flock for more information on this. flock will try to lock a file. It will fail if it can't, meaning the file is in use or otherwise inaccessible.

-peter

Edit: As Abigail-II pointed out, this won't really help you over FTP. I should've read your question more thoroughly, but flock is a place to start.

Replies are listed 'Best First'.
Re: Downloading using FTP
by Abigail-II (Bishop) on May 10, 2004 at 09:07 UTC
    Check out flock for more information on this. flock will try to lock a file.
    Unfortunally, you can't lock a file over FTP. Technically, you can write an FTP server that flocks files, but that's done at the server side, not the client side.

    Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2024-04-12 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found