pyftpsync | Synchronize directories using FTP , SFTP | FTP library

 by   mar10 Python Version: 4.1.0 License: MIT

kandi X-RAY | pyftpsync Summary

kandi X-RAY | pyftpsync Summary

pyftpsync is a Python library typically used in Networking, FTP applications. pyftpsync has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has high support. You can install using 'pip install pyftpsync' or download it from GitHub, PyPI.

Synchronize directories using FTP(S), SFTP, or file system access. Note: Version 4.0 drops support for Python 2.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pyftpsync has a highly active ecosystem.
              It has 96 star(s) with 22 fork(s). There are 10 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 2 open issues and 48 have been closed. On average issues are closed in 126 days. There are 2 open pull requests and 0 closed requests.
              OutlinedDot
              It has a negative sentiment in the developer community.
              The latest version of pyftpsync is 4.1.0

            kandi-Quality Quality

              pyftpsync has 0 bugs and 270 code smells.

            kandi-Security Security

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

            kandi-License License

              pyftpsync is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pyftpsync releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 5513 lines of code, 346 functions and 33 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pyftpsync and discovered the below as its top functions. This is intended to give you an instant insight into pyftpsync implemented functionality, and help decide if they suit your requirements.
            • The main function
            • Parse pyftpsync yaml yaml file
            • Set default task argument
            • Set the pyftpsync logger
            • Create a parser for the run command
            • Open the FTP connection
            • Write text to file
            • Convert to bytes
            • Write a lock file
            • Prompt the user for a pair of options
            • Start synchronization
            • Resolve a remote pair
            • Classify this entry
            • Return a list of all the directories in the current directory
            • List files
            • Re - classify pair
            • Re - classification pair
            • Set the mtime of a file
            • Add sync info to peer
            • Copy data to a file
            • Open a temporary file
            • Open a file with the given name
            • Set the global logger
            • Return a list of directory names
            • Open the FTP socket
            • Called when a conflict is encountered
            • Called when a new file entry has changed
            Get all kandi verified functions for this library.

            pyftpsync Key Features

            No Key Features are available at this moment for pyftpsync.

            pyftpsync Examples and Code Snippets

            No Code Snippets are available at this moment for pyftpsync.

            Community Discussions

            QUESTION

            EFOError when trying to connect Pyftpsync to remote server on port 22
            Asked 2019-May-29 at 08:45

            I am trying to sync two folders via FTP, yes I know there are better or different ways but for now I need to implement it this way, I was trying the example code from pyftpsync since well, a sample code should work easily right? I am just trying to connect between some test folders I made, one is empty(local) and the remote has a single text file that I want to fetch. It tries to connect but after about 2 minutes I get this error.

            well, my FTP does work outside of python. I can connect over winSCP just fine.

            some places mentioned that a proxy could possibly cause this, but it seems I am not behind a proxy currently, but maybe I did not set that properly and it believes there should be a proxy somehow?

            anyways any possible troubleshooting ideas would help. Thank you

            here is my code, just using commands on the prompt for pyftpsync produces the same errors for me. So it is possible some input parameter is off causing all of this.

            ...

            ANSWER

            Answered 2019-May-29 at 06:18

            Pyftpsync uses FTP protocol.

            You are connecting to port 22, which is used for SSH/SFTP.

            So if your server is actually SFTP server, not FTP server, you cannot use Pyftpsync with it.

            Source https://stackoverflow.com/questions/56353079

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

            Vulnerabilities

            No vulnerabilities reported

            Install pyftpsync

            Python 3.6+ is required, pip recommended:. Note: Windows users may prefer the MSI Installer.

            Support

            Read the Docs for details.
            Find more information at:

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

            Find more libraries
            Install
          • PyPI

            pip install pyftpsync

          • CLONE
          • HTTPS

            https://github.com/mar10/pyftpsync.git

          • CLI

            gh repo clone mar10/pyftpsync

          • sshUrl

            git@github.com:mar10/pyftpsync.git

          • 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

            curl

            by curl

            git-ftp

            by git-ftp

            sftpgo

            by drakkan

            FluentFTP

            by robinrodricks

            pyftpdlib

            by giampaolo

            Try Top Libraries by mar10

            fancytree

            by mar10JavaScript

            wsgidav

            by mar10Python

            jquery-ui-contextmenu

            by mar10JavaScript

            dynatree

            by mar10JavaScript

            wunderbaum

            by mar10TypeScript