Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BDA887D47 for ; Fri, 11 Nov 2011 21:29:14 +0000 (UTC) Received: (qmail 50809 invoked by uid 500); 11 Nov 2011 21:29:14 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 50739 invoked by uid 500); 11 Nov 2011 21:29:14 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 50730 invoked by uid 99); 11 Nov 2011 21:29:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 21:29:14 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 21:29:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 24F704F0BE for ; Fri, 11 Nov 2011 21:28:53 +0000 (UTC) Date: Fri, 11 Nov 2011 21:28:53 +0000 (UTC) From: "Steven Jardine (Updated) (JIRA)" To: issues@commons.apache.org Message-ID: <2001437840.22279.1321046933152.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1211202324.5736.1317688294402.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (NET-425) _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Jardine updated NET-425: ------------------------------- Attachment: retrievefile.patch Fixed a bug with the patch. > _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command. > ------------------------------------------------------------------------------------------------------------- > > Key: NET-425 > URL: https://issues.apache.org/jira/browse/NET-425 > Project: Commons Net > Issue Type: Improvement > Components: FTP > Affects Versions: 3.0.1 > Environment: All > Reporter: Steven Jardine > Fix For: 3.1 > > Attachments: patch.txt, retrievefile.patch > > > Currently __storeFile, __storeStream, and _openConnection_ are declared as private and only receive int commands. I am trying to extend the FTPClient class to implement specialized commands that utilize these methods. In order for this to work I need to have these methods declared as protected as well as adjust the parameters to allow for String commands. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira