diff --git a/rse/plugins/org.eclipse.rse.subsystems.files.ftp/plugin.xml b/rse/plugins/org.eclipse.rse.subsystems.files.ftp/plugin.xml index 33b96b6756a..9d05785b4f4 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.files.ftp/plugin.xml +++ b/rse/plugins/org.eclipse.rse.subsystems.files.ftp/plugin.xml @@ -46,9 +46,9 @@ Javier Montalvo Orus (Symbian) - improved autodetection of FTPListingParser - + - + - + Extension point that allows providing extra parsers for the FTP LIST command output. @@ -186,15 +186,18 @@ If no priority is specified, the default value will be <code>Integer.MAX_V </parser> <!-- Custom parser implementing org.apache.commons.net.ftp.Configurable and org.apache.commons.net.ftp.FTPFileEntryParser --> +<!-- sending FTP list command "LIST -l" with priority 1--> <parser class="com.mycompany.MyParser" - name="MyParser"> + label="MyParser" + listCommandModifiers="-l" + priority="1"> </parser> <!-- UNIX server that uses Danish month names and "European" date formatting in Denmark's time zone --> <parser class="org.apache.commons.net.ftp.parser.UnixFTPEntryParser" - name="UNIX_Danish" + label="UNIX_Danish" defaultDateFormatStr = "d MMM yyyy" recentDateFormatStr = "d MMM HH:mm" serverLanguageCode = "da" @@ -205,7 +208,7 @@ If no priority is specified, the default value will be <code>Integer.MAX_V <!-- VMS server that uses month names in a language not supported but uses the standard date formatting --> <parser class="org.apache.commons.net.ftp.parser.VMSFTPEntryParser" - name="VMS_custom" + label="VMS_custom" shortMonthNames="jan|feb|mar|apr|ma\u00ED|j\u00FAn|j\u00FAl|\u00e1g\u00FA|sep|okt|n\u00F3v|des" > </parser> diff --git a/rse/plugins/org.eclipse.rse.subsystems.files.ftp/src/org/eclipse/rse/internal/subsystems/files/ftp/parser/FTPClientConfigFactory.java b/rse/plugins/org.eclipse.rse.subsystems.files.ftp/src/org/eclipse/rse/internal/subsystems/files/ftp/parser/FTPClientConfigFactory.java index 42c36ef2e6c..2b081daf741 100644 --- a/rse/plugins/org.eclipse.rse.subsystems.files.ftp/src/org/eclipse/rse/internal/subsystems/files/ftp/parser/FTPClientConfigFactory.java +++ b/rse/plugins/org.eclipse.rse.subsystems.files.ftp/src/org/eclipse/rse/internal/subsystems/files/ftp/parser/FTPClientConfigFactory.java @@ -31,7 +31,7 @@ public class FTPClientConfigFactory implements IFTPClientConfigFactory { private Hashtable ftpConfigProxyById = new Hashtable(); private Hashtable ftpParsers = new Hashtable(); - private IExtensionPoint ep = Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.rse.subsystems.files.ftp","ftpFileEntryParsers"); //$NON-NLS-1$ //$NON-NLS-2$ + private IExtensionPoint ep = Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.rse.subsystems.files.ftp","ftpListingParsers"); //$NON-NLS-1$ //$NON-NLS-2$ /** * Constructor of the parser factory