Using Subversion with FTP

Quick and dirty method to setup a roaming subversion repository without a subversion server and accessing through an ftp connection.

Tools Needed:

  • A NAS or Hosted FTP Account (Ex: Godaddy)
  • Tortoise SVN
  • NetDrive

The basic idea is to download NetDrive and map (in Windows) your ftp address to a local drive so Tortoise “thinks” its local.

There’s a catch though. You need to create your repository locally using the native file system database and then upload your full repository. Now you can import files using Tortoise. Remember to use the folder conventions of TRUNK, TAGS, BRANCHES.

2 Responses to “Using Subversion with FTP”


  1. 1 Barryke Apr 11th, 2008 at 1:33 pm

    Cheers!

    I’d like to do the opposite: make Subversion an archive of whatever “happened” on a ftp. Basicly a ongoing backup. Any ideas?

  2. 2 Vinny Brown Apr 20th, 2008 at 10:19 pm

    I am having a problem getting this to work and I was hoping you might be able to help. I successfully created the repository (locally) and then copied it to my ftp site using NetDrive. However when I try to import, it adds the branches, tags and trunk folders but then generates an error saying it “cannot move ../transactions/0-1.txn to ../db/revs/1 the system cannot find the file specified”. Why would it be doing that? The .txn file is being created. Why can’t it be found?

    Thanks for any help you can offer.
    Vinny Brown

Leave a Reply