in reply to File transfer not working on server
-d is used for directories. You should use -f instead. Check -X.
Igor 'izut' Sutton your code, your rules.