psftp is an interactive program and the ssh.c flags should reflect
[u/mdw/putty] / psftp.c
diff --git a/psftp.c b/psftp.c
index 49e6749..fead5c7 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -1409,7 +1409,7 @@ int main(int argc, char *argv[])
     int modeflags = 0;
     char *batchfile = NULL;
 
-    flags = FLAG_STDERR;
+    flags = FLAG_STDERR | FLAG_INTERACTIVE;
     ssh_get_line = &get_line;
     init_winsock();
     sk_init();