Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > locked file

Reply
Thread Tools

locked file

 
 
Kirt
Guest
Posts: n/a
 
      07-27-2006

i have a code that backsup file from src to dest.
Now if some of the files are locked , i need to skip those files..
I was trying to use fctl module but it can be used only in unix i
suppose.

is there anyother way? i am using windows os.

 
Reply With Quote
 
 
 
 
Simon Forman
Guest
Posts: n/a
 
      07-27-2006
Kirt wrote:
> i have a code that backsup file from src to dest.
> Now if some of the files are locked , i need to skip those files..
> I was trying to use fctl module but it can be used only in unix i
> suppose.
>
> is there anyother way? i am using windows os.


What does locked mean in this case? No read permissions? In use by
another program?

I haven't used windows in a long time, and I wasn't aware that one
could lock files in it.

Peace,
~Simon

 
Reply With Quote
 
 
 
 
Kirt
Guest
Posts: n/a
 
      07-28-2006
By locked files i mean Outlook PST file while Outlook has it open

Simon Forman wrote:
> Kirt wrote:
> > i have a code that backsup file from src to dest.
> > Now if some of the files are locked , i need to skip those files..
> > I was trying to use fctl module but it can be used only in unix i
> > suppose.
> >
> > is there anyother way? i am using windows os.

>
> What does locked mean in this case? No read permissions? In use by
> another program?
>
> I haven't used windows in a long time, and I wasn't aware that one
> could lock files in it.
>
> Peace,
> ~Simon


 
Reply With Quote
 
Simon Forman
Guest
Posts: n/a
 
      07-28-2006

Kirt wrote:
> By locked files i mean Outlook PST file while Outlook has it open
>
> Simon Forman wrote:
> > Kirt wrote:
> > > i have a code that backsup file from src to dest.
> > > Now if some of the files are locked , i need to skip those files..
> > > I was trying to use fctl module but it can be used only in unix i
> > > suppose.
> > >
> > > is there anyother way? i am using windows os.

> >
> > What does locked mean in this case? No read permissions? In use by
> > another program?
> >
> > I haven't used windows in a long time, and I wasn't aware that one
> > could lock files in it.
> >
> > Peace,
> > ~Simon


So what happens when you try to back that up while outlook is messing
with it? What are you doing to back it up? Copying?

If all you want to do is skip it... can't you try to copy it and then
when that doesn't work just skip it?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
database file locked by aspx hkappleorange ASP .Net 4 11-08-2005 05:33 PM
File locked by another process when cached with CacheDependency Keith ASP .Net 0 10-01-2003 09:29 PM
ldb file locked by aspnet_wp.exe MrB ASP .Net 1 09-15-2003 04:22 PM
A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY? Mark Kamoski ASP .Net 1 07-04-2003 12:02 PM
A failure occurred writing to the resources file. Access is denied. -- RESX file is locked? -- WHY? Mark Kamoski ASP .Net 1 07-04-2003 12:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57