Non-interactive command-line client FTP client, alternative to weex

I am looking for a good non-interactive, FTP command line client to run from Rakefile. Like Wex, but better. Wex has different problems (for me):

  • It stores the configuration file in my home directory. I want the FTP config to be part of my project, and weex doesn't have the -config-file option or anything like that.
  • The behavior of ignoring files seems completely wrong. It does not delete the files that it should, it does not allow me to specify relative paths, although I do this according to the instructions on the man page, etc. I fought with him for an hour, and he is just completely inexplicable.

I tried running rsync via FTPFS / FUSE, but this is slow because FTP does not save mtimes, which makes rsync diff every file. In addition, there are some upgrade issues and other errors that cause access denial ( http://bugs.gentoo.org/208168 ).

I am stuck with FTP, unfortunately. Any help is appreciated.

+3
source share
4 answers

Perhaps something from the ncftp package ( http://www.ncftp.com/ncftp/ )? This allows you to specify the configuration file of your choice and the tools for working non-interactively (ncftpget / ncftpput).

It does not seem to ignore the functionality, but hopefully it was useful to you.

+1
source

lftp . ( ).

+1

The problem with lftp is that it is very slow for mirroring - which I suppose you want to do since you are using weex.

Unfortunately, both weex and sitecopy have very limited proxy processing, so if you need to go through an HTTP proxy, lftp may still be your best bet.

0
source

Source: https://habr.com/ru/post/1709853/


All Articles