ftpsync | simple Ruby class to sync local directory | FTP library
kandi X-RAY | ftpsync Summary
kandi X-RAY | ftpsync Summary
FtpSync is a simple Ruby class to sync local directory to a remote ftp directory, or copy directories on remote server. FtpSync doesn’t work for FTP server on Windows. Sorry Windows guys. I don’t have a chance to test running it on Windows to sync to ftp server on *nix, either. It’s extracted from my personal project, use it at your own risk.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ftpsync
ftpsync Key Features
ftpsync Examples and Code Snippets
Community Discussions
Trending Discussions on ftpsync
QUESTION
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:18Pyftpsync 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.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
Install ftpsync
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page