<< back to sysax.com Product page

FTP Scripting Manual


Introduction
1. Basic syntax
1.1. Commenting your script
1.2. Script commands
1.3. Predefined Status flags and constants
1.4. Strings, numbers, variables and lists
1.5. Conditional execution
1.6. Loops
1.7. List manipulation loops
1.8. Error checking
1.9. Adding execution delays
1.10. Forced exit from loops
1.11. Script termination
2. Working with string and numeric variables
2.1. Setting and updating variables
2.2. Printing variables
2.3. Incrementing and decrementing numeric variables
2.4. Converting strings to uppercase or lowercase
2.5. Modifying string contents
2.6. Comparing strings
3. Working with lists of files and folders
3.1. Creating a list
3.2. Accessing items in a list
3.3. Appending to lists
3.4. Comparing lists
4. File transfer commands
4.1. Connecting to remote hosts
4.2. Local and remote paths
4.3. Obtaining folder listings
4.4. Transferring files and folders
4.5. Modification time for remote file
4.6. Dealing with duplicate files
4.7. Passive mode transfers
4.8. ASCII and binary transfer types
4.9. Non RFC959 compliant FTP servers
5. File system commands
5.1. Renaming files and folders
5.2. Deleting files and folders
5.3. Creating folders
5.4. Executing custom remote FTP commands
5.5. Executing local programs
5.6. Compressing and uncompressing local files and folders
5.7. Copying and moving local files and folders
6. Recursive File Transfers
7. Comparing Files and Folders
8. Synchronizing Files and Folders
9. Backup Files and Folders
10. Reading and writing local files
10.1. Opening and closing local files
10.2. Reading lines
10.3. Writing lines
11. Email notification
11.1. Creating email messages
11.2. Multi line messages and attachments
11.3. Sending email
12. OpenPGP Encryption and Decryption
12.1. OpenPGP automation concepts
12.2. Generating OpenPGP key pairs
12.3. Keyrings and key management
12.4. Encrypting files with OpenPGP
12.5. Decrypting OpenPGP encrypted files
13. Error reporting
13.1. Setting program exit codes
13.2. Writing out error files
13.3. Email notifications
14. Working with timestamps
14.1. Generating timestamps
14.2. Formatted Timestamps
14.3. Using timestamps
15. Accessing system information
15.1. Reading environmental variables
15.2. Getting the local computer name
15.3. Getting username running the script
15.4. Reading windows registry values
16. Command line script parameters
16.1. Running a script from the command line
16.2. Specifying log files
16.3. Passing Environmental variables
16.4. Protecting passwords and other strings
Index