Thank you so much for your help.  The change directory (behind the scene)
works perfectly. -:)



Claus Ibsen-2 wrote:
> 
> On Wed, Sep 9, 2009 at 9:40 PM, SylviaLi <[email protected]> wrote:
>>
>> Thank you very much for the suggestion - upgrading to M3 solved that FTP
>> sub
>> directory issue.
>>
>> I have one more question regarding the FTP URL syntax for specifying the
>> sub
>> directory - is it true that the sub directory specified after the end
>> point
>> is the relative path to the default direcotry associated with the FTP
>> login?
>>
>> For example, if my FTP login default directory is /home/userABC/ftp/dir1,
>> and the required taget ftp directory is /home/userABC/dir2, can I specify
>> the URL as follows:
>>
>> ftp:loginn...@endpoint:21../../dir2?password=password
>>
>> Does it take "../../dir2" after the endpoint and port?
> 
> I does a change directory to the path you specify so if the FTP server
> understands ../../dir2 then it should work.
> Why dont you try it out?
> 
> 
>>
>> Thanks again,
>>
>>
>>
>>
>>
>>
>> Claus Ibsen-2 wrote:
>>>
>>> On Thu, Aug 20, 2009 at 4:50 PM, SylviaLi<[email protected]> wrote:
>>>>
>>>> Thanks.
>>>>
>>>> I've been trying to download M3 release,  but the file is not
>>>> available.
>>>> Here is the download site I used (mirror sites did not work either):
>>>>
>>>> http://apache.cs.utah.edu/activemq/apache-camel/2.0-M3/apache-camel-2.0-M3.zip
>>>>
>>>> I got 404 file not found.
>>>>
>>>> Could you please check the site.   Thanks again,
>>>>
>>>
>>> Check the mirrors
>>> http://www.apache.org/mirrors/
>>>
>>> For example this one I just tried
>>> http://apache.mirrors.adc.am/camel/apache-camel/2.0-M3/
>>>> Shiwan
>>>>
>>>>
>>>> willem.jiang wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I think the ftp component create a wrong file name which uses the
>>>>> windows' style file name.
>>>>> Can you try to use the latest released apache-camel-2.0-M3? I think I
>>>>> fixed this issue few month ago.
>>>>>
>>>>> Willem
>>>>>
>>>>> SylviaLi wrote:
>>>>>> Thanks for you quick reply -
>>>>>>
>>>>>> Camel version:  apache-camel-2.0-M1 (camel-ftp-2.0-M1.jar)
>>>>>>
>>>>>> FTP from:  my laptop (JDK1.6, Window XP Prefessional Version 2002
>>>>>> SP2)
>>>>>> FTP to:     RedHat ES release 3 Update 7 (FTP server:
>>>>>> vsftpd-1.2.1-3E.1)
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Claus Ibsen-2 wrote:
>>>>>>> What OS are you using
>>>>>>> What FTP server are you using
>>>>>>>
>>>>>>> And what version of Camel are you precisely using?
>>>>>>>
>>>>>>> On Fri, Aug 14, 2009 at 5:39 PM, SylviaLi<[email protected]> wrote:
>>>>>>>> I am using FTP producer to put file on a remote FTP server by using
>>>>>>>> the
>>>>>>>> following URL format:
>>>>>>>>
>>>>>>>> ftp://usern...@hostname/temp?password=xxx  (the ftp root is
>>>>>>>> /home/sli,
>>>>>>>> so
>>>>>>>> the target remote direcotory would be /home/sli/temp)
>>>>>>>>
>>>>>>>> The camelfile name is "ftp_test.txt".    The FTP component put the
>>>>>>>> file
>>>>>>>> to
>>>>>>>> the remote system, but to my surprise, instead of putting the file
>>>>>>>> under
>>>>>>>> the
>>>>>>>> temp directory, it created a file under the ftp root (/home/sli)
>>>>>>>> as:
>>>>>>>>
>>>>>>>> temp\ftp_text.txt
>>>>>>>>
>>>>>>>> Can anyone shed some lights on me?
>>>>>>>>
>>>>>>>> Thanks in advance,
>>>>>>>>
>>>>>>>> --
>>>>>>>> View this message in context:
>>>>>>>> http://www.nabble.com/Camel-2.0---FTP-directory-problem-tp24973778p24973778.html
>>>>>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Claus Ibsen
>>>>>>> Apache Camel Committer
>>>>>>>
>>>>>>> Open Source Integration: http://fusesource.com
>>>>>>> Blog: http://davsclaus.blogspot.com/
>>>>>>> Twitter: http://twitter.com/davsclaus
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Camel-2.0---FTP-directory-problem-tp24973778p25063609.html
>>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> Apache Camel Committer
>>>
>>> Open Source Integration: http://fusesource.com
>>> Blog: http://davsclaus.blogspot.com/
>>> Twitter: http://twitter.com/davsclaus
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Camel-2.0---FTP-directory-problem-tp24973778p25371936.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Camel-2.0---FTP-directory-problem-tp24973778p25391922.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to