FTPRush FTP client
  • Home
  • Product
  • Download
  • Purchase
  • Awards
  • Support
  • Forum
  • Contact us

FTP transfer with scripts automatically

What if/Say you are company network administrator to backup data to one or more servers? What would you do? Most FTP clients offers the basic features to download, upload, and FXP between servers and Local, But do you really want to do all of this manually every hour or every day?

Say goodbye to these dull operations, Our FTP client gives you the ability to quickly download, upload and FXP files by the build-in transfer script function. Also it allows you starting transfer from external programs for example mIRC, or schedule transfers with the FTP client task manager. Sounds cool? it is!

How to write FTP transfer scripts

The function declared as below:

procedure Transfer(
Handle: Integer;
SrcList, SrcFolder, SrcItem, DesList, DesFolder, DesItem: string;
Flag: Integer;
FolderAllow, FolderSkip, FileAllow, FileSkip: string;
CompleteFlag: string;
RepeatCount: Integer;
RetryCount: Integer;
Timeout: Integer;
FolderSort, FileSort: Integer;
Depth, SubCount: Integer;
);

Examples with the transfer function

Upload a file to FTP1 and logout from site
RushApp.FTP.Transfer(0, '', 'c:\temp', 'file1.jpg', 'FTP1', '/pictures', 'file1.jpg', RS_UP or RS_FILE or RS_DIRDES or RS_DIRSRC or RS_LOGOUT, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);

Download a folder from FTP1 to local and logout
RushApp.FTP.Transfer(0, 'FTP1', '/pictures', '', '', 'c:\temp\test', '', RS_DOWN or RS_DIRDES or RS_DIRSRC or RS_LOGOUT, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);

FXP a file from FTP1 to FTP2
RushApp.FTP.Transfer(0, 'FTP1', '/pictures', 'file1.jpg', 'FTP2', '/test', 'file2.jpg', RS_FILE or RS_DIRDES or RS_DIRSRC, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);

FXP a directory from FTP1 to FTP2
RushApp.FTP.Transfer(0, 'FTP1', '/pictures', '', 'FTP2', '/test', '', RS_DIRDES or RS_DIRSRC, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);

FXP a folder(inside bookmark 'pub') from FTP1 to FTP2 and FTP2 to FTP3 at same time
RushApp.FTP.Transfer(0, '', '', '', 'FTP1;FTP2;FTP3', 'pub', 'pictures', 0, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);

KB :: FTP Scripts
  • FTP Script IDE
  • FTP Transfer
  • FTP Command Script
  • FTP Script FAQ
  • FTP Script Statistics
Product - FTPRush
  • Overview
  • Getting Started
  • Press Release
  • Screenshots
  • Usability Tips
  • Knowledge Base
  • Testimonials
  • Awards
  • Change History

©2008 IoRush Software, All Rights Reserved. Terms of Service - Privacy Policy - About us