Bembel-B Blog

2009/04/26

My FTPSync.pl Native Windows Build

I needed a Windows command line tool for syncing local files with an FTP server and couldn’t find any lightweight ones. There’s FTPSync.pl for Unix/Linux with a Cygwin build available (seems to be gone now). Instead of using that, I built an EXE of FTPSync.pl with ActivePerl for Windows.

Main reason for not using the Cygwin build is that using different versions of cygwin.dll simultaneously isn’t possible, which could happen easily when for example additionally having a full Cygwin install with running services. Stand alone Cygwin builds need to be shipped with the cygwin.dll which it is linked to.
Also that Cygwin build is outdated.

So, to make short things short, here you can download ftpsync-1.3.01.W32.zip (and my previous build ftpsync-1.2.33.W32.zip).

As far as I remember the build was straight forward. I installed ActivePerl 5.10, added a 3rd party PPM Repository (bribes.org I think) for installing the PAR Packer. Then all I had to do was issuing pp -o ftpsync.pl.exe ftpsync.pl in the directory with the FTPSync.pl sources.
You can reduce the EXE file size using UPX if you need to.
So far the EXE is working without problems.

ChangeLog

[2009-04-27: New build of latest version.]

Create a free website or blog at WordPress.com.