Home Contact us Partners Publish your software Remove your manuals
 
 
 
 

FTPRush: Script library provides string handling routines and function to perform task

Introduction
->> FTPRush
->> Tips and Tricks
->> FAQ
   
Quick Tutorials
->> Main Interface
->> File Menu
->> Edit Menu
->> Mark Menu
->> View Menu
->> FTP Menu
->> Tools
->> Compare Folder Contents
->> Clipboard
->> Transfer Mode
->> Transfer Completion Options
   
Getting Started
->> Connect to FTP
->> Disconnect from Site
->> Lock or Unlock Toolbar and Dock
->> Quick Connect to Site
->> Customize Main Interface
   
Dialogs
->> Add or Edit Skiplist
->> Bookmark Dialogs
->> Create CRC Checksum
->> Condition Transfer
->> Edit Queue
->> Export Directory Tree List
->> Fast Search
->> Find Files at Site
->> Hotkey Manager
->> Send RAW Dialog
->> Manual Download
   
Site Manager
->> Import or Export Sites
->> Site Manager Tools
->> General Properties
->> Connection
->> Transfer
   
Options
->> General Option
->> Connection
->> Transfer
->> Display
->> File Associations
->> Event Notification
->> Command Line
->> Wildcard and Regular Expressions
   
Using Scripts
->> Pascal Script
->> FTPRush Object
->> UI Object
->> FTP
->> Event
->> System Variables
->> System Functions
->> Script Library
   
Buy FTPRush Online! Buy FTPRush Online!

Script Library

Script Library includes some useful functions:

string handling routines

  • MatchExpr
  • MatchString

MatchExpr

Declare
function MatchExpr(source: string; pattern: string): boolean;

Description
use to match a regular expression

Examples
//display a dialog if Username matchs '[allen]'
if MatchExpr(Username, '[allen]') then ShowMessage('Yes');

Database Converter xp file undelete enterprise barcode generator
how to block usb drive usb drive controller tool memory card data undelete
compact flash data undelete for mac flash drive file undelete recover deleted text messages from cell phone

MatchString

Declare
function MatchString(source: string; pattern: string): boolean;

Description
use to match a wildcard pattern

Examples
//display a dialog if Username matchs '*allen*'
if MatchString(Username, '*allen*') then ShowMessage('Yes');

ShellExecuteCommand

Declare
function ShellExecuteCommand(FileName: string; Param: string; WorkDir: string; Flag: Integer): boolean;

Description
Executable a windows shell command

Examples
//display a dialog if Username matchs '[allen]'
ShellExecuteCommand('rar.exe','r d:\test','',0);

Example

Popup a dialog to accept input bookmark and tell all connections jump to this bookmark

Code:

defBookmark := '';
if inputQuery('Input bookmark', 'bookmark', defBookmark) then
RushApp.FTP.CWD('', defBookmark, RS_BOOKMARK);

Buy FTPRush Online! Buy FTPRush Online!
 
 
 
 
Home | Contacts | Partners | Publish your software | Remove your manuals