Displaying 4 results from an estimated 4 matches for "i_put".
Did you mean:
ib_put
2006 Apr 01
0
sftp tab completion patch (First release - NOT FOR INCLUDING YET)
...HDIR },
- { "lls", I_LLS },
- { "lmkdir", I_LMKDIR },
- { "ln", I_SYMLINK },
- { "lpwd", I_LPWD },
- { "ls", I_LS },
- { "lumask", I_LUMASK },
- { "mkdir", I_MKDIR },
- { "progress", I_PROGRESS },
- { "put", I_PUT },
- { "mput", I_PUT },
- { "pwd", I_PWD },
- { "quit", I_QUIT },
- { "rename", I_RENAME },
- { "rm", I_RM },
- { "rmdir", I_RMDIR },
- { "symlink", I_SYMLINK },
- { "version", I_VERSION },
- { "!", I_SHELL...
2007 Dec 12
0
Revisiting sftp tab completion patch
...HDIR },
- { "lls", I_LLS },
- { "lmkdir", I_LMKDIR },
- { "ln", I_SYMLINK },
- { "lpwd", I_LPWD },
- { "ls", I_LS },
- { "lumask", I_LUMASK },
- { "mkdir", I_MKDIR },
- { "progress", I_PROGRESS },
- { "put", I_PUT },
- { "mput", I_PUT },
- { "pwd", I_PWD },
- { "quit", I_QUIT },
- { "rename", I_RENAME },
- { "rm", I_RM },
- { "rmdir", I_RMDIR },
- { "symlink", I_SYMLINK },
- { "version", I_VERSION },
- { "!", I_SHELL...
2003 Oct 30
2
sftp client reget reput
...("Uploading %s to %s\n", g.gl_pathv[i], abs_dst);
+#ifdef REGET
+ if (do_upload(conn, g.gl_pathv[i], abs_dst, pflag, rflag) == -1)
+#else
if (do_upload(conn, g.gl_pathv[i], abs_dst, pflag) == -1)
+#endif
err = -1;
}
@@ -789,6 +820,10 @@
switch (cmdnum) {
case I_GET:
case I_PUT:
+#ifdef REGET
+ case I_REGET:
+ case I_REPUT:
+#endif
if (parse_getput_flags(&cp, pflag))
return(-1);
/* Get first pathname (mandatory) */
@@ -921,10 +956,24 @@
err = -1;
break;
case I_GET:
+#ifdef REGET
+ err = process_get(conn, path1, path2, *pwd, pflag, 0);
+#else
err...
2003 Oct 01
1
3.7.1p2 sftp recurse patch
...rations */
+int recursion = 0;
+
/* Seperators for interactive commands */
#define WHITESPACE " \t\r\n"
@@ -81,6 +84,7 @@
#define I_SYMLINK 21
#define I_VERSION 22
#define I_PROGRESS 23
+#define I_RECURSE 24
struct CMD {
const char *c;
@@ -113,6 +117,7 @@
{ "mput", I_PUT },
{ "pwd", I_PWD },
{ "quit", I_QUIT },
+ { "recurse", I_RECURSE },
{ "rename", I_RENAME },
{ "rm", I_RM },
{ "rmdir", I_RMDIR },
@@ -147,6 +152,7 @@
printf("exit Quit sftp\n");
printf(&qu...