Re: [lftp] feature request: ls sorting by time (and possibly the other columns?)

2014-09-04 Thread Alexander V. Lukyanov
On Thu, Sep 04, 2014 at 11:06:25PM -0400, Dan39 wrote:
> I would like to be able to sort the output of ls by the last modified
> time column.
> 
> It looks like by default it is sorted by name, which I think is
> actually just how the ftpd returns it when doing LIST. Is there
> currently no mechanism in lftp for parsing/sorting the file list? With

Yes, there is cls command just for that.

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp 4.5.5

2014-09-04 Thread Alexander V. Lukyanov
On Thu, Sep 04, 2014 at 08:55:35PM +0200, Jeroen Roovers wrote:
> On Thu, 4 Sep 2014 14:25:18 +0200
> Juan Simón  wrote:
> 
> > ftpclass.cc: In destructor 'Ftp::Connection::~Connection()':
> > ftpclass.cc:1074:15: error: lvalue required as left operand of
> > assignment control_ssl=0; // ssl should be freed after send/recv
> >^
> > make[1]: *** [ftpclass.lo] Error 1
> > make[1]: *** Se espera a que terminen otras tareas
> > make: *** [all-recursive] Error 1
> 
> Patch attached.

Applied. Thanks!

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp 4.5.5

2014-09-04 Thread Alexander V. Lukyanov
On Fri, Sep 05, 2014 at 12:52:10AM +0200, Juan Simón wrote:
> What is the meaning of this change 'added mirror "Finished" message'?

Now mirror writes another messages when a transfer finishes, something like

   Finished transfer `path/file' (100 Kb/s)

when verbose>=2.

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] feature request: ls sorting by time (and possibly the other columns?)

2014-09-04 Thread Dan39
I would like to be able to sort the output of ls by the last modified
time column.

It looks like by default it is sorted by name, which I think is
actually just how the ftpd returns it when doing LIST. Is there
currently no mechanism in lftp for parsing/sorting the file list? With
a quick search I found out about the MLST/MLSD ftp feature which would
allow better handling of the file lists, but I am not sure how often
those are used/supported...

Thanks
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp 4.5.5

2014-09-04 Thread Juan Simón
What is the meaning of this change 'added mirror "Finished" message'?


2014-09-04 14:08 GMT+02:00 Alexander V. Lukyanov :

> lftp-4.5.5 has been released. Changes:
>
> * added support for internationalized domain names.
> * added lftp --norc option.
> * added mirror "Finished" message.
> * added ftp:catch-size setting.
> * fixed net:max-retries setting.
> * fixed byte counters in mirror status.
> * fixed a segfault in ftps.
> * fixed a spurious error message in fxp and ftp.
>
>
> Get it from http://lftp.yar.ru/get.html or your favorite mirror.
>
> --
>Alexander.
> ___
> lftp mailing list
> lftp@uniyar.ac.ru
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp
>
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp 4.5.5

2014-09-04 Thread Juan Simón
Thank you too much. Now it works.


2014-09-04 20:55 GMT+02:00 Jeroen Roovers :

> On Thu, 4 Sep 2014 14:25:18 +0200
> Juan Simón  wrote:
>
> > ftpclass.cc: In destructor 'Ftp::Connection::~Connection()':
> > ftpclass.cc:1074:15: error: lvalue required as left operand of
> > assignment control_ssl=0; // ssl should be freed after send/recv
> >^
> > make[1]: *** [ftpclass.lo] Error 1
> > make[1]: *** Se espera a que terminen otras tareas
> > make: *** [all-recursive] Error 1
>
> Patch attached.
>
>
> Regards,
>  jer
>
> ___
> lftp mailing list
> lftp@uniyar.ac.ru
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp
>
>
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp 4.5.5

2014-09-04 Thread Jeroen Roovers
On Thu, 4 Sep 2014 14:25:18 +0200
Juan Simón  wrote:

> ftpclass.cc: In destructor 'Ftp::Connection::~Connection()':
> ftpclass.cc:1074:15: error: lvalue required as left operand of
> assignment control_ssl=0; // ssl should be freed after send/recv
>^
> make[1]: *** [ftpclass.lo] Error 1
> make[1]: *** Se espera a que terminen otras tareas
> make: *** [all-recursive] Error 1

Patch attached.


Regards,
 jer
--- a/src/ftpclass.cc
+++ b/src/ftpclass.cc
@@ -1071,7 +1071,9 @@
 
control_send=0;
control_recv=0;
+#if USE_SSL
control_ssl=0; // ssl should be freed after send/recv
+#endif
 
if(control_sock!=-1)
{
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] lftp 4.5.5

2014-09-04 Thread Juan Simón
Error to compile this new version 4.5.5 on Ubuntu Trusty 64:
$ ./configure --with-modules --with-pager=/usr/bin/less --without-gnutls
--without-openssl
.
$ make
Making all in m4
Making all in doc
Making all in lib
Making all in src
ftpclass.cc: In destructor 'Ftp::Connection::~Connection()':
ftpclass.cc:1074:15: error: lvalue required as left operand of assignment
control_ssl=0; // ssl should be freed after send/recv
   ^
make[1]: *** [ftpclass.lo] Error 1
make[1]: *** Se espera a que terminen otras tareas
make: *** [all-recursive] Error 1



2014-09-04 14:08 GMT+02:00 Alexander V. Lukyanov :

> lftp-4.5.5 has been released. Changes:
>
> * added support for internationalized domain names.
> * added lftp --norc option.
> * added mirror "Finished" message.
> * added ftp:catch-size setting.
> * fixed net:max-retries setting.
> * fixed byte counters in mirror status.
> * fixed a segfault in ftps.
> * fixed a spurious error message in fxp and ftp.
>
>
> Get it from http://lftp.yar.ru/get.html or your favorite mirror.
>
> --
>Alexander.
> ___
> lftp mailing list
> lftp@uniyar.ac.ru
> http://univ.uniyar.ac.ru/mailman/listinfo/lftp
>
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] lftp 4.5.5

2014-09-04 Thread Alexander V. Lukyanov
lftp-4.5.5 has been released. Changes:

* added support for internationalized domain names.
* added lftp --norc option.
* added mirror "Finished" message.
* added ftp:catch-size setting.
* fixed net:max-retries setting.
* fixed byte counters in mirror status.
* fixed a segfault in ftps.
* fixed a spurious error message in fxp and ftp.


Get it from http://lftp.yar.ru/get.html or your favorite mirror.

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp