• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Hot folder howto ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hot folder howto ?


  • Subject: Re: Hot folder howto ?
  • From: Yann Bizeul <email@hidden>
  • Date: Wed, 14 Jul 2004 12:23:46 +0200

> you will need to poll in this case. There are of course more methods
> to solve this problem, but I personally use periodic checking of
> modified date.
but this is not reliable, if the network goes down for the machine
writing the file, its size won't be updated, and the application will
work on a file not completely written :-/

>
> HTH
> Robert
>
> On 11.7.2004, at 22:55, Yann Bizeul wrote:
>
>> Seem interesting, I keep a bookmark :-)
>>
>> Unfortunately, I need to do this on a network volume :-/ And UKKQueue
>> does not seem to work with this condition.
>>
>> Any idea ?
>>
>> Le 11 juil. 04, ` 20:02, Robert Cerny a icrit :
>>
>>> hi Yann,
>>> try to check UKKQueue.
>>> <http://www.zathras.de/programming/cocoa_stuff.php>
>>>
>>> HTH
>>> Robert
>>>
>>> On 11.7.2004, at 16:23, Yann Bizeul wrote:
>>>
>>>> Hi list,
>>>>
>>>> I'm looking for help for my application to implement a Hot Folder
>>>> bahavior.
>>>> I want to move an dmake different things to files goind into a
>>>> specified folder.
>>>>
>>>> The problem is I did not find a method to make sure the file is
>>>> available, with the file I tested, NSFileManager's
>>>> isWritableFileAtPath: always return NO (but the file is not open)
>>>>
>>>> I know I can use folder actions with applescript to advertise file
>>>> availability to my application, but that seem ugly to me, I don't
>>>> like
>>>> AppleScript, and I want my App to be easy to deploy for my customer.
>>>>
>>>> So if somebody could point me to good informations, that would be
>>>> great !
>>>>
>>>> --
>>>> Yann Bizeul - yann at tynsoe.org
>>>> http://projects.tynsoe.org/
>>>> _______________________________________________
>>>> cocoa-dev mailing list | email@hidden
>>>> Help/Unsubscribe/Archives:
>>>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>>>> Do not post admin requests to the list. They will be ignored.
>>> _______________________________________________
>>> cocoa-dev mailing list | email@hidden
>>> Help/Unsubscribe/Archives:
>>> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>>> Do not post admin requests to the list. They will be ignored.
>>>
>>>
>>>
>> --
>> Yann Bizeul - yann at tynsoe.org
>> http://projects.tynsoe.org/
>
>
>
--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Hot folder howto ? (From: Yann Bizeul <email@hidden>)
 >Re: Hot folder howto ? (From: Robert Cerny <email@hidden>)
 >Re: Hot folder howto ? (From: Yann Bizeul <email@hidden>)
 >Re: Hot folder howto ? (From: Robert Cerny <email@hidden>)

  • Prev by Date: Child and Parent windows have dysfunctional relationship?
  • Next by Date: Minize window in the menu bar
  • Previous by thread: Re: Hot folder howto ?
  • Next by thread: Runaway NSTextView bounds height
  • Index(es):
    • Date
    • Thread