WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Cannot re-copy file to target after deletion (Read 2593 times)
derek_badger
YaBB Newbies
*
Offline



Posts: 2
Cannot re-copy file to target after deletion
Aug 27th, 2010 at 2:11pm
 
hi,

we're currently evaluting your product as it's almost perfect for our needs. however i need some assistance with one scenario:

we have to folders;  folder (a): data comes from an xml feed and these files are update many times a day. this file structure is copied to folder (b) as and when these changes take place.

our application reads the xml files in folder (b), processes them and then deletes them. when folder (a) receives and updated file it replicates to folder (b), it is again read, processed and deleted. this process continues ad infinitum.

with watchDirectory 4.6.2 the initial replication process of folder (a) to folder (b) is fine, and any subsequent changes to the files in folder (a) are replicated in folder (b)...however when a file in folder (b) is deleted by our application it is not replaced when the corresponding file in folder (a) is updated by the data feed.

a back up of task we are trying to set up is attached.

many thanks in advance,
andy

Smiley
Back to top
 

 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Cannot re-copy file to target after deletion
Reply #1 - Aug 28th, 2010 at 12:39pm
 
Hello Andy,

Can you try with "do not set any permissions" on the "File Permissions" window?

You may also need to change the Service settings so this task runs as another user (see http://watchdirftp.blogspot.com/2010/04/watchdirectory-tasks-as-windows-service.... ).

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
derek_badger
YaBB Newbies
*
Offline



Posts: 2
Re: Cannot re-copy file to target after deletion
Reply #2 - Aug 31st, 2010 at 11:35am
 
hi gert,

thanks - it was a permissions issue.

andy
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1