Frequently Asked Questions

The FAQ list is a great starting point for basic questions about what you can do with Robo-FTP.

Orange_arrowOrange_arrow Browse the FAQ list now

Knowledge Base

Our searchable knowledge base covers most of the common errors and implementation problems you are likely to encounter.

Orange_arrowOrange_arrow Search the Knowledge Base now

Contact Technical Support

If you can't find the answers you need online, get in touch with our Technical Support staff.

Orange_arrowOrange_arrow Contact Technical Support now

Professional Services

Need more than basic technical support? Our Professional Services team can help you deploy a complete solution.

Orange_arrowOrange_arrow Contact Professional Services now

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.


auto_update.s

Download

Many customers deploy a large number of copies of Robo-FTP, all running the same script that connects back to a central server to perform file transfers and related tasks.

This can cause a maintenance headache when you decide you want to change something in the script and now have to manually update the script file on each remote machine.

You can avoid this problem by making your scripts self-updating.

This sample script demonstrates a simple technique that allows you to designate a location on the server (in this case a script directory in each user's home directory on the FTP server) where you can place an updated script.

Instead of calling your script directly, have Robo-FTP launch this auto-update script first. The auto-update script logs on to the server and uses the /ifnewer option with the RCVFILE command to download a copy of the script only if the script on the server is newer than the local copy. The auto-update script then uses the CHAIN command to hand over control to your script.

Just store the auto-update script in the same directory as your script.

This sample also demonstrates the use of the *-w* option on the command line to set the working directory.

You can call the script like this:

 "C:\Program Files\Robo-FTP" -w "C:\path\to\my\script" -s "auto_update.s"

The script assumes you have created a site called "mysite" in the Site Manager.


  1  ftplogon "mysite"
  2  FTPCD "script"
  3  rcvfile "myscript.s" /ifnewer

  4  ;; RCVFILE will return an error if there is no script on
  5  ;; the server or the script on the server is not newer than
  6  ;; the local copy.  OK to ignore those errors.
  7  chain "myscript.s"

Browse complete list of scripts

Home | Solutions | Professional Services | Technical Support | Download | Company | Contact Us | Partners | Site Map | Terms of Service | Privacy Policy |