search for: sort_flags

Displaying 2 results from an estimated 2 matches for "sort_flags".

Did you mean: sort_flag
2005 Jun 01
0
openssh-4.1p1 SFTP client directory listing sorting bug
...Please include me in any replies (that you want me to see); I'm not subscribed to this list. Thanks, --Rob -------------- next part -------------- --- openssh-4.1p1/sftp.c Mon Mar 14 07:08:12 2005 +++ openssh-4.1p1-1/sftp.c Wed Jun 1 12:50:47 2005 @@ -696,6 +696,7 @@ } if (lflag & SORT_FLAGS) { + for (n = 0; d[n] != NULL; n++); sort_flag = lflag & (SORT_FLAGS|LS_REVERSE_SORT); qsort(d, n, sizeof(*d), sdirent_comp); } -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digita...
2008 Jul 21
2
sftp needs a long time for sending a filelist
Hello all Im using sftp 1:4.7p1-8ubuntu1.2 in a batchjob Ive noticed that sftp needs a long time for sending a filelist. The timespan increases exponential if many files are on the remoteserver. for example "ls -la *.txt" needs 10 seconds for 2000 files but needs 50 seconds for 4000 files. For 150.000 Files i have to wait 15 minutes for example but the