Source Repository

If you want to download an official release of ftputil, go to the Download page.

The following instructions are mainly for developers and contributors to ftputil.

Get the latest source code

If you would like to follow the development of ftputil (that is, get the in-development code from the source code repository) you need to install Mercurial.

After that, get the code with

hg clone http://hg.sschwarzer.net/ftputil my-ftputil-repo

where my-ftputil-repo is the name of the directory which is to contain the local repository. This directory must not exist.

This will make the directory my-ftputil-repo and print something like

requesting all changes
adding changesets
adding manifests
adding file changes
added 288 changesets with 380 changes to 49 files
38 files updated, 0 files merged, 0 files removed, 0 files unresolved

Note that you'll get an in-development version which may be completely unusable, though it normally is quite safe to use.

Updating your working directory

If you later want to update your repository copy, change to the my-ftputil-repo directory and type

hg pull --update

This will get all the changes since your initial checkout (or your last update). For more on working with Mercurial, see the tutorial or the book.

Browse the repository

You can inspect all versions of the source code without having to install Mercurial. Use the link "Browse source" in the main navigation at the top of the page. Most of the development happens on the default branch, so you should select "default" from the drop-down list prefixed with "Visit".

Old vs. new revisions

As the source repository was migrated from Subversion to Mercurial on 2010-01-25, old revisions found in the ticket system are no longer valid. There's a table relating old and new revisions at SubversionVsMercurialRevisions.