If you use a WaarpR66server as a ftp client to receive a file from a ftp server is should be possible.
To add a rule to your WaarpR66 server you can use the command
A rule file is a xml file with the folowing structure:
idrule: the name of the rule
mode: 1=Send (client is the origin of the file) 2=Receive (client is the destination of the file)
rpretasks: list of tasks to execute by the receiver before the file is transfered
rposttasks: list of tasks to execute by the receiver after the file is transfered
rerrortasks: list of tasks to execute by the receiver if the transfer fails
spretasks: list of tasks to execute by the sender before the file is transfered
sposttasks: list of tasks to execute by the sender after the file is transfered
serrortasks: list of tasks to execute by the sender if the transfer fails
you can find an example on this page.
A simple rule in your case should be like this:
To better help you with your setup can you give me more information ?
- Which Waarp component do you use ?
- How do you invoke it ?