View Single Post
Old 05-03-2011, 11:07 AM  
bigstar
FlashFXP Developer
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

You can import a site via the command line
FlashFXP.exe -import="c:\sites\import.ftp" -yes -quit

The above command line will import the site within import.ftp, overwrite the existing site profile, and quit FlashFXP.

The format of the file is XML

<?xml version="1.0" encoding="windows-1252"?>
<SITES VERSION="1.2">
<SITE NAME="My Test Server">
<PROTOCOL>FTP</PROTOCOL>
<ADDRESS>10.1.1.1</ADDRESS>
<PORT>21</PORT>
<USERNAME>root</USERNAME>
<PASSWORD>password</PASSWORD>
<PASSIVE>DEFAULT</PASSIVE>
<SSL>NONE</SSL>
</SITE>
</SITES>

Not all per-site options can be set via the XML file and depending on which per-site settings you use some may be lost after the import of the site.

Using this with a queue file will provide the easiest solution, however I'm not entirely sure if there's a way to make this 100% automated on your end.

Last edited by bigstar; 05-03-2011 at 11:15 AM.
bigstar is offline