Re: [lftp] Make certificate verification great again

2017-03-20 Thread Daniel Fazekas
On Mar 20, 2017, at 14:55, Nathanaël Naeri wrote: > Is that an issue that this hosting company could do something about? I > can ask their sysadmins for help. It's a common setup mistake to make for server admins that they only add the server certificate to their

Re: [lftp] certificated validation

2014-06-12 Thread Daniel Fazekas
On Jun 12, 2014, at 20:55, Szépe Viktor vik...@szepe.net wrote: Your software is very tricky. After --with-ssl=yes openssl is not denoted (in the bottom line) but doing some TLS operation! Stripping symbols from the lftp binary can cause the openssl version information to go missing from the

Re: [lftp] crash in SFtp::MergeAttrs at fi-SetUser (utf8_to_lc(a-owner));

2013-11-08 Thread Daniel Fazekas
Works fine with the patch. Thanks! On 2013.11.08., at 6:03, Alexander Lukyanov lavv...@gmail.com wrote: Thank you for the report! This patch should fix the problem. -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru

[lftp] crash in SFtp::MergeAttrs at fi-SetUser (utf8_to_lc(a-owner));

2013-11-07 Thread Daniel Fazekas
Recent versions of LFTP seem to crash regularly when using SFTP, always with a similar looking backtrace along the line of: OS X, lftp 4.4.10: strlen () DirectedBuffer::PutTranslated (this=0x100405280, buf=0xc Address 0xc out of bounds) at buffer.h:179 SFtp::utf8_to_lc (this=0x10180, s=0xc

Re: [lftp] User name with @ symbol

2011-10-25 Thread Daniel Fazekas
On Oct 25, 2011, at 15:53, Amer wrote: How do you login ftp server with username that contains @ symbol in it eg u...@host.tld? I seem to remember being able to login into such ftp long time ago but I can't recall the trick to make lftp works with such username format You can percent-encode

Re: How to ascertain that the connection is secure? Re: Cannot connect via FTPES; lftp hangs

2011-06-07 Thread Daniel Fazekas
On Jun 7, 2011, at 09:59, augustin wrote: set ftp:use-feat/example.com off set ftp:ssl-force/example.com on This feature is s cool and s undocumented anywhere I looked (man page as well as online lftp tutorials). It's there in the man page, though perhaps not easy to understand

Re: How to ascertain that the connection is secure? Re: Cannot connect via FTPES; lftp hangs

2011-06-01 Thread Daniel Fazekas
On Jun 1, 2011, at 16:44, augustin wrote: With the settings you suggest, I did not really suggest changing any settings, I just noted that those are already the defaults so you shouldn't need to do anything and lftp will automatically use the secure connection if the server tells it that it's

Re: Cannot connect via FTPES; lftp hangs

2011-05-31 Thread Daniel Fazekas
On May 31, 2011, at 09:46, augustin wrote: I am trying to securely connect to a server running FTPES: http://ouvaton.coop/spip.php?article376 I tried with filezilla and I can connect. But with lftp, the connection hangs at ls: lftp -d sftp://jack.masquilier@ftp.ocsa-data.net:21 From the

Re: SSL Verification on 4.2.0

2011-03-22 Thread Daniel Fazekas
On Mar 22, 2011, at 16:24, Nate Sutton wrote: This doesn't seem to be an issue on the Linux systems we're using, and is a net positive IMO, but it fails on OSX 10.6.6. OSX stores the cert files in the Keychain application, apparently, so they can't be found on the file system. Does anyone

Re: Lftp mirror include/exclude glob options

2011-03-04 Thread Daniel Fazekas
On Mar 5, 2011, at 02:18, Daniel Freeman wrote: Firstly I'm mirroring a remote directory with index files like song.index to a local directory. mirror -I *.index That's an uppercase “I” as in include. -X or --exclude-glob is the opposite, as you could see in the lftp man page. If they are

Re: lftp set ftp:* per connection

2011-02-02 Thread Daniel Fazekas
On Feb 2, 2011, at 11:11, Johannes Scholz wrote: I want to run several jobs in parallel on different ftp servers and I was wondering whether it is possible to make settings like ftp:ssl-protect-data on a per connection level, rather than setting them globally set

Re: one sesion lftp + source.jpeg - 1. /folder1/name1.jpeg 2./folder2/name2.jpeg

2011-01-12 Thread Daniel Fazekas
On Jan 9, 2011, at 12:17, Maciej Raurowicz wrote: I would like - using lftp - send a picture to ftp server , in one session to two different folders, giving him two different names. one sesion lftp + source.jpeg - 1. /folder1/name1.jpeg 2. /folder2/name2.jpeg put source.jpeg -o

Re: lftp 4.0.7 : can't connect with sftp any more

2010-08-17 Thread Daniel Fazekas
On Aug 6, 2010, at 15:20, RAPPAZ Francois wrote: I have to change my pc and set I have set up cigwin with lftp 4.0.7 --- sh: ssh: command not found I have compared the settings of both version (my old pc is still working...) but have not found a thing . You forgot to install the OpenSSH

Re: lftp and features

2010-05-20 Thread Daniel Fazekas
On Apr 26, 2010, at 10:48, Thomas Samoht wrote: 1. When using AUTH TLS, I can see PBSZ 0 and PROT P. I haven't read the RFC, but I hope this means that both command, and data channel are encrypted. Am I correct? Not necessarily, that depends on the ftp:ssl-protect-data option. set

Re: ls problems with differnt versions of lftp

2010-04-08 Thread Daniel Fazekas
On Apr 9, 2010, at 00:06, Diane Rolland wrote: set ftp:ssl-force yes made no difference. But here is debug 20 level on the client that can successfully connect to the server: It looks like your server requires TLS encryption yet it doesn't advertise AUTH TLS as supported in the FEAT reply.

Re: ls problems with differnt versions of lftp

2010-04-07 Thread Daniel Fazekas
On Apr 6, 2010, at 20:43, Diane Rolland wrote: No change when set ftp:passive-mode on debug in front of ls gives: lftp u...@host.somedomain.com:~ debug lftp u...@host.somedomain.com:~ ls Connecting to somedomain.com (XX.XX.XX.XX) port 21 --- 220-- Welcome to Pure-FTPd

Re: ls problems with differnt versions of lftp

2010-04-06 Thread Daniel Fazekas
On Apr 6, 2010, at 18:28, Diane Rolland wrote: I cannot do ls command. It immediately gives: Peer closed connection Closing control socket See if set ftp:passive-mode on helps. If it didn't, then execute the debug command before ls.

Re: Need Help : Regarding LFTP

2010-03-19 Thread Daniel Fazekas
On Mar 18, 2010, at 13:32, Pravin Bhande wrote: I am getting the below error while installing LFTP 4.0.5 on enterprises Linux. I am using GCC version 4.1.2. Error I am getting while configuring lftp is as below: Configure : error: C++ test compile failed; check your C++ compiler You also

Re: lftp and embedded OS ftp server

2010-02-25 Thread Daniel Fazekas
On Feb 25, 2010, at 16:25, mmoore.h...@gmail.com wrote: See if quote CWD drive2: helps. Hey Daniel - thought of that, but lftp tries to interpret the cwd command, which it doesnt understand... would there be a way to pass a command directly to the server uninterpreted by lftp? Yeah,

Re: lftp and embedded OS ftp server

2010-02-25 Thread Daniel Fazekas
On Feb 25, 2010, at 17:42, mmoore.h...@gmail.com wrote: I thought just adding to the script would work, but now mirror appears to be using the file listing from the wrong drive? (manually, I had to issue recls to update the filelisting) Modified: lftp -c open -e \set ftp:list-options

Re: Execute remote command in one command

2010-01-15 Thread Daniel Fazekas
On Jan 16, 2010, at 00:00, Jorge Bastos wrote: I need to execute a remote command do delete all files on a remote FTP dir. Lftp -u backup,backup -C MDEL /backup/dir/* 192.168.1.249 Does lftp provides such feature? Try rm -r /backup/dir As help rm says though, be careful you got the

Re: Execute remote command in one command

2010-01-15 Thread Daniel Fazekas
On Jan 16, 2010, at 00:42, Jorge Bastos wrote: Try rm -r /backup/dir Hum, but that is to local command... what I want to delete Is on the remote server. Not in lftp it's not. rm works on the remote server in lftp, as does cd, ls and so on. To execute them on the local system, you'd have to

Re: Problems with dollar sign in passwords

2009-11-16 Thread Daniel Fazekas
On Nov 16, 2009, at 13:39, Ilya Sabanin wrote: For some reason lftp doesn't like dollar sign in user passwords, even if embraced in single quotes. I also tried to prepend the sign with backslash but it didn't help. that one will always fail: open -u 'test','one$b' -p 21 ftp://10.0.1.3;

fix crashes in cls -s

2009-10-16 Thread Daniel Fazekas
lftp 4.0.2 was crashing for me when executing cls -s on Mac OS X x86_64. It appears human_readable() in lib/human.c assumes the passed buffer to be at least LONGEST_HUMAN_READABLE long, as defined in lib/human.h. LONGEST_HUMAN_READABLE calculates to 271 on this machine, bigger than the

Re: Need to use ftps (NOT sftp) on RHAS4

2009-08-24 Thread Daniel Fazekas
On Aug 24, 2009, at 11:19, MacIntyre, Ross A wrote: Can someone tell me where I can get ftps, or how to enable another piece of software to use the ftps protocol? (Looking about I see that lftp is already on the machine[as is sftp] and the man page for lftp says that it supports the ftps

Re: Need to use ftps (NOT sftp) on RHAS4

2009-08-24 Thread Daniel Fazekas
On Aug 24, 2009, at 15:22, MacIntyre, Ross A wrote: HOST='ftps://remote_machine.com:990' Normally for FTP you don't even need to specify ftps in the URL. The client and server just start off with an unencrypted conversation like Server: Hello, I'm an FTP server which supports SSL/TLS.

Re: Can't connect with username who begin with dot

2009-07-10 Thread Daniel Fazekas
On Jul 8, 2009, at 15:09, Tetsuo wrote: lftp ftp://.name.ftp.host:pass@host Try replacing the dots with %2E

Re: 'ls' options

2009-06-26 Thread Daniel Fazekas
On Jun 26, 2009, at 13:26, Chris Sutcliffe wrote: Why is the 'ls -ltr' command limited to ftp? When I do an sftp connection using 'sftp', I can do an 'ls -ltr' and it behaves as expected. The ls command is not processed by lftp itself. It just passes the options you specified to the

Re: ftps - not supported protocol

2009-02-11 Thread Daniel Fazekas
On Feb 11, 2009, at 21:19, Quillen, Channon wrote: Where do I find info regarding compiling with ssl support? In ./configure --help --without-gnutlsdon't use GNUTLS library --with-openssl=/pathuse OpenSSL at, /path --without-openssl don't use OpenSSL (default)

Re: ls on sftp doesn't support ls parameters

2008-11-23 Thread Daniel Fazekas
On Nov 22, 2008, at 11:27, Arkadiusz Miskiewicz wrote: On Friday 23 of May 2008, Arkadiusz Miskiewicz wrote: sftp:// connection, lftp 3.7.1: lftp ls -1t ls: invalid option -- '1' ls: invalid option -- 't' (to get sorted by time + only name) but lftp does pure ls. Any chance to see this

Re: Fedora 8 Compile Problem

2008-11-10 Thread Daniel Fazekas
On Nov 10, 2008, at 15:39, Jonathan Allen wrote: Package readline-devel-5.2-10.fc8.i386 already installed and latest version Package lftp-3.5.14-3.fc8.i386 already installed and latest version # lftp lftp: error while loading shared libraries: libreadline.so.5: cannot open shared

Re: Fedora 8 Compile Problem

2008-11-10 Thread Daniel Fazekas
On Nov 10, 2008, at 13:56, Jonathan Allen wrote: I'm trying to build lftp for a Fedora 8 system. checking for readline... configure: error: need installed readline- devel package Using the --with-readline flag makes no difference, and readline-5.2-10.fc8 is already installed. Where do I

Re: Lftp exit question

2008-09-29 Thread Daniel Fazekas
On Sep 26, 2008, at 16:04, Berger, Josef wrote: When put a nonexistent file (fttrant2) with lftp, the exit command on the put command, works fine. The only problem is $? Return code variable is 0 ?. Any ideas what is wrong, would be very appreciated. ssh -v $ZLINUX_USER@$ZLINUX_HOST

Re: lftp build problem on mac

2008-07-14 Thread Daniel Fazekas
On Jul 10, 2008, at 23:22, Simon Ruderich wrote: I'm trying to compile lftp 3.7.3 on my Mac 10.4 Tiger but it fails with the following error: /usr/bin/ld: Undefined symbols: rpl_poll(pollfd*, unsigned long, int) It's a C++ name decoration problem, trying to access a function in a C

Re: Forcing a site command before a get

2008-07-04 Thread Daniel Fazekas
On Jul 2, 2008, at 21:49, Aethon wrote: prior to 'get'ing a file, you have to issue a site command with a file specific password (this is on top of the normal login authentication stuff). [...] open sitename login user pass site rpwd second_pwd get file1 -o outdir/file1 get file2 -o

Re: Problem reports?

2008-07-04 Thread Daniel Fazekas
On Jul 2, 2008, at 19:43, JORGENSON,GARY wrote: I am running configure with the -with-openssl=path option and have tried every path for SSL that I can find, yet it always gives the message checking for openssl library... none found. We use OpenSSL on this server for other things, so SSL

Re: Multiple rename/mv (changing extension after upload)

2008-06-29 Thread Daniel Fazekas
On Jun 26, 2008, at 15:42, [EMAIL PROTECTED] wrote: I was trying to script a solution for this purely in lftp, but I have not been able to find an easy way of renaming the files. After i mput the lot (all called *.tmp), i would like to rename them all from filename.tmp to filename.xml (as

Re: lftp to mainframe: ls/get fails with No data sets found though Sun ftp works

2007-06-04 Thread Daniel Fazekas
On Jun 4, 2007, at 22:18, bl00m (aka Adam) wrote: --- LIST --- 550 No data sets found. Closing data socket ls: Access failed: 550 No data sets found. [...] Here is the output from the Sun ftp client - same cd and ls, but here it lists out directories: --- NLST 125 List started OK Looks

crashes in cls -s on Mac OS X Intel x86, if compiled with -O2

2007-04-21 Thread Daniel Fazekas
lftp crashes for me in various ways when using the cls command with the -s (--size) switch on Mac OS X Intel x86. Depending on how full the directory I'm listing is, it either crashes on the first try or second/third. The crash is always in ColumnOutput.cc, but the place and cause varies,

Re: Download from file list

2005-09-07 Thread Daniel Fazekas
On Sep 7, 2005, at 18:16, Ken Garland wrote: I have seen this asked a few times in the list, but I was unable to locate an answer or even a reply. What I would like to do is download a list of files contained in a text file using lftp. Try lftpget $( listfile)

Re: mirror -v question

2005-06-29 Thread Daniel Fazekas
On Jun 29, 2005, at 10:21, Alexander V. Lukyanov wrote: A quote from man page: [...] So tcgetpgrp should return -1 and set errno to ENOTTY. If FreeBSD does not do this, it is a bug. On Mac OS X, tcgetpgrp(fileno(stdout)); also returns 0 when running from crontab. It was probably

Re: problem now.. not before

2005-05-31 Thread Daniel Fazekas
On May 30, 2005, at 19:47, Javier Herranz wrote: lftp -d -c 'open ftp.mysite.com; user user pass; lcd /home/user/www; cd /public_html ; mirror -Rev' and get this (debug): [...] --- PASV --- 227 Entering Passive Mode (67,19,170,226,60,35) Conectando socket de datos a (67.19.170.226)

Mac OS X 10.4 Tiger: 100% CPU usage in lftp's internal readline

2005-05-03 Thread Daniel Fazekas
lftp when run under Mac OS X 10.4 Tiger causes 100% CPU usage just sitting at its prompt waiting for entry when using the bundled internal copy of readline. Everything works properly besides this problem. Tiger doesn't ship with GNU Readline but it does have a wrapper header for a