Re: Existing file rules for command line mode
For the most flexibility perhaps have two site profiles one for command line automation and another for regular access.
While -overwrite -resume -skip may be sufficient for your needs the file transfer rule system is far more advanced (complex) and I'm not sure if its a good idea to implement a override that would basically side-step the existing transfer rule system.
We used to allow the use of the -taskrules=<array of values> switch (an undocumented switch) which was added for use by the task scheduling system (which allows every file transfer rule to be defined) but now it appears that this switch is only used with scheduled tasks and cant be used with any other regular command line, though I am not entirely sure why this change was made. I will look into this code to see if it can be used for other types of command lines.
|