clone git repository via active FTP

I’m a branch office worker and have uploaded my existing repo to the ftp server at my company’s central office. The central office is using Microsoft’s ftp server. I have no access to install anything on the server and was only able to connect/browse to the ftp server using a real ftp client that supports active mode ftp.

I have tried cloning with the following command lines:

  • “fatal: Not a git repository (or any of the parent directories)” from git status
  • Is possible clone only a folder from remote repository?
  • bundle install leads to git clone error. Not sure what this response means
  • Issues cloning from Github
  • Ignore a versioned file from a Git repository and its clones
  • Clone of Git repository excluding subdirectory
  • git clone ftp://companyDomain\ 
    git clone
    git clone
    git clone

    And I get the following error message:

    error: Failed connect to; No error while accessing
    fatal: HTTP request failed

    When entering the above commands I immediately get prompted for my password. I enter the password, some time passes and then I received the above error message.

    To be completely clear I’m am NOT looking to push the head version of my source to an FTP server for deployment, so things like git-ftp,, don’t help me out at all. What I want to do is have my repo on the ftp server and everyone on my very small team be able to push/fetch changes to the repo on the ftp server.

    Does git support active FTP?
    What’s going on?


  • In a git merge, how do you just replace your version with the version git says there is a conflict with?
  • git push validation from windows sets author to unknown
  • How can I move a directory in a Git repo for all commits?
  • Versioning SQL Server?
  • Gitweb: How I see source code in tree view with color
  • Tutorial on GIT with XCODE
  • 3 Solutions collect form web for “clone git repository via active FTP”

    Do they use the default FTP port? If they don’t, you need to declare it like so:

    git clone


    git clone

    I tried also all FTP examples here, none was working. Since my server pc is a linux machine I installed git on it and then can clone be done use:

    git clone username:servername:/folder1/folder2/repoFolder.git

    Then you will be asked for password.
    If no git is installed on server you will get:

    sh: git-upload-pack: not found
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    Git Baby is a git and github fan, let's start git clone.