git-ftp | Uses Git to upload only changed files to FTP servers | FTP library

 by   git-ftp Shell Version: 1.6.0 License: GPL-3.0

kandi X-RAY | git-ftp Summary

kandi X-RAY | git-ftp Summary

git-ftp is a Shell library typically used in Networking, FTP applications. git-ftp has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

If you use Git and you need to upload your files to an FTP server, Git-ftp can save you some time and bandwidth by uploading only those files that changed since the last upload. It keeps track of the uploaded files by storing the commit id in a log file on the server. It uses Git to determine which local files have changed. You can easily deploy another branch or go back in the Git history to upload an older version. If you encounter any problems, add the -v or -vv option to see more output. The manual may answer some of your questions as well.

            kandi-support Support

              git-ftp has a medium active ecosystem.
              It has 5348 star(s) with 702 fork(s). There are 148 watchers for this library.
              It had no major release in the last 12 months.
              There are 93 open issues and 390 have been closed. On average issues are closed in 133 days. There are 17 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of git-ftp is 1.6.0

            kandi-Quality Quality

              git-ftp has 0 bugs and 0 code smells.

            kandi-Security Security

              git-ftp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              git-ftp code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              git-ftp is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              git-ftp releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 1475 lines of code, 0 functions and 5 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of git-ftp
            Get all kandi verified functions for this library.

            git-ftp Key Features

            No Key Features are available at this moment for git-ftp.

            git-ftp Examples and Code Snippets

            No Code Snippets are available at this moment for git-ftp.

            Community Discussions


            Vue 3 production deployment
            Asked 2022-Mar-03 at 14:51

            I am currently deploying my Vue 3 project (with Laravel API Backend) and I am having some troubles with deploying.

            What I am trying to do is, I used git-ftp to push my Vue project to production server and then I run npm install and npm run build to build the app. I am getting an error:

            FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory

            I have read on some similar questions that one possible way was to use command with allocating more memory to Vue

            npx --max_old_space_size=4095 vue-cli-service build --modern

            however this produced the same error. These are my package.json dependencies (dev included)



            Answered 2022-Mar-03 at 14:51

            We have not been able to figure this out.

            Instead we used the option of runner in GitLab, so that when we merge into develop/master the script runs automatically and:

            • builds Vue project
            • pushes the content folder to ftp while also renaming it to dist



            Deploy to FTP via python script with GitLab CI
            Asked 2021-Oct-25 at 21:00

            I'm new to GitLab. I am building my first pipeline to deploy the contents of my GitLab project to an FTP server with TLS encryption. I've written a Python script using ftplib to upload the files to the FTP server that works perfectly when I run it on my local Windows machine. The script uploads the full contents of the project to a folder on the FTP server. Now I'm trying to get it to work on GitLab by calling the script in the project's .gitlab-ci.yml file. Both the script and the yml file are in the top level of my GitLab project. The setup is extremely simple for the moment:



            Answered 2021-Oct-25 at 21:00

            This requires that the GitLab Runner (which executes the pipeline) is able to make an SFTP connection to your FTP server.

            Shared runners are likely locked down to only connect to the GitLab server (to prevent an attack vector).

            To work around this, install your own runner and register it to your GitLab.



            Installing git overwrites curl library in Docker
            Asked 2021-Oct-17 at 16:15

            I'm trying to create a Docker image with git-ftp so I can deploy to an sftp server.

            git-ftp requires git and curl compiled with libssh2, which is usually not included, so I found a Docker image from the curl devs which comes with sftp support:



            Answered 2021-Oct-15 at 01:45

            Git requires libcurl for HTTP and HTTPS support. Because a Git without HTTPS support is not very useful, most distro packages of Git depend on the distro package of libcurl.

            What is likely happening in your case is that when you install Git, its dependency, libcurl, is also being installed from the distro package. The custom libcurl is either installed in the normal location without a suitable package and is therefore being overwritten, or it's installed somewhere later in the library search path and is being ignored because the distro version is being preferred.

            You should run ldd $(which curl) both before and after the installation of Git and find out where the custom and distro versions of libcurl are located. If the image is installing libcurl into somewhere under /usr/lib, then it's broken: that location is reserved for the package manager, and it would need to build and install a normal system package with its custom version to avoid being overwritten. Otherwise, you may be able to modify /etc/ to adjust the search path of the library, or use the LD_LIBRARY_PATH environment variable to do so on a per-program basis.



            Debian 11 Update broke samueldebruyn/debian-git?
            Asked 2021-Aug-31 at 12:09

            I have a staging, and a production server setup on Bitbucket Pipelines running a yaml script with the following;



            Answered 2021-Aug-15 at 08:11

            TL;DR; The stable images on docker hub have not yet been regenerated for Debian 11, but the security repo changed layout. The next rebuild of the stable docker image should be Debian 11 based and that should fix the problem.

            --- Details ---

            It seems the stable and stable-slim tags are currently a bit broken at docker hub.

            For Debian 10 and older, the repo uses the subdirectory structure {RELEASE}/updates to contain the security updates;



            Push to several FTP servers
            Asked 2021-Mar-02 at 21:12

            So I have a gitlab repo that currently sync with an SFTP server everytime I make an commit. Now I have another SFTP server which I also have to push the files to but I'm not sure how I should do this automatically. This is the yml script I have right now:



            Answered 2021-Mar-02 at 21:12


            How can I deploy Jekyll site from github repo to my ftp?
            Asked 2020-Oct-28 at 17:44

            I have a custom Jekyll site which is working fine on local.

            I would like to deploy my builded site to my hosting environment. Via FTP with github actions is working fine with this:

            This is the FTP workflow:



            Answered 2020-Oct-17 at 14:33

            This is what I currently use, which I found from The World According to Mike Blog.

            This uses ncftp which allows you to upload files via ftp easily.



            Git: ftp is not a command
            Asked 2020-Jun-23 at 16:16

            I'm trying to use the git-ftp on Windows 10. I've tried all steps on this page.

            It suggests to write these commands on git bash:



            Answered 2020-Jun-19 at 08:31

            The README for git-ftp/git-ftp includes:

            Windows and OS X: I am very limited in testing on Windows and OS X. Thanks for helping me out fixing bugs on these platforms.

            Still, on Windows, you can simply copy the git-ftp in D:\Program Files\Git\bin (you don't even have to be in a bash): any git-xxx file which is in the %PATH% would be executed by git xxx

            Check first in a regular CMD (with the appropriate PATH) if git ftp is recognized. (Assuming D:\Program Files\Git\bin is in your %PATH%)



            Bitbucket Piplines: Upload from a sub directory to staging / production server
            Asked 2020-Mar-01 at 10:14

            I am trying to upload my project using bitbucket's pipeline service and its working fine. However, I only need to upload the files from a specific sub-directory.

            My directory structure is as follows:



            Answered 2020-Mar-01 at 10:14

            I found the solution. The only command which requires the modification is the git-ftp command. However, I also found that the export command doesn't have anything to do here, so I removed it and the command still worked as I require.

            Here how it goes:



            Angular Bitbucket Pipeline unable to run ng build
            Asked 2020-Feb-15 at 23:50

            i have created a pipeline to deploy my angular app to my ftp server through bitbucket pipeline. I have created therefore this pipeline.yml file:



            Answered 2020-Feb-15 at 23:50

            you have angular cli installed in your project, the better and faster way would be to use local ng installation to build your project. just add an npm script and call build through npm like this:


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install git-ftp

            You can download it from GitHub.


            Don’t hesitate to improve this tool. Don’t forget to add yourself to the [AUTHORS](AUTHORS) file. The core functionality is unit tested using shunit2. You can find the tests in tests/.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular FTP Libraries


            by curl


            by git-ftp


            by drakkan


            by robinrodricks


            by giampaolo

            Try Top Libraries by git-ftp


            by git-ftpPython


            by git-ftpRuby


            by git-ftpCSS