Re: [lftp] lftp-4.4.4 ipv6 question

2013-04-23 Thread Alexander Lukyanov
Try set dns:order inet. -- Alexander. 2013/4/24 Justin Piszcz jpis...@lucidpixels.com Aside from changing lftp to disable IPv6 support, is there a way to disable IPv6 for transfers or to prefer IPv4 for the initial connection? By default if IPv6 module/option is loaded in the Linux

Re: [lftp] How to mirror (with FXP) specific dir

2013-05-13 Thread Alexander Lukyanov
? My intent is to connect to many ftps.. and leave them open/idling connected, and i will keep sending those commands to transfer dirs from some source into some destiny On Mon, May 6, 2013 at 10:17 AM, Alexander Lukyanov lavv...@gmail.comwrote: Use or set fail-exit yes. BTW, mirror

Re: [lftp] getenv issue

2013-05-30 Thread Alexander Lukyanov
I have applied the fix. It will be available in the next lftp version (in github now). Thank you! 2013/5/19 Shigeharu Isoda s-is...@ricelabo.com But I found lftp ignores getenv() return value, this causes segmentation fault, while lftp invoked on no 'TERM' environment variable, such as cron

Re: [lftp] lftp mirror not removing directories...

2013-07-02 Thread Alexander Lukyanov
--Remove-source-files removes only plain files, not directories. It's done that way because the direcories could contain other files which were not downloaded (e.g. because they were excluded or they are present locally already). 2013/6/25 Chris Richards chris...@routemaster.net One small issue

Re: [lftp] Unable to Compile LFTP with OPENSSL under Debian Wheezy

2013-11-07 Thread Alexander Lukyanov
lftp --version gets the openssl version from SSL_version_str variable in case it is available. Probably the version of openssl does not provide that variable. It should not affect other operations though. And BTW, on fedora 19 lftp shows openssl version correctly. 2013/11/7 Purple Nugs

Re: [lftp] mirror hangs itself / gets stuck

2013-12-27 Thread Alexander Lukyanov
I'd recommend to use newest stable lftp version (4.4.14). Then try several possibilities to access the server: 1. disable ssl (set ftp:ssl-allow no) or disable ssl for file listings connections only (set ftp:ssl-protect-list no) 2. try to use fish or sftp if they are allowed (open

Re: [lftp] Weird behavior using get command in lftp

2013-12-27 Thread Alexander Lukyanov
Please use newest lftp version (4.4.14) and turn on debug output using debug command. -- Alexander. 2013/12/13 Rey Guillen rey.n.guil...@gmail.com Hi. I'm getting a weired behavior when doing a get command in lftp. one the flat files I'm trying to extract from the sftp server becomes

Re: [lftp] Continuous Mirror of new folders

2014-01-18 Thread Alexander Lukyanov
You can use repeat mirror command for continuous mirroring. attach command can be used to control backgrounded lftp instance. HTH. 17.01.2014 19:02 пользователь Purple Nugs purplen...@gmail.com написал: I would like to make something so that lftp never disconnects from an ftp and constantly

Re: [lftp] SSH key trouble

2014-01-18 Thread Alexander Lukyanov
Does plain ssh try to use WT key? Try in lftp set | grep WT. 09.01.2014 18:34 пользователь John Niendorf j...@jfniendorf.org написал: Hi Everyone, I'm running the latest stable version of lftp on a laptop running Ubuntu 12.04 My problem is I recently changed SSH keys and lftp still looks

Re: [lftp] tell if file is directory

2014-01-30 Thread Alexander Lukyanov
You can try to use cls command, then analyze the output, or just try to cd to the could-be-directory and act depending on the resulting exit code, like this: cd DIR do-something cd DIR || do-something-else 2014-01-27 Robert DuToit rdut...@comcast.net: Hi Alexander, Is there a way to

Re: [lftp] Can't connect to FreeBSD sftp

2014-03-11 Thread Alexander Lukyanov
I think you can try to use strace to find out what data lftp receives from the connection (if any). Then compare that with the data lftp receives from other sftp servers. Also it would help if you provided me with access to a FreeBSD sftp account. -- Alexander. 2014-02-19 5:16 GMT+04:00

Re: [lftp] forward slash on root not allowed

2014-05-12 Thread Alexander Lukyanov
Please send the debug output of lftp. Which protocol do you use? 2014-05-12 3:55 GMT+04:00 Robert DuToit rdut...@comcast.net: Hi Alexander, I have found that some servers won’t allow a forward slash at root level. leaving it off solves the problem but otherwise an error is thrown “mkdir….

Re: [lftp] Trying to create a directory

2014-06-06 Thread Alexander Lukyanov
Git HEAD sources now contain mkdir -f option for quiet operation. Funny that mkdirJob had already boolean quiet flag. 2014-01-04 18:47 GMT+04:00 Gianni Piccini g...@antani.se: Hi to all. I would ask if there is a solution to my (mainly estethic) problem. I use lftp launching it with a script

Re: [lftp] mirror feature request and tab completion bug

2014-08-29 Thread Alexander Lukyanov
Tab completion is not perfect, but you can switch local/remote completion by using Meta-Tab (or Esc+Tab) combination. 2014-08-29 1:33 GMT+04:00 Dan39 dda...@gmail.com: Hello, I have been using lftp for a while and love it! Thank you very much. When mirroring it would be a huge help if it

Re: [lftp] Why is PROT P issued twice?

2014-09-08 Thread Alexander Lukyanov
Please send the debug log (use command debug to turn it on). 2014-09-06 18:58 GMT+04:00 Stephen Powell zlinux...@wowway.com: I searched the mailing list archives, but I was unable to find anything related to this. The lftp client is issuing the PROT P command to the server twice, back to

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-16 Thread Alexander Lukyanov
Here is a patch to make lftp wait for QUIT reply at exit. I think to avoid lingering one can set use-quit no. 2014-09-16 3:44 GMT+04:00 Stephen Powell zlinux...@wowway.com: On Mon, 15 Sep 2014 05:04:36 -0400 (EDT), Alexander V. Lukyanov wrote: As far as I can tell, lftp does not wait for

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-17 Thread Alexander Lukyanov
Can you send me a sample of the script? 2014-09-17 6:36 GMT+04:00 Stephen Powell zlinux...@wowway.com: On Tue, 16 Sep 2014 02:38:21 -0400 (EDT), Alexander Lukyanov wrote: Here is a patch to make lftp wait for QUIT reply at exit. I think to avoid lingering one can set use-quit no. OK

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-17 Thread Alexander Lukyanov
Here is an additional patch to wait for QUIT reply after close command. 2014-09-17 10:50 GMT+04:00 Alexander Lukyanov lavv...@gmail.com: Ok, I could reproduce the proble you see. For now try to remove the close command from the script. 2014-09-17 10:47 GMT+04:00 Alexander Lukyanov lavv

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-19 Thread Alexander Lukyanov
Look for gnutls_bye (gnutls) or SSL_shutdown (openssl) calls. See https://github.com/lavv17/lftp/commit/fc468dc987cb45bab4a3d31a1e832601bc239774 for the change. 2014-09-19 3:24 GMT+04:00 Stephen Powell zlinux...@wowway.com: As to your claim that the new development snapshot of lftp does indeed

Re: [lftp] Status for incomplete files

2014-09-19 Thread Alexander Lukyanov
, 2014 at 4:58 PM, Alexander Lukyanov lavv...@gmail.com wrote: Please try http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140919.tar.gz, it introduces another setting xfer:temp-file-name. You can thus change the temporary file name; an asterisk is replaced by the original file name. So you would do

Re: [lftp] tail -f

2014-09-22 Thread Alexander Lukyanov
You can get easy tail -f with fish protocol or with a plain ssh: quote tail -f /log/error.log 2014-09-22 21:17 GMT+04:00 Alexander Lukyanov lavv...@gmail.com: Loop is easy: repeat 2s cat /log/error.log | tail tail -f is harder, it's in TODO for a long time. but I did not get

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-26 Thread Alexander Lukyanov
I cannot reproduce it. Please use strace on the lftp process, also use pstack PID on it and send me the output. 2014-09-26 6:26 GMT+04:00 Stephen Powell zlinux...@wowway.com: On Tue, 23 Sep 2014 01:49:57 -0400 (EDT), Alexander V. Lukyanov wrote: On Mon, Sep 22, 2014 at 10:02:29PM -0400,

Re: [lftp] possible bug in lftp mirror using xfer:use-temp-file option

2014-09-30 Thread Alexander Lukyanov
In unix it is usually allowed to rename open files, so lftp does that. I'll see if it is possible to reverse the order. 2014-09-30 12:18 GMT+04:00 akshay gupta akshaygupta...@gmail.com: Hi, I am trying to mirror files on Fuse mounted hdfs file system (

Re: [lftp] Question regarding fix in 4.6.0

2014-10-21 Thread Alexander Lukyanov
No, it isn't. I have decided that the change is too significant to include in a maintenance release. Use 4.6. And I don't consider it a serious bug - it was there for years and nobody complained. 21.10.2014 14:47 пользователь tilo.mue...@bertelsmann.de написал: Hi Alexander, we’ve seen that

Re: [lftp] Question regarding fix in 4.6.0

2014-10-21 Thread Alexander Lukyanov
most of the transfers are working fine, if this bug was already in lftp for years. Any idea? *From:* Alexander Lukyanov [mailto:lavv...@gmail.com] *Sent:* Tuesday, October 21, 2014 1:03 PM *To:* Mütze, Tilo, NMD-C4.2 *Subject:* Re: [lftp] Question regarding fix in 4.6.0 I mean

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-27 Thread Alexander Lukyanov
Can you provide a debug log? Why lftp cannot replace the old file? 2014-10-27 10:44 GMT+03:00 akshay gupta akshaygupta...@gmail.com: Hi, I am trying to mirror files using lftp, I have tested a use case where a file at the source machine gets modified but the file name remains the same.

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-27 Thread Alexander Lukyanov
--- 226 Transfer complete. So the file cannot be renamed locally, right? Is there a permissions problem? -- Alexander. On Mon, Oct 27, 2014 at 1:18 PM, Alexander Lukyanov lavv...@gmail.com wrote: Can you provide a debug log? Why lftp cannot replace the old file? 2014-10-27 10:44

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-27 Thread Alexander Lukyanov
This change should fix the problem. https://github.com/lavv17/lftp/commit/b1164d695393cf8ec8429bb2b5caa9f05cfc4d39 2014-10-27 14:20 GMT+03:00 Alexander Lukyanov lavv...@gmail.com: I have found the bug. As a workaround, use set xfer:clobber yes. 2014-10-27 13:06 GMT+03:00 akshay gupta

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread Alexander Lukyanov
It looks like a bug in the FS (fuse and/or hdfs) which also hits rsync: https://groups.google.com/a/cloudera.org/forum/#!msg/cdh-user/R1GR2Asj_lc/f_uuIjG5R1UJ Please try this workaround. 2014-10-28 10:29 GMT+03:00 akshay gupta akshaygupta...@gmail.com: will giving --delete-first option in lftp

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread Alexander Lukyanov
BTW, it looks like mirror should remove the old file before transferring the new one, please run mirror -vvv to check that. You can also run strace to check system call sequence. 2014-10-28 11:18 GMT+03:00 Alexander Lukyanov lavv...@gmail.com: It looks like a bug in the FS (fuse and/or hdfs

Re: [lftp] Possible Bug in lftp mirror using mirror:sort-by option

2014-10-29 Thread Alexander Lukyanov
Mirror in lftp works directory by directory. It does not build full list of files first, so it cannot sort the whole list. Maybe the mirror algorithm should be redesigned to build the whole recursive list first. What do you think? 2014-10-29 10:07 GMT+03:00 akshay gupta akshaygupta...@gmail.com:

[lftp] Re: some questions

2014-10-30 Thread Alexander Lukyanov
2014-10-30 13:10 GMT+03:00 Farzin Hamrahi farzin...@gmail.com: Hi Is lftp check transferred files check sum (md5sum or another ones) after transferring files with get or mirror command ? It's possible. There is xfer:verify setting, when it's true the script specified by xfer:verify-command

Re: [lftp] ftp mode Z

2014-11-05 Thread Alexander Lukyanov
Mode Z is not supported. Compressed SSH should not be a problem. 2014-11-05 0:18 GMT+03:00 Farzin Hamrahi farzin...@gmail.com: Hi Does lftp support FTP Mode Z compression? Can I use compressed TCP/IP−Sessions using SSH with default sftp:connect-program by ssh -C option ? How aboute

Re: [lftp] Possible Bug in lftp mirror using mirror:sort-by option

2014-11-12 Thread Alexander Lukyanov
the functionality of mirror:sort-by option implies that the order is for all the files irrespective of the directory structure. Or may be it should support both the options and it would be configuration defined which one to use. On Wed, Oct 29, 2014 at 2:09 PM, Alexander Lukyanov lavv...@gmail.com wrote

[lftp] Fwd: sftp with an encrypted key

2014-12-09 Thread Alexander Lukyanov
Specify the passphrase for the key as password for the connection. In the example you have provided, you have specified an empty passphrase, thus it failed to decrypt the key. If you don't want to give the passphrase in cleartext, don't specify a password in the URL and lftp will ask for a

Re: [lftp] Mirror and ASCII transfer selection

2014-12-13 Thread Alexander Lukyanov
There is no such feature in lftp. I don't think it's feasible to do: ascii mode changes the file and the next mirror will consider the file changed and thus re-transfer it. 2014-12-12 14:52 GMT+04:00 Franck Eyraud franck+l...@nospam.yrnm.net: Hi lftp list, Just a quick question, because I

{Disarmed} [lftp] {Disarmed} Re: Move files to ftp

2014-12-17 Thread Alexander Lukyanov
You can run rm -rf after mirror to remove any remaining files. 23:37, сб, 13.12.2014, Kai Stian Olstad kai.stian.ols...@gmail.com: Hi, I'm trying to move files recursive to a ftp server. Since mput doesn't support moving files recursive I'm using mirror instead. lftp -e 'mirror -c -p -R

{Disarmed} [lftp] {Disarmed} Re: Move files to ftp

2014-12-17 Thread Alexander Lukyanov
that have been added to source. - Kai Stian On Wednesday 17. December 2014 12:05:18 Alexander Lukyanov wrote: You can run rm -rf after mirror to remove any remaining files. 23:37, сб, 13.12.2014, Kai Stian Olstad kai.stian.ols...@gmail.com: Hi, I'm trying to move

Re: [lftp] Fwd: sftp with an encrypted key

2014-12-18 Thread Alexander Lukyanov
Currently it is not possible as ftp does not ask for passwords asynchronously, and the need for password arises only during the connection phase. 4:23, ср, 10.12.2014, Andrew Schulman and...@utexas.edu: Specify the passphrase for the key as password for the connection. In the example you

Re: [lftp] Problem with Spam in Gmail with this list

2015-02-16 Thread Alexander Lukyanov
SPF record was recently fixed for the domain uniyar.ac.ru, so the spam problem should become less frequent. ср, 11 февр. 2015, 19:29, Juan Simón deced...@gmail.com: I've done it now, thanks. 2015-02-11 17:10 GMT+01:00 Kai Stian Olstad kai.stian.ols...@gmail.com: On Wednesday 11. February

Re: [lftp] [LFTP] https_proxy

2015-03-03 Thread Alexander Lukyanov
Please turn on debug in lftp (command debug) and send me the output пн, 2 марта 2015, 12:56, Vincent Lasselin vlasse...@lfdj.com: Hi Alexander, I've provided user and password with the https:proxy. But it's not working. It's working very well with the http:proxy variable if I try to access

Re: [lftp] Handling for small files

2015-02-24 Thread Alexander Lukyanov
Which protocol do you use? вт, 24 февр. 2015, 13:48, akshay gupta akshaygupta...@gmail.com: Hi, I am trying to transfer about 80GB of data using mirror option. File sizes are very small about 0.5 KB to 3 KB per file. Transfer is taking a lot of time which I am attributing to small file

Re: [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2015-05-13 Thread Alexander Lukyanov
There should be no limitations. Please produce a stack trace and send it to me. ср, 13 мая 2015, 18:34, Ankit Khurana ankit.khurana0...@gmail.com: Hi, I am trying to mirror files using lftp, the mirror path contains around 1 million files. The problem i am facing is that when i start the

Re: [lftp] lftp 4.6.4

2015-08-21 Thread Alexander Lukyanov
Sorry about that. I'll update the man page in the next version. 2015-08-21 17:03 GMT+03:00 Juan Simón deced...@gmail.com: Thanks. You forgot update the man file with new prompt option \l Regards. 2015-08-21 15:43 GMT+02:00 Alexander V. Lukyanov lavv...@gmail.com: lftp-4.6.4 has been

Re: [lftp] UTF-8 output

2016-01-10 Thread Alexander Lukyanov
o tell the FTP server to use > > UTF-8 (which seems to be confirmed by the `ftp:charset` and > > `file:charset` options). > > > > I do not have any problems using either directly Filezilla or lftp > > because I guess they (or the shell) handles encoding conversion. > &g

Re: [lftp] SFTP with certificate

2016-06-05 Thread Alexander Lukyanov
e connection. > > ___ > Escrito desde el móvil > El 5 jun. 2016 8:33 AM, "Alexander Lukyanov" <lavv...@gmail.com> escribió: > >> You have to specify a password anyway, just an empty one. >> >> сб, 4 июня 2016, 22:29 Juan Simón <deced...@gmail.com>: >> >

Re: [lftp] SFTP with certificate

2016-06-05 Thread Alexander Lukyanov
You have to specify a password anyway, just an empty one. сб, 4 июня 2016, 22:29 Juan Simón : > Hi, > I connect to a remote server with a certificate (without password) but > when I try to connect via lftp, it asks for my password, why? > > I have defined "set

Re: [lftp] D/L files that are 24hr old?

2016-02-20 Thread Alexander Lukyanov
Lftp tries to get the file modification time in UTC. So the comparison does not depend on the server's timezone. Sometimes it fails due to ftp server limitations or bugs вс, 21 февр. 2016, 8:03, Steven Dennis : > Thanks for the help. I was able to use the --newer-than,

Re: [lftp] lftp not removing files from local directory

2016-05-17 Thread Alexander Lukyanov
I don't see the --delete option in your command line. пн, 16 мая 2016, 19:30 Steven Dennis : > Hello everyone, > > I am trying get lftp to make my local folders match my remote folder. > When I delete a file/folder on the remote I want lftp to remove it on the > local as

Re: [lftp] lftp not removing files from local directory

2016-05-17 Thread Alexander Lukyanov
Also --newer-than limits the file sets on the target side too, so older files won't be deleted. вт, 17 мая 2016, 9:31 Alexander Lukyanov <lavv...@gmail.com>: > I don't see the --delete option in your command line. > > пн, 16 мая 2016, 19:30 Steven Dennis <nzdreame...@gmai

Re: [lftp] lftp not removing files from local directory

2016-05-18 Thread Alexander Lukyanov
removed. >> Add -vvv options to see the files to be deleted. >> >> -- >>Alexander. >> >> > On May 16, 2016 11:33 PM, "Alexander Lukyanov" <lavv...@gmail.com> >> wrote: >> > >> > > Also --newer-than limits the f

Re: [lftp] download speed drops sharply

2016-05-04 Thread Alexander Lukyanov
Can you please try "set ftp:prefer-epsv no"? пт, 29 апр. 2016 г. в 19:22, Juan Simón : > I think the problem isn't in lftp. > I see messages like this when I execute "jobs -v" to see active transfers: > "[500 I won't open a connection to 192.168.1.2 (only to > )]", ¿? > I

Re: [lftp] http authentication on lftp 4.7.x versions

2016-05-04 Thread Alexander Lukyanov
Please send me the debug output. In 4.7.0 the http authentication was reworked, so there can be a bug indeed. пн, 2 мая 2016 г. в 13:20, Frederico Costa : > Hi there, > > I have been using lftp for some years now, and has been working smoothly > i can say. > > Now i have

Re: [lftp] removing stale socket

2016-07-14 Thread Alexander Lukyanov
The message means that lftp has found a socket on which no other lftp listens ср, 13 июля 2016, 17:50 Juan Simón : > Juan Cole, I sent that message to the lftp mailing list. It has nothing to > do with your blog, comments, etc. It's a message that lftp shows when I > attach

Re: [lftp] Make certificate verification great again

2017-03-20 Thread Alexander Lukyanov
Does the "Not trusted" error happen just after connecting or when doing the data connection? Can you provide at least the server name? пн, 20 мар. 2017 г. в 16:55, Nathanaël Naeri : > It appears that "open -d https://www.seedbox.fr; works indeed > ("Trusted",

Re: [lftp] Mirror only directories -- skipping all files

2017-04-21 Thread Alexander Lukyanov
Try mirror -X * пт, 21 апр. 2017, 15:38 Alan Steel : > Can you please tell me the easiest way to mirror only directories (no > files), from a local server to a remote FTP host? > > > > Thank you! > ___ > lftp mailing list >

Re: [lftp] Make certificate verification great again

2017-03-11 Thread Alexander Lukyanov
Your understanding of CA is correct. The Comodo certificate should be present in the CA bundle for the verification to succeed. вс, 12 марта 2017, 5:16 Nathanaël Naeri : > I'm trying to connect to a FTP server that supports explicit FTPS > using TLS, but I can't get

Re: [lftp] Error (?) uploading

2017-07-14 Thread Alexander Lukyanov
You can add --no-perms option to mirror to avoid chmod operations. пт, 14 июля 2017, 22:02 Gianni Piccini : > While uploading files to a Synology nas, with a bash script that call a > function like this > > lftp -f " > open $HOST > user $USER $PASS > lcd $SOURCEFOLDER > mirror

Re: [lftp] Mirror: Access Failed ... No such file or directory

2017-06-27 Thread Alexander Lukyanov
The first directory on the mirror command line is the source, the second is the destination. With -R the source is local and the target is remote. So in your case you have to change the argument order. пт, 21 апр. 2017, 18:35 Alan Steel : > We are trying to replicate a

Re: [lftp] Problem parsing list output : no automatic mirror nor browse is possible

2017-05-11 Thread Alexander Lukyanov
I'll add a workaround. Thanks for the report! чт, 11 мая 2017, 19:58 Franck Eyraud : > Hello, > > I have the problem with a FTP server, mirroring is not taking into account > any folder for recursion. I think I noticed why: when running ls command, > all folders are

Re: [lftp] How to only show file URLs?

2017-05-30 Thread Alexander Lukyanov
Try "nlist" command. "cls" can also be useful. вт, 30 мая 2017 г. в 1:18, Peng Yu : > Hi, The following command shows attributes besides file names. Is > there a way to let lftp only print file names or the complete URLs? > Thanks. > > $ lftp

Re: [lftp] Review of script for syncing HostedFTP and local server

2017-06-01 Thread Alexander Lukyanov
The --include-glob options look incorrect. They should not be given an absolute path, but rather a relative one. Even more, the glob pattern is matched against just a few last path components (separated by slashes), depending on the number of slashes in the pattern. The regex patterns are

Re: [lftp] torrent sharing

2017-09-17 Thread Alexander Lukyanov
Try "jobs -vv" to see the peer status. On пт, 15 сент. 2017, 8:15 Stu Midgley wrote: > OK... getting further along. It turns out that I had to delete the lftp > cache so that the nodes didn't all have the same node_id (from ip address > 127.0.0.1). > > I now > * remove the

Re: [lftp] LFTP manpages on OSX are busted

2017-09-17 Thread Alexander Lukyanov
Unfortunately I am not an expert in nroff or tbl either. I usually just add information to the man page by analogy with the old text. On сб, 16 сент. 2017, 23:53 Nate Sutton wrote: > On lftp 4.8.0 installed via homebrew on OSX 10.11.6, I get a bunch of > errors trying to load

Re: [lftp] [Build-Failed] on ubuntu 14.04

2017-09-17 Thread Alexander Lukyanov
You can install ncurses-devel package for a workaround, but I have to fix compilation with termcap. On сб, 16 сент. 2017, 23:52 Yubin Ruan wrote: > Hi lftp developer, > > I try to build lftp 4.7.4 ~ 4.7.7 on my Ubuntu 14.04 but it always fail > with a weird message: > >

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

2017-09-17 Thread Alexander Lukyanov
As I remember, sun's ftp uses NLST command by default. You can try "nlist" command in lftp for that. If it still doesn't work, please send me debug from sun's ftp with protocol commands and responses. On сб, 16 сент. 2017, 23:53 Franklin Issac wrote: > Hi - i think i

Re: [lftp] torrent sharing

2017-09-17 Thread Alexander Lukyanov
right. After quite some time (10+ minutes) clients > suddenly start downloading the files and also seeding. BUT it takes over > 10 minutes to get into that state. I feel their is a critical thread > somewhere stuck and it eventually timeouts. > > Thanks > Stuart. > > > > &

Re: [lftp] torrent sharing

2017-09-17 Thread Alexander Lukyanov
I need the full debug from the server an a client with timestamps (use debug -t). On пн, 18 сент. 2017, 6:28 Alexander Lukyanov <lavv...@gmail.com> wrote: > You can run the torrent in background to enter other commands. And BTW > lftp doesn't use threads. > > On пн, 18 се

Re: [lftp] Scripting and Attach

2017-12-10 Thread Alexander Lukyanov
I think you have to feed the commands to lftp from the stdin. Like this: echo queue get ... | lftp -c "attach 1234" The commands after attach command in your script are executed after the attach is finished (detached). вс, 10 дек. 2017, 12:00 Tim : > I'm trying to

Re: [lftp] Query on LFTP

2018-07-31 Thread Alexander Lukyanov
Yes, you can do that. Try "cat file >> local-file" пн, 16 июля 2018, 15:40 Valliappan, Ramanathan (R.R.) : > Hi, > > > > I have a query about the usage of LFTP. > > > > Is there a possibility to use LFTP to append a file? I mean we should not > overwrite it, but just append the content. > > > >

Re: [lftp] push of new website, while retaining backup

2018-08-12 Thread Alexander Lukyanov
Renaming a directory should be the fastest operation here, use it if possible. вс, 12 авг. 2018, 20:30 John Kelly : > Hi, > I'm trying to use lftp to push my new angular app to my website from > gitlab, but i first want to take a copy of the current website. Logically > i'm trying to achieve the

Re: [lftp] Certificate validation confusion

2018-03-18 Thread Alexander Lukyanov
Yes, that would be good. пт, 16 мар. 2018 г. в 10:08, Manfred Lotz <ml_n...@posteo.de>: > On Thu, 15 Mar 2018 21:58:17 + > Alexander Lukyanov <lav...@gmail.com> wrote: > > > I think the name of your certificate was recognized as a false value. > > The ssl:v

Re: [lftp] HTTP Basic Auth

2019-07-03 Thread Alexander Lukyanov
Lftp started to support digest authentication, so it sends an unauthenticated request first to get a challenge. It should be possible to add a setting to choose auth methods, so that when only basic method is enabled, then skip the initial unauthenticated request. чт, 16 мая 2019, 20:58 Nate

Re: [lftp] lftp issued “CWD /” results in error message but the transfer does not fail

2019-08-26 Thread Alexander Lukyanov
, I feel somewhat > disappointed that I didn't previously think about simply dropping the > trailing slash from the URL. For example: > > ftps://server.example.net vs. ftps://server.example.net/ > > -- > > Kevin R. Bulgrien > > -----

Re: [lftp] lftp issued “CWD /” results in error message but the transfer does not fail

2019-08-24 Thread Alexander Lukyanov
Try adding a tilde at the end of url. пт, 23 авг. 2019, 18:30 Kevin R. Bulgrien : > In a scripted and automated process, it seems beneficial to avoid > generating unwanted error messages that do not indicate an actual > fault, if only to avoid confusion when someone looks at the logs. > > Given

Re: [lftp-devel] [lftp] FW: Regarding LFTP checksum issue

2014-06-09 Thread Alexander Lukyanov
Do you have checksum issues if you use plain get command? Does pget work as expected with other ftp servers? 2014-04-01 13:15 GMT+04:00 PRADHAN Priyabrata priyabrata.prad...@murex.com : Fyia Thanks Priya *From:* PRADHAN Priyabrata *Sent:* Tuesday, April 01, 2014 6:14 PM *To:*

Re: [lftp-devel] [lftp] Status for incomplete files

2014-09-19 Thread Alexander Lukyanov
Please try http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140919.tar.gz, it introduces another setting xfer:temp-file-name. You can thus change the temporary file name; an asterisk is replaced by the original file name. So you would do set xfer:temp-file-name _tmp_* to achieve wanted behaviour.

Re: [lftp-devel] [lftp] Status for incomplete files

2014-09-19 Thread Alexander Lukyanov
, 2014 at 4:58 PM, Alexander Lukyanov lavv...@gmail.com wrote: Please try http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20140919.tar.gz, it introduces another setting xfer:temp-file-name. You can thus change the temporary file name; an asterisk is replaced by the original file name. So you would do

Re: [lftp-devel] possible bug in lftp mirror using xfer:use-temp-file option

2014-09-30 Thread Alexander Lukyanov
In unix it is usually allowed to rename open files, so lftp does that. I'll see if it is possible to reverse the order. 2014-09-30 12:18 GMT+04:00 akshay gupta akshaygupta...@gmail.com: Hi, I am trying to mirror files on Fuse mounted hdfs file system (

Re: [lftp-devel] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-27 Thread Alexander Lukyanov
Can you provide a debug log? Why lftp cannot replace the old file? 2014-10-27 10:44 GMT+03:00 akshay gupta akshaygupta...@gmail.com: Hi, I am trying to mirror files using lftp, I have tested a use case where a file at the source machine gets modified but the file name remains the same.

Re: [lftp-devel] [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-27 Thread Alexander Lukyanov
--- 226 Transfer complete. So the file cannot be renamed locally, right? Is there a permissions problem? -- Alexander. On Mon, Oct 27, 2014 at 1:18 PM, Alexander Lukyanov lavv...@gmail.com wrote: Can you provide a debug log? Why lftp cannot replace the old file? 2014-10-27 10:44

Re: [lftp-devel] [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-28 Thread Alexander Lukyanov
It looks like a bug in the FS (fuse and/or hdfs) which also hits rsync: https://groups.google.com/a/cloudera.org/forum/#!msg/cdh-user/R1GR2Asj_lc/f_uuIjG5R1UJ Please try this workaround. 2014-10-28 10:29 GMT+03:00 akshay gupta akshaygupta...@gmail.com: will giving --delete-first option in lftp

Re: [lftp-devel] Possible Bug in lftp mirror using mirror:sort-by option

2014-10-29 Thread Alexander Lukyanov
Mirror in lftp works directory by directory. It does not build full list of files first, so it cannot sort the whole list. Maybe the mirror algorithm should be redesigned to build the whole recursive list first. What do you think? 2014-10-29 10:07 GMT+03:00 akshay gupta akshaygupta...@gmail.com:

Re: [lftp-devel] Possible Bug in lftp mirror using mirror:sort-by option

2014-11-12 Thread Alexander Lukyanov
the functionality of mirror:sort-by option implies that the order is for all the files irrespective of the directory structure. Or may be it should support both the options and it would be configuration defined which one to use. On Wed, Oct 29, 2014 at 2:09 PM, Alexander Lukyanov lavv...@gmail.com wrote

Re: [lftp-devel] Possible Bug in lftp mirror using mirror:sort-by option

2014-12-05 Thread Alexander Lukyanov
--with-openssl command and it cannot seem to find Makefile.in in the configure step. Attached the complete logs On Thu, Dec 4, 2014 at 8:54 PM, Alexander Lukyanov lavv...@gmail.com wrote: autogen.sh script should generate everything. You'll have to get gnulib too. четверг, 4 декабря 2014 г

Re: [lftp-devel] Possible Bug in lftp mirror using mirror:sort-by option

2014-12-08 Thread Alexander Lukyanov
: Have done some initial high level testing. It seems to work. Will test it thoroughly and will get back to you in case I find any bug. On Fri, Dec 5, 2014 at 10:20 PM, Alexander Lukyanov lavv...@gmail.com wrote: I think you need to install gettext-devel. I have also made a snapshot in case you

Re: [lftp-devel] Handling for small files

2015-02-24 Thread Alexander Lukyanov
Which protocol do you use? вт, 24 февр. 2015, 13:48, akshay gupta akshaygupta...@gmail.com: Hi, I am trying to transfer about 80GB of data using mirror option. File sizes are very small about 0.5 KB to 3 KB per file. Transfer is taking a lot of time which I am attributing to small file

Re: [lftp-devel] Bug in lftp mirror when using xfer:use-temp-file option

2015-05-13 Thread Alexander Lukyanov
There should be no limitations. Please produce a stack trace and send it to me. ср, 13 мая 2015, 18:34, Ankit Khurana ankit.khurana0...@gmail.com: Hi, I am trying to mirror files using lftp, the mirror path contains around 1 million files. The problem i am facing is that when i start the

Re: [lftp-devel] Bug in lftp mirror when using xfer:use-temp-file option

2015-05-15 Thread Alexander Lukyanov
The problem should be fixed by https://github.com/lavv17/lftp/commit/a2b4cdbf8ccdb98c8d5c79834ea6e29f83575da9 without unnecessary memory allocation. 2015-05-15 20:22 GMT+03:00 Alexander Lukyanov lavv...@gmail.com: Thanks for debugging! I'll fix it by using heap memory чт, 14 мая 2015, 14:59