Displaying 2 results from an estimated 2 matches for "sftp_opendir".
2001 Mar 28
0
sftp client globbing problems on Solaris, Irix, etc
...p-glob.c
===================================================================
RCS file: /var/cvs/openssh/sftp-glob.c,v
retrieving revision 1.3
diff -u -r1.3 sftp-glob.c
--- sftp-glob.c 2001/03/17 00:34:46 1.3
+++ sftp-glob.c 2001/03/28 03:28:37
@@ -65,7 +65,9 @@
struct dirent *fudge_readdir(struct SFTP_OPENDIR *od)
{
- static struct dirent ret;
+ /* Solaris needs sizeof(dirent) + path length (see below) */
+ static char buf[sizeof(struct dirent) + MAXPATHLEN];
+ struct dirent *ret = (struct dirent *)buf;
#ifdef __GNU_LIBRARY__
static int inum = 1;
#endif /* __GNU_LIBRARY__ */
@@ -73,22 +75,30 @@
i...
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