camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paddy Daly (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CAMEL-1247) SFTP : Polling - Cannot list directory Error
Date Tue, 13 Jan 2009 12:24:59 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48647#action_48647
] 

watcher edited comment on CAMEL-1247 at 1/13/09 4:23 AM:
------------------------------------------------------------

Claus 
The StringIndexOutOfBoundsException is fixed however I'm still getting an error.

Here is my directory structure.
    c:/folder/printer
                              /test1
                                      /incoming
                                      /outgoing
                              /test2
                                      /incoming
                                      /outgoing

I've set the user pdaly@127.0.0.1 to the root folder of c:/folder/printer

Here's the log from the sftp server


000000001358 2009-01-13 12:11:02.131690 UTC WinSSHD 5.04 [111] Info
  Session thread 1103 for Windows account 'pdaly' from 127.0.0.1:3431:
  Session channel 1: FlowSfsWin: Closed directory 'C:\folder\printer\test1'. Registered 1
successful
  operation. Listed 3 entries in 1 operation.

000000001359 2009-01-13 12:11:02.132952 UTC WinSSHD 5.04 [118] Info
  Session thread 1103 for Windows account 'pdaly' from 127.0.0.1:3431:
  Session channel 1: FlowSfsWin: Reading attributes for 'C:\folder\printer\incoming' (follow
symlink)
  failed with NoSuchFile. GetFileAttributes() failed: Windows error 2: The system cannot find
the file
  specified.

Is there something wrong with my filter

	<bean id="myAntFilter" class="org.apache.camel.component.file.remote.AntPathMatcherRemoteFileFilter">
   
	    <property name="includes" value="**/incoming/*"/>
	    <property name="excludes" value="**/outgoing/*"/>
	</bean>
 
above should be
star star/incoming/star



      was (Author: watcher):
    Claus 
The StringIndexOutOfBoundsException is fixed however I'm still getting an error.

Here is my directory structure.
    c:/folder/printer
                              /test1
                                      /incoming
                                      /outgoing
                              /test2
                                      /incoming
                                      /outgoing

I've set the user pdaly@127.0.0.1 to the root folder of c:/folder/printer

Here's the log from the sftp server


000000001358 2009-01-13 12:11:02.131690 UTC WinSSHD 5.04 [111] Info
  Session thread 1103 for Windows account 'pdaly' from 127.0.0.1:3431:
  Session channel 1: FlowSfsWin: Closed directory 'C:\folder\printer\test1'. Registered 1
successful
  operation. Listed 3 entries in 1 operation.

000000001359 2009-01-13 12:11:02.132952 UTC WinSSHD 5.04 [118] Info
  Session thread 1103 for Windows account 'pdaly' from 127.0.0.1:3431:
  Session channel 1: FlowSfsWin: Reading attributes for 'C:\folder\printer\incoming' (follow
symlink)
  failed with NoSuchFile. GetFileAttributes() failed: Windows error 2: The system cannot find
the file
  specified.

Is there something wrong with my filter

	<bean id="myAntFilter" class="org.apache.camel.component.file.remote.AntPathMatcherRemoteFileFilter">
   
	    <property name="includes" value="**/incoming/*"/>
	    <property name="excludes" value="**/outgoing/*"/>
	</bean>
 
**/incoming/*


  
> SFTP : Polling - Cannot list directory Error
> --------------------------------------------
>
>                 Key: CAMEL-1247
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1247
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0
>         Environment: Windows Xp
>            Reporter: Paddy Daly
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>         Attachments: example.log, example.log
>
>
> http://www.nabble.com/SFTP-%3A-Polling---Cannot-list-directory-to21413159s22882.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message