threads / discuss / 6816

Exporting a git repository via FTP

Subject: Exporting a git repository via FTP

## tl;dr

One message between Feb 14, 2007 and Feb 14, 2007.

replies: 0people: 1as markdown or json

Guilhem Bonnefille· Feb 14, 2007, 13:36 UTC · lore
Hi,
I'm currently looking for the _simplest_ way to share a Git repo on my
HomePage (offered by my ISP). My configuration is:
- a raw HTTP server (no way to have any WebDav features);
- a simple FTP for upload.

Following the documentation, I first used a local directory mirrored on the server (with the sitecopy tool). It worked, but needs disk space (and is not funny :-))

So, I tried a direct git-push over ftp URL (as Curl knows FTP download and upload). But it failed because FTP is not supported in push operations.

So, I tried curlftpfs: setting up a local mount point connected to my remote directory. It worked... sometimes. But it freeze really often.

So... I ask the Git community :-) Is there any hope to see a git-ftp-push command one day? Reading the http-push.c file, it seems that the most problematic part is that FTP does not allow LOCKs. But, in my case, LOCKs are not necessary as I'm the only one user to update my remote repo. No chance for conflicting updates. Anybody working on such thing?

-- 
Guilhem BONNEFILLE
-=- #UIN: 15146515 JID: guyou@im.apinc.org MSN: guilhem_bonnefille@hotmail.com
-=- mailto:guilhem.bonnefille@gmail.com
-=- http://nathguil.free.fr/

← back to recent threads