Script Library

Sample scripts are provided as-is with no warranty of fitness for a particular purpose. These scripts are solely intended to demonstrate techniques for accomplishing common tasks. Additional script logic and error-handling may need to be added to achieve the desired results in your specific environment.


upload_a_directory.s

Download

This simple script uploads the contents of a directory on your local file system to a managed site.


  1  ;; Log on to the managed site myftpsite
  2  FTPLOGON "myftpsite"
  3  IERROR RETURN
  4  
  5  ;; Copy the entire contents of foldertocopy to the remote system, including subfolders and nested files
  6  SENDFILE "foldertocopy" /emptydirs /subdirs


Browse complete list of scripts