commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: FTP findFiles vs FILE bug
Date Wed, 17 Mar 2010 12:36:52 GMT
You might want to file a but with the Alfresco folks on this one.
Their FTP server implementation should support paths and not just
directory names for the CWD command.  Everyone else does.

On Wed, Mar 17, 2010 at 5:42 AM, Tom <tbee@tbee.org> wrote:
> The same issues for storeFileStream and appendFileStream with the same fix.
> I assume that the FTP server of Alfresco is the culprit.
>
> Tom
>
>
>
> On 2010-03-16 19:26, James Carman wrote:
>>
>> I would say open up a JIRA and someone will take a look at it.  Make
>> sure you attach your patch and check the box that says you allow the
>> ASF to use your code (or whatever it says).
>>
>> On Tue, Mar 16, 2010 at 2:23 PM, Tom<tbee@tbee.org>  wrote:
>>
>>>
>>> What are the chances of this patch (I can give you the code) being
>>> submitted
>>> to SVN? I'd rather not use a special VFS.
>>>
>>> Tom
>>>
>>>
>>>
>>> On 2010-03-16 7:28, Tom wrote:
>>>
>>>>
>>>> All I can say: I checked out the code from subversion, put a break point
>>>> in the FTP code, saw "Alfresco/Documents" come in as a parameter, that
>>>> was
>>>> handed over to the FTPClient and the method returned false to indicate
>>>> an
>>>> error. In a stand alone test of FTPClient I already noticed that handing
>>>> over a compound path did not work, so I add a split and a loop et voila;
>>>> the
>>>> code worked.
>>>>
>>>> It may be Alfresco's FTP server, it may be FTPClient, I don't know. But
>>>> this works and it seems like a more compatible implementation.
>>>>
>>>> Tom
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: user-help@commons.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message