Announcement

Collapse
No announcement yet.

Single Script Multiple Update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Single Script Multiple Update

    Hello,

    I have to update more than 1 folder from my source folder.
    Is it possible to create script like this;

    option confirm:yes-to-all
    load "ftp://address/folder1"
    select all
    touch all:now
    load "ftp://address/folder2"
    select all
    touch all:now
    beep

    Do the "option confirm:yes-to-all" and similiar settings like filters and such effective for every single load operation in the script ?

    I will also add sync operation, this is an example script.

  • #2
    Re: Single Script Multiple Update

    Yes, commands like "option confirm:yes-to-all" and "filter" are valid through multiple load statements. They aren't replaced until the command shows up in the script again.

    Not all FTP servers support the commands necessary to set timestamps, so it might be a good idea to try the touch command interactively first to make sure it is supported.
    Chris K Scooter Software

    Comment

    Working...
    X