[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [gftp] specifying a SITE command in the Command: prompt
- To: gftp-users@xxxxxxxx
- Subject: Re: [gftp] specifying a SITE command in the Command: prompt
- From: "Brian Masney" <masneyb@xxxxxxxx>
- Date: Sun, 10 Sep 2006 12:07:32 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: gftp-users-outgoing@seul.org
- Delivered-to: gftp-users@seul.org
- Delivery-date: Sun, 10 Sep 2006 12:07:43 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=UOBf4HPhRzUVwtfLC6qRjLmZpuNKk7yPm+djuRbAdV7+2WASPYvnx/zDwshtdF4+S+Zp6b9bXxUirqofKfFoL2N1V47oeGId36Pk9tBJa2ktk890hlfX7Gmmxklw5gV/ESdtmGsXeKnUkQWSZAyhy9FPT6SF5cg28t4LbJj7Utw=
- In-reply-to: <20060831184712.74159f9a.lehmann@ans-netz.de>
- References: <20060831184712.74159f9a.lehmann@ans-netz.de>
- Reply-to: gftp-users@xxxxxxxx
- Sender: owner-gftp-users@xxxxxxxx
Hi Oliver,
Here is a patch that I committed to CVS that fixes this problem.
diff -u -r1.41 gftpui.c
--- src/uicommon/gftpui.c 2 Aug 2006 22:50:21 -0000 1.41
+++ src/uicommon/gftpui.c 10 Sep 2006 16:03:08 -0000
@@ -408,6 +408,7 @@
cdata->uidata = uidata;
cdata->input_string = (char *) command;
cdata->run_function = gftpui_common_run_site;
+ cdata->toggled = 1;
gftpui_common_run_callback_function (cdata);
Brian
On 8/31/06, Oliver Lehmann <lehmann@xxxxxxxxxxx> wrote:
Hi,
specifying a SITE command in the Command: prompt requires me to type SITE
twice (because gftpui_common_process_command detects the SITE command and
only passes everything behind to the site function rfc959.c w/o
specifying the prepend this again with SITE. So when I type
SITE FOO BAR
"FOO BAR" will be sent to the ftp server, If I want to have "SITE FOO
BAR" sent to the server I've to specify "SITE SITE FOO BAR".
Brian - do you see a way of removing this inconvenience? I'm not sure if
"preparing with SITE" should be the default, there might be a situation
where "FOO BAR" needs to be executed at the remote site, but at the other
hand - this rare case can be done by using the "Send SITE Command" Box
where "Prepare with SITE" may be unchecked then (reverse the "Prepare
with SITE" logic in gftp)
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/