Fsync
Fsync makes keeping your FTP server up to date simple. Fsync checks the status of your local files and recusively uploads only new or modified files. Fsync also removes files that have been deleted locally but still exist on the FTP server.
How does Fsync work?
Fsync is a command line utility. It creates and maintains a local database (.fsync file). Whenever an UPLOAD command is executed, Fsync compares the local files against the database, uploads any new or modified files, and removes any deleted files. The STATUS command can be used to show what Fsync will do. The UPLOAD command transfers the files to the destination directory on the FTP server. If most of the data already exists on the local machine, the CREATE command can be used to create the local database without uploading any files.![]()
What can Fsync do?
Fsync will :
- Recursively report the STATUS of all files compared to the last UPLOAD.
- Recursively UPLOAD files to a URI.
- Create a local database without needing an upload using CREATE.
- Select files based on a filelist.
- Exclude files matching a pattern.
What options are available for Fsync?
The Fsync command has the general form:
fsync [status | upload | create] filelist
where filelist is a comma separated list of file names with asterisks (*) having their usual meaning (eg *.html;*.jpg). Other options are:
-
-a: Make binary transfers in active mode rather than the default PASV mode.
-
-d n: debug mode where n may be one of 0 (quiet, default), 1 (talkative) or 2 (verbose). Useful for debugging problematic connections to FTP servers.
-
-f: forcefully upload the filelist regardless of local file status. This option does update the database.
-
-u: specify the upload destination by URI. eg -u ftp://user:pass@127.0.0.1/uploads
-
-x: excludes a list of files by string pattern matching. The file list is a semi-colon separated list. eg. -x txt;Thumbs.db
Installation
There is no installer for Fsync. Installation is a simple process:
- Download the file.
- Unzip the downloaded file to any directory (location) on your hard drive. Note: in WindowsXP unzipping is natively supported. In other Windows versions you may need to obtain an unzip program (Google: unzip program).
- Add the installation directory to your PATH environment variable.
License
All downloads of Fsync (demo and full version) are subject to the Fsync End User License Agreement.
Minimum System Requirements
- Windows 98/ME/2000/XP
- 64 MB RAM
- PII (266MHz)
