Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Filezilla has no jumplist
#1
One annoyance i have with filezilla is that it will have not jumplist. That is because the developer has focus on cross platform.
So my solution is to have a qm exe pinned to taskbar as surrogate, which will have a jumplist generated from filezillas sitemanager.xml.

My first question is about an easy way to work with the xml file.
I want to build a menu out of it, but have problems to understand your documentation in help.
Since my xml is rather big and site info is not encrpyted, i can't post the whole file. But maybe you use filezilla too.

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
<Servers>
<Folder expanded="0">First Folder
<Server>
<Host>ftp.quick-macros.biz</Host>
<Port>21</Port>
<Protocol>0</Protocol>
<Type>0</Type>
<User>pi-44526</User>
<Pass>WOW-10-YEARS</Pass>
<Logontype>1</Logontype>
<TimezoneOffset>0</TimezoneOffset>
<PasvMode>MODE_DEFAULT</PasvMode>
<MaximumMultipleConnections>0</MaximumMultipleConnections>
<EncodingType>Auto</EncodingType>
<BypassProxy>0</BypassProxy>
<Name>stayhamburg</Name>
<Comments>Fake</Comments>
<LocalDir></LocalDir>
<RemoteDir></RemoteDir>
<SyncBrowsing>0</SyncBrowsing>stayhamburg
</Server>
</Folder>
</Servers>
</FileZilla3>

Macro Macro88
Code:
Copy      Help
IXml x._create

x.FromFile("D:\Dropbox\Tools\ftp\FileZillaPortable\Data\settings\sitemanager.xml") ;;load XML file
err out "Error: %s" x.XmlParsingError; ret ;;error if the file is corrupted

XmlOut x 1

Big Grin
pi
#2
Macro Macro1950
Code:
Copy      Help
out
str sFile="$appdata$\FileZilla\sitemanager.xml"
;_s.getfile(sFile); out _s

IXml x._create
x.FromFile(sFile)
ARRAY(IXmlNode) a
x.RootElement.GetAll(0 a)
int i
for i 0 a.len
,IXmlNode& n=a[i]
,sel n.Name
,,case "Server"
,,str sHost=n.Child("Host").Value
,,out F"Server: {sHost}"
,,


Forum Jump:


Users browsing this thread: 1 Guest(s)