From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <67568bdd6394aca29e0ffb785aef111f@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] a little more ftpfs In-Reply-To: <1456643346@snellwilcox.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ewpwjsfdeqnctaezkxsykiawnu" Date: Fri, 3 Jan 2003 08:38:10 -0500 Topicbox-Message-UUID: 3b5aba9a-eacb-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ewpwjsfdeqnctaezkxsykiawnu Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit now in sources --upas-ewpwjsfdeqnctaezkxsykiawnu Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Fri Jan 3 05:09:19 EST 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Fri Jan 3 05:09:17 EST 2003 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id C0614199B3; Fri, 3 Jan 2003 05:09:06 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from mail2.snellwilcox.com (mail2.snellwilcox.com [195.173.15.4]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id E033019988 for <9fans@cse.psu.edu>; Fri, 3 Jan 2003 05:08:52 -0500 (EST) Received: from 127.0.0.1 by mail2.snellwilcox.com (InterScan E-Mail VirusWall NT); Fri, 03 Jan 2003 10:08:53 -0000 To: 9fans@cse.psu.edu From: steve.simon@snellwilcox.com Received: from ccMail by snellwilcox.com (ccMail Link to SMTP R8.51.00.11) id 1456643346; Fri, 03 Jan 2003 10:08:52 +0000 Importance: normal Priority: normal Message-Id: <1456643346@snellwilcox.com> X-MIME-Engine: v0.90 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Id: <1456643346-1@snellwilcox.com> Content-Transfer-Encoding: 7bit Subject: [9fans] a little more ftpfs Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu X-Reply-To: steve.simon@snellwilcox.com List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Fri, 03 Jan 2003 10:06:54 +0000 Hi, Sorry, I diff'ed the wrong version of the file and missed this change last night. The below is another change to proto.c. It asks the server use long filenames where it can (our ftp server uses 8.3 by default and so I get Windows style munged filenames without this change). BTW when I synchronised against sources today I got hundreds of directories as having been "locally modified", not really a problem but its nice to see a short list of modified files which allows me to check what I have fiddled with. Is there an easy way to synchronise only these directories and not the directory's contents? -Steve diff /n/sources/plan9/sys/src/cmd/ip/ftpfs/proto.c proto.c 54d53 < 216a216,223 > case NetWare: > /* > * Request long, rather than 8.3 filenames, > * where the Servers & Volume support them. > */ > sendrequest("SITE LONG", nil); > getreply(&ctlin, msg, sizeof(msg), 0); > /* FALL THRU */ 219d225 < case NetWare: --upas-ewpwjsfdeqnctaezkxsykiawnu--