changeset 651:5f2808c65e46

2004-12-31 Brian Masney <masneyb@gftp.org> * src/uicommon/gftpui.c - added dir and ldir commands to the command line interface
author masneyb
date Fri, 31 Dec 2004 14:25:28 +0000
parents f16c4e75070e
children cb8ba8124e0e
files ChangeLog src/uicommon/gftpui.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Dec 31 14:21:04 2004 +0000
+++ b/ChangeLog	Fri Dec 31 14:25:28 2004 +0000
@@ -1,4 +1,7 @@
 2004-12-31 Brian Masney <masneyb@gftp.org>
+	* src/uicommon/gftpui.c - added dir and ldir commands to the command 
+	line interface
+
 	* lib/rfc959.c (rfc959_init) - enable the need_username option for this
 	protocol. This fixes a problem with the text port not prompting for the
 	username from the command line
@@ -3173,7 +3176,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.384 2004/12/31 14:21:04 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.385 2004/12/31 14:25:28 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/src/uicommon/gftpui.c	Fri Dec 31 14:21:04 2004 +0000
+++ b/src/uicommon/gftpui.c	Fri Dec 31 14:25:28 2004 +0000
@@ -979,6 +979,8 @@
          N_("Disconnects from the remote site"), NULL},
         {N_("delete"),  1, gftpui_common_cmd_delete, gftpui_common_request_remote,
          N_("Removes a remote file"), NULL},
+        {N_("dir"),     3, gftpui_common_cmd_ls, gftpui_common_request_remote,
+         N_("Shows the directory listing for the current remote directory"), NULL},
         {N_("get"),     1, gftpui_common_cmd_mget_file, gftpui_common_request_remote,
          N_("Downloads remote file(s)"), NULL},
         {N_("help"),    1, gftpui_common_cmd_help, gftpui_common_request_none,
@@ -991,6 +993,8 @@
          N_("Changes the permissions of a local file"), NULL},
         {N_("ldelete"), 2, gftpui_common_cmd_delete,    gftpui_common_request_local,
          N_("Removes a local file"), NULL},
+        {N_("ldir"),    4, gftpui_common_cmd_ls, gftpui_common_request_local,
+         N_("Shows the directory listing for the current local directory"), NULL},
         {N_("lls"),     2, gftpui_common_cmd_ls, gftpui_common_request_local,
          N_("Shows the directory listing for the current local directory"), NULL},
         {N_("lmkdir"),  2, gftpui_common_cmd_mkdir, gftpui_common_request_local,