Home » Eclipse Projects » DSDP - Target Management » Empty List when using FTP
|
Re: Empty List when using FTP [message #29343 is a reply to message #29191] |
Wed, 05 November 2008 14:54 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
Hi Katie,
this sounds like a list parsing exception. Please open a bugzilla
bug for the issue:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Target%2 0Management
You can try the following:
1.) Check the error log. Any exceptions there?
Window > Show View > Error Log
or
Help > About > Configuration Details >
2.) Create a subfolder of your home, which only holds 1 file.
In RSE, after connecting FTP, create a filter for that
subfolder:
Right-click > New > Filter : folder=/silverso/subFolder
can you see the contents of subfolder?
3.) Attach contents of the FTP Logging Console.
4.) Connect your FTP server with some commandline FTP client,
and attach output on the bug:
ftp yourhost
ftp> dir
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Katie wrote:
> I just got a hold of Eclipse RSE, and I am attempting to use it to
> connect to my remote webhost using FTP. However, using the default
> settings, while it does connect properly, and appears to change to the
> correct folder (watching the console text, I see it move to /silverso
> which is my home directory), the Home list is -always- empty. This
> happens whether it is an active or a passive connection. I know there
> are files and folders in there. Anyone have any ideas what I can do to
> see my files and folders?
>
|
|
|
Re: Empty List when using FTP [message #29381 is a reply to message #29343] |
Wed, 05 November 2008 14:56 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
PS when your homedir contains a file that was changed
on 29 Feb 2008, the issue could be
https://bugs.eclipse.org/bugs/show_bug.cgi?id=220939
which we should be able to fix reasonably soon by moving
to the newly released Commons Net 2.0
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Martin Oberhuber wrote:
> Hi Katie,
>
> this sounds like a list parsing exception. Please open a bugzilla
> bug for the issue:
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Target%2 0Management
>
> You can try the following:
> 1.) Check the error log. Any exceptions there?
> Window > Show View > Error Log
> or
> Help > About > Configuration Details >
>
> 2.) Create a subfolder of your home, which only holds 1 file.
> In RSE, after connecting FTP, create a filter for that
> subfolder:
> Right-click > New > Filter : folder=/silverso/subFolder
> can you see the contents of subfolder?
>
> 3.) Attach contents of the FTP Logging Console.
>
> 4.) Connect your FTP server with some commandline FTP client,
> and attach output on the bug:
> ftp yourhost
> ftp> dir
>
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> Katie wrote:
>> I just got a hold of Eclipse RSE, and I am attempting to use it to
>> connect to my remote webhost using FTP. However, using the default
>> settings, while it does connect properly, and appears to change to the
>> correct folder (watching the console text, I see it move to /silverso
>> which is my home directory), the Home list is -always- empty. This
>> happens whether it is an active or a passive connection. I know there
>> are files and folders in there. Anyone have any ideas what I can do to
>> see my files and folders?
>>
|
|
|
Re: Empty List when using FTP [message #29491 is a reply to message #29191] |
Thu, 13 November 2008 17:56 |
Jon Wilson Messages: 35 Registered: July 2009 |
Member |
|
|
Hi,
I've just installed RSE and have been trying to make an FTP connection
to a target platform running uClinux.
I get the same problem - FTP connects but I can't see remote
files/folders. If I create a file I can use Linux cmd line ftp or
telnet to the target to see that the file has been created but it still
doesn't appear in the Eclipse view.
I took a Wireshark trace and can see the FTP-DATA packets containing the
file listing being returned but nothing appears in the Eclipse view.
FileZilla and Firefox have the same problem (they connect but don't list
files). But cmd line ftp works so I'm sure TM could be made to work. I
suspect the date/time parsing as our target currently always returns 0,
e.g.:
root:/> ls -la
drwxr-xr-x 15 0 0 0 .
drwxr-xr-x 15 0 0 0 ..
drwxrwxr-x 2 0 0 0 bin
Is there anyway to relax the parsing through configuration or do I need
to look at creating a new parser? If the latter, how would I go about
debugging this in the plug-in? Can someone point at the general area in
the code that deals with LIST parsing?
Cheers,
Jon
Katie wrote:
> I just got a hold of Eclipse RSE, and I am attempting to use it to
> connect to my remote webhost using FTP. However, using the default
> settings, while it does connect properly, and appears to change to the
> correct folder (watching the console text, I see it move to /silverso
> which is my home directory), the Home list is -always- empty. This
> happens whether it is an active or a passive connection. I know there
> are files and folders in there. Anyone have any ideas what I can do to
> see my files and folders?
>
|
|
|
Re: Empty List when using FTP [message #29556 is a reply to message #29491] |
Fri, 21 November 2008 14:02 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
Hi Jon,
I think you should be able to configure the date format just by editing
plugin.xml -- you can do this by self-hosting to debug it, i.e. you
modify the UNIX ftp listing parser extension; if it works you can just
copy that extension into your own plugin (with a different name), and
that way you can ship an extension to RSE to make your uCLinux targets work.
Self-hosting, see
http://wiki.eclipse.org/TM_and_RSE_FAQ#Working_on_TM_.2F_RSE
* File > Import > Plug-In Development > Plug-ins and fragments
- org.eclipse.rse.subsystems.files.ftp
- import with source folders
Edit plugin.xml of that plugin, enter a proper recentDateFormatStr
into the "UNIX" listingParser extension, see
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.do c.isv/reference/extension-points/org_eclipse_rse_subsystems_ files_ftp_ftpListingParsers.html
* Run > Run Configurations > New "Eclipse Application" Launch, Run
test and see if it works
If it works, in order to bind "Your" listing parser against your
target by autodetection, check and see what the "SYST" command
returns on your target. Put a regular expression matching that
String into your listingParser extension.
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Jon Wilson wrote:
> Hi,
>
> I've just installed RSE and have been trying to make an FTP connection
> to a target platform running uClinux.
>
> I get the same problem - FTP connects but I can't see remote
> files/folders. If I create a file I can use Linux cmd line ftp or
> telnet to the target to see that the file has been created but it still
> doesn't appear in the Eclipse view.
>
> I took a Wireshark trace and can see the FTP-DATA packets containing the
> file listing being returned but nothing appears in the Eclipse view.
> FileZilla and Firefox have the same problem (they connect but don't list
> files). But cmd line ftp works so I'm sure TM could be made to work. I
> suspect the date/time parsing as our target currently always returns 0,
> e.g.:
>
> root:/> ls -la
> drwxr-xr-x 15 0 0 0 .
> drwxr-xr-x 15 0 0 0 ..
> drwxrwxr-x 2 0 0 0 bin
>
> Is there anyway to relax the parsing through configuration or do I need
> to look at creating a new parser? If the latter, how would I go about
> debugging this in the plug-in? Can someone point at the general area in
> the code that deals with LIST parsing?
>
> Cheers,
>
> Jon
>
>
> Katie wrote:
>> I just got a hold of Eclipse RSE, and I am attempting to use it to
>> connect to my remote webhost using FTP. However, using the default
>> settings, while it does connect properly, and appears to change to the
>> correct folder (watching the console text, I see it move to /silverso
>> which is my home directory), the Home list is -always- empty. This
>> happens whether it is an active or a passive connection. I know there
>> are files and folders in there. Anyone have any ideas what I can do to
>> see my files and folders?
>>
|
|
| | |
Re: Empty List when using FTP [message #577855 is a reply to message #29191] |
Wed, 05 November 2008 14:54 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
Hi Katie,
this sounds like a list parsing exception. Please open a bugzilla
bug for the issue:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Target%2 0Management
You can try the following:
1.) Check the error log. Any exceptions there?
Window > Show View > Error Log
or
Help > About > Configuration Details >
2.) Create a subfolder of your home, which only holds 1 file.
In RSE, after connecting FTP, create a filter for that
subfolder:
Right-click > New > Filter : folder=/silverso/subFolder
can you see the contents of subfolder?
3.) Attach contents of the FTP Logging Console.
4.) Connect your FTP server with some commandline FTP client,
and attach output on the bug:
ftp yourhost
ftp> dir
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Katie wrote:
> I just got a hold of Eclipse RSE, and I am attempting to use it to
> connect to my remote webhost using FTP. However, using the default
> settings, while it does connect properly, and appears to change to the
> correct folder (watching the console text, I see it move to /silverso
> which is my home directory), the Home list is -always- empty. This
> happens whether it is an active or a passive connection. I know there
> are files and folders in there. Anyone have any ideas what I can do to
> see my files and folders?
>
|
|
|
Re: Empty List when using FTP [message #577866 is a reply to message #29343] |
Wed, 05 November 2008 14:56 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
PS when your homedir contains a file that was changed
on 29 Feb 2008, the issue could be
https://bugs.eclipse.org/bugs/show_bug.cgi?id=220939
which we should be able to fix reasonably soon by moving
to the newly released Commons Net 2.0
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Martin Oberhuber wrote:
> Hi Katie,
>
> this sounds like a list parsing exception. Please open a bugzilla
> bug for the issue:
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Target%2 0Management
>
> You can try the following:
> 1.) Check the error log. Any exceptions there?
> Window > Show View > Error Log
> or
> Help > About > Configuration Details >
>
> 2.) Create a subfolder of your home, which only holds 1 file.
> In RSE, after connecting FTP, create a filter for that
> subfolder:
> Right-click > New > Filter : folder=/silverso/subFolder
> can you see the contents of subfolder?
>
> 3.) Attach contents of the FTP Logging Console.
>
> 4.) Connect your FTP server with some commandline FTP client,
> and attach output on the bug:
> ftp yourhost
> ftp> dir
>
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> Katie wrote:
>> I just got a hold of Eclipse RSE, and I am attempting to use it to
>> connect to my remote webhost using FTP. However, using the default
>> settings, while it does connect properly, and appears to change to the
>> correct folder (watching the console text, I see it move to /silverso
>> which is my home directory), the Home list is -always- empty. This
>> happens whether it is an active or a passive connection. I know there
>> are files and folders in there. Anyone have any ideas what I can do to
>> see my files and folders?
>>
|
|
|
Re: Empty List when using FTP [message #577913 is a reply to message #29191] |
Thu, 13 November 2008 17:56 |
Jon Wilson Messages: 35 Registered: July 2009 |
Member |
|
|
Hi,
I've just installed RSE and have been trying to make an FTP connection
to a target platform running uClinux.
I get the same problem - FTP connects but I can't see remote
files/folders. If I create a file I can use Linux cmd line ftp or
telnet to the target to see that the file has been created but it still
doesn't appear in the Eclipse view.
I took a Wireshark trace and can see the FTP-DATA packets containing the
file listing being returned but nothing appears in the Eclipse view.
FileZilla and Firefox have the same problem (they connect but don't list
files). But cmd line ftp works so I'm sure TM could be made to work. I
suspect the date/time parsing as our target currently always returns 0,
e.g.:
root:/> ls -la
drwxr-xr-x 15 0 0 0 .
drwxr-xr-x 15 0 0 0 ..
drwxrwxr-x 2 0 0 0 bin
Is there anyway to relax the parsing through configuration or do I need
to look at creating a new parser? If the latter, how would I go about
debugging this in the plug-in? Can someone point at the general area in
the code that deals with LIST parsing?
Cheers,
Jon
Katie wrote:
> I just got a hold of Eclipse RSE, and I am attempting to use it to
> connect to my remote webhost using FTP. However, using the default
> settings, while it does connect properly, and appears to change to the
> correct folder (watching the console text, I see it move to /silverso
> which is my home directory), the Home list is -always- empty. This
> happens whether it is an active or a passive connection. I know there
> are files and folders in there. Anyone have any ideas what I can do to
> see my files and folders?
>
|
|
|
Re: Empty List when using FTP [message #577962 is a reply to message #29491] |
Fri, 21 November 2008 14:02 |
Martin Oberhuber Messages: 1007 Registered: July 2009 |
Senior Member |
|
|
Hi Jon,
I think you should be able to configure the date format just by editing
plugin.xml -- you can do this by self-hosting to debug it, i.e. you
modify the UNIX ftp listing parser extension; if it works you can just
copy that extension into your own plugin (with a different name), and
that way you can ship an extension to RSE to make your uCLinux targets work.
Self-hosting, see
http://wiki.eclipse.org/TM_and_RSE_FAQ#Working_on_TM_.2F_RSE
* File > Import > Plug-In Development > Plug-ins and fragments
- org.eclipse.rse.subsystems.files.ftp
- import with source folders
Edit plugin.xml of that plugin, enter a proper recentDateFormatStr
into the "UNIX" listingParser extension, see
http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.do c.isv/reference/extension-points/org_eclipse_rse_subsystems_ files_ftp_ftpListingParsers.html
* Run > Run Configurations > New "Eclipse Application" Launch, Run
test and see if it works
If it works, in order to bind "Your" listing parser against your
target by autodetection, check and see what the "SYST" command
returns on your target. Put a regular expression matching that
String into your listingParser extension.
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Jon Wilson wrote:
> Hi,
>
> I've just installed RSE and have been trying to make an FTP connection
> to a target platform running uClinux.
>
> I get the same problem - FTP connects but I can't see remote
> files/folders. If I create a file I can use Linux cmd line ftp or
> telnet to the target to see that the file has been created but it still
> doesn't appear in the Eclipse view.
>
> I took a Wireshark trace and can see the FTP-DATA packets containing the
> file listing being returned but nothing appears in the Eclipse view.
> FileZilla and Firefox have the same problem (they connect but don't list
> files). But cmd line ftp works so I'm sure TM could be made to work. I
> suspect the date/time parsing as our target currently always returns 0,
> e.g.:
>
> root:/> ls -la
> drwxr-xr-x 15 0 0 0 .
> drwxr-xr-x 15 0 0 0 ..
> drwxrwxr-x 2 0 0 0 bin
>
> Is there anyway to relax the parsing through configuration or do I need
> to look at creating a new parser? If the latter, how would I go about
> debugging this in the plug-in? Can someone point at the general area in
> the code that deals with LIST parsing?
>
> Cheers,
>
> Jon
>
>
> Katie wrote:
>> I just got a hold of Eclipse RSE, and I am attempting to use it to
>> connect to my remote webhost using FTP. However, using the default
>> settings, while it does connect properly, and appears to change to the
>> correct folder (watching the console text, I see it move to /silverso
>> which is my home directory), the Home list is -always- empty. This
>> happens whether it is an active or a passive connection. I know there
>> are files and folders in there. Anyone have any ideas what I can do to
>> see my files and folders?
>>
|
|
| | |
Goto Forum:
Current Time: Fri Apr 26 18:55:15 GMT 2024
Powered by FUDForum. Page generated in 0.04476 seconds
|