wimleers/fileconveyor — Issue #101: FTP transport moves files insted of copy them
Author: sahami
Created: 2012-01-28 06:45:01+00:00
State: open

I set up wimleers-fileconveyor-8ab0943 on my server. Here is my cnfiguration file

10.10.10.2
user
password
http://localhost/daemontest/

It copies new and modified files but "automatically deletes them" after sync as you see below.

2012-01-27 23:22:12,318 - Arbitrator.FSMonitor - INFO - Detected 'CREATED' event for '/test/t15.x' through inotify (for monitored path '/test').
FSMONITOR CALLBACK FIRED:
input_file='/test/t15.x'
event=1"
discovered_through=inotify
2012-01-27 23:22:12,318 - Arbitrator.FSMonitor - INFO - Detected 'MODIFIED' event for '/test/t15.x' through inotify (for monitored path '/test').
FSMONITOR CALLBACK FIRED:
input_file='/test/t15.x'
event=2"
discovered_through=inotify
2012-01-27 23:22:12,496 - Arbitrator - INFO - Discover queue -> pipeline queue: '/test/t15.x'.
2012-01-27 23:22:12,584 - Arbitrator - INFO - Pipeline queue: merged events for '/test/t15.x': CREATED + MODIFIED = CREATED.
2012-01-27 23:22:12,585 - Arbitrator - INFO - Discover queue -> pipeline queue: '/test/t15.x'.
2012-01-27 23:22:12,816 - Arbitrator - INFO - Pipeline queue -> filter queue: '/test/t15.x'.
2012-01-27 23:22:12,816 - Arbitrator - INFO - Filtering: '/test/t15.x' matches the 'Copy of website files on Web1' rule for the 'Drupal_Files' source!
2012-01-27 23:22:12,816 - Arbitrator - INFO - Filter queue -> transport queue: '/test/t15.x' (rule: 'Copy of website files on Web1').
2012-01-27 23:22:12,817 - Arbitrator - INFO - Transport queue: '/test/t15.x' to transfer to server 'LB1' with transporter #1 (of 1), place 1 in the queue.
TRANSPORTER CALLBACK FIRED:
(curried): input_file='/test/t15.x'
(curried): event=1
(curried): rule='Copy of website files on Web1'
(curried): processed_for_server='None'
output_file='/test/t15.x'
transported_file='test/t15.x'
url='http://localhost/daemontest/test/t15.x'
server='LB1'
2012-01-27 23:22:13,007 - Arbitrator - INFO - Transport queue -> DB queue: '/test/t15.x' (server: 'LB1').
2012-01-27 23:22:13,124 - Arbitrator - WARNING - Deleted '/test/t15.x' as per the 'Copy of website files on Web1' rule.
2012-01-27 23:22:13,124 - Arbitrator.FSMonitor - INFO - Detected 'DELETED' event for '/test/t15.x' through inotify (for monitored path '/test').
FSMONITOR CALLBACK FIRED:
input_file='/test/t15.x'
event=4"
discovered_through=inotify
2012-01-27 23:22:13,201 - Arbitrator - WARNING - Synced: '/test/t15.x' (CREATED).
2012-01-27 23:22:13,520 - Arbitrator - INFO - Discover queue -> pipeline queue: '/test/t15.x'.
2012-01-27 23:22:13,762 - Arbitrator - INFO - Pipeline queue -> filter queue: '/test/t15.x'.
2012-01-27 23:22:13,762 - Arbitrator - INFO - Filtering: '/test/t15.x' matches the 'Copy of website files on Web1' rule for the 'Drupal_Files' source!
2012-01-27 23:22:13,763 - Arbitrator - INFO - Filtering: queued transporter to server 'LB1' for file '/test/t15.x' to delete it ('Copy of website files on Web1' rule).
2012-01-27 23:22:13,763 - Arbitrator - INFO - Transport queue: '/test/t15.x' to transfer to server 'LB1' with transporter #1 (of 1), place 1 in the queue.
TRANSPORTER CALLBACK FIRED:
(curried): input_file='/test/t15.x'
(curried): event=4
(curried): rule='Copy of website files on Web1'
(curried): processed_for_server='None'
output_file='/test/t15.x'
transported_file='test/t15.x'
url='None'
server='LB1'
2012-01-27 23:22:14,010 - Arbitrator - INFO - Transport queue -> DB queue: '/test/t15.x' (server: 'LB1').
2012-01-27 23:22:14,400 - Arbitrator - WARNING - Synced: '/test/t15.x' (DELETED).

As i understand fileconveyor does not move files from source and copies them. But I downt know why it moves them at least in ftp transporter.

Thanks
M. Sahami