Prevent a user from renaming a file while its being streamed from a remote ftp server cocoa

50 Views Asked by At

How to avoid a user from renaming a file while its being downloaded/streamed on mac programmatically using cocoa.

Breaking my head on this since 4 hours. Please help me. Thanks in advance.

1

There are 1 best solutions below

1
On

Can you simply download to a temporary directory (away from the user's typical view) and move/copy into its final location when complete?