Return-Path: Delivered-To: apmail-avalon-cvs-archive@avalon.apache.org Received: (qmail 71495 invoked by uid 500); 10 Jul 2003 14:14:02 -0000 Mailing-List: contact cvs-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list cvs@avalon.apache.org Received: (qmail 71449 invoked by uid 500); 10 Jul 2003 14:14:01 -0000 Received: (qmail 71431 invoked from network); 10 Jul 2003 14:14:01 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 10 Jul 2003 14:14:01 -0000 Received: (qmail 4428 invoked by uid 1260); 10 Jul 2003 14:14:00 -0000 Date: 10 Jul 2003 14:14:00 -0000 Message-ID: <20030710141400.4426.qmail@icarus.apache.org> From: cziegeler@apache.org To: avalon-excalibur-cvs@apache.org Subject: cvs commit: avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl FTPSource.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cziegeler 2003/07/10 07:14:00 Modified: sourceresolve/src/java/org/apache/excalibur/source/impl FTPSource.java Log: Applying patch 21406: use binary transfer for ftp Revision Changes Path 1.4 +5 -0 avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/FTPSource.java Index: FTPSource.java =================================================================== RCS file: /home/cvs/avalon-excalibur/sourceresolve/src/java/org/apache/excalibur/source/impl/FTPSource.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- FTPSource.java 7 Jul 2003 16:50:41 -0000 1.3 +++ FTPSource.java 10 Jul 2003 14:14:00 -0000 1.4 @@ -310,6 +310,11 @@ try { ftpClient = m_source.getFtpClient(); + // NOTE: + // we don't have a way to determine whether we are + // dealing with an ascii file or not. Therefore transfer mode + // will be binary by default as this will cause the least problems. + // The worse that can happen now is that linebreaks get messed up. String parentPath = null; String fileName = null; final String relativePath = m_source.m_url.getPath().substring( 1 ); --------------------------------------------------------------------- To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org For additional commands, e-mail: cvs-help@avalon.apache.org