At line 4 changed one line |
This plugin expects a user.XML file response, a VFS.XML file response, and a custom VFS items response...example provided below: |
This plugin expects a user.XML file response, a VFS.XML file response, and a custom VFS items response...examples provided below.\\ |
\\ |
You can get a user.XML file from any user created in the User Manager. The same is true for the VFS.XML. So those examples are not provided here. The complex part is the VFS structure object which has to represent the VFS folder item from the User Manager...and that is the example provided below. In the URLs that are called, there are variable replacements that can be done for the user_name and user_password.\\ |
At line 9 added one line |
|
At line 9 changed 12 lines |
<VFS_subitem type="properties"> |
<type>DIR</type> |
<dir>/</dir> |
<name>HOME</name> |
<data type="vector"> |
<data_subitem type="properties"> |
<url>FILE://home/crushftp/testuser1/HOME/</url> |
<type>DIR</type> |
</data_subitem> |
</data> |
</VFS_subitem> |
</VFS>}}} |
<VFS_subitem type="properties"> |
<type>FILE</type> |
<dir>/</dir> |
<name>Upload</name> |
<data type="vector"> |
<data_subitem type="properties"> |
<url>FILE://C:/FTP/Upload1/</url> |
<type>DIR</type> |
</data_subitem> |
</data> |
</VFS_subitem> |
<VFS_subitem type="properties"> |
<dir>/</dir> |
<type>DIR</type> |
<virtualPath>/</virtualPath> |
<name>Download</name> |
</VFS_subitem> |
<VFS_subitem type="properties"> |
<dir>/Download/</dir> |
<type>DIR</type> |
<virtualPath>/Download/</virtualPath> |
<name>Sender1</name> |
</VFS_subitem> |
<VFS_subitem type="properties"> |
<dir>/Download/</dir> |
<type>DIR</type> |
<virtualPath>/Download/</virtualPath> |
<name>Sender2</name> |
</VFS_subitem> |
<VFS_subitem type="properties"> |
<dir>/Download/Sender1/</dir> |
<type>FILE</type> |
<virtualPath>/Download/Sender1/</virtualPath> |
<name>File2.zip</name> |
<data type="vector"> |
<data_subitem type="properties"> |
<url>FILE://C:/FTP/Testfile2.zip</url> |
<type>FILE</type> |
</data_subitem> |
</data> |
</VFS_subitem> |
<VFS_subitem type="properties"> |
<dir>/Download/Sender2/</dir> |
<type>FILE</type> |
<virtualPath>/Download/Sender2/</virtualPath> |
<name>File1.zip</name> |
<data type="vector"> |
<data_subitem type="properties"> |
<url>FILE://C:/FTP/Testfile1.zip</url> |
<type>FILE</type> |
</data_subitem> |
</data> |
</VFS_subitem> |
</VFS> |
}}} |
At line 146 changed one line |
if (!password.trim().equals("")) |
if (!password.trim().equals("") || info.getProperty("publickey_lookup", "false").equals("true") || info.getProperty("anyPass", "false").equals("true")) |