<< Previous thread | Next thread >> |
X-FileZilla Launcher [only 3.0.0 version] Go to page >> |
Author | Post |
Danix |
| ||
Registered Member #1 Joined: Fri 29 Dec 2006 - 05:38Location: Sassari Posts: 12956 | Attenzione: solo per FileZilla 3.0.0
[ Edited Mon 10 Sep 2007 - 00:19 ] | ||
Back to top |
Danix |
| ||
Registered Member #1 Joined: Fri 29 Dec 2006 - 05:38Location: Sassari Posts: 12956 | Purtroppo il programma non riconosce perfettamente la variabile %USERPROFILE% Quando si va a caricare un file dal desktop o ad importare un XML, appare un messaggio d'errore: Credo che parta sempre da %APPDATA% per cercare i percorsi. La soluzione (anche se indiretta, poichè il profilo non si crea direttamente in $ExeDir$) è questa:
[ Edited Mon 10 Sep 2007 - 12:41 ] | ||
Back to top |
Danix |
| ||
Registered Member #1 Joined: Fri 29 Dec 2006 - 05:38Location: Sassari Posts: 12956 | In virtù delle seguenti indicazioni presenti in FileZilla\docs\fzdefaults.xml.example, scoperte leggendo qui -Link- , aggiornato il launcher alla [rev11] Location of settings directory: By default, FileZilla stores it's settings in the user's home directory. If you want to change this location, modify the "Config Location" setting (see below). "Config Location" either accepts absolute paths or paths relative to the location of fzdefaults.xml You can also use environment variables by preceeding them with the dollar sign, e.g. "$HOME/foo". Use $$ to denote a path containing dollar signs, e.g. "c:\$$foobar\" if settings should be located in "c:\$foobar". A single dot denotes the directory containing fzdefaults.xml
[ Edited Thu 13 Sep 2007 - 00:55 ] | ||
Back to top |
Danix |
| ||
Registered Member #1 Joined: Fri 29 Dec 2006 - 05:38Location: Sassari Posts: 12956 | [rev12] Bug fix: evitata la creazione di una sottocartella (innoqua ma inutile) in Backups\backup_10 Aggiungere alla linea 49:
DirRemove=$Backup$\$AppName$\backup_10\backup_9
Quindi la sezione [RunAfter] diventa:
[RunAfter]
[ Edited Wed 19 Sep 2007 - 23:54 ] | ||
Back to top |
tittoproject |
| ||
Registered Member #821 Joined: Wed 24 Jan 2007 - 17:22Posts: 592 | Nella cartella di FileZilla, c'è il file "fzdefaults.xml.example" con istruzioni dettagliate su come modificare la cartella dove salvare le impostazioni: "FileZilla" wrote ... Location of settings directory: By default, FileZilla stores it's settings in the user's home directory. If you want to change this location, modify the "Config Location" setting (see below). "Config Location" either accepts absolute paths or paths relative to the location of fzdefaults.xml You can also use environment variables by preceeding them with the dollar sign, e.g. "$HOME/foo". Use $$ to denote a path containing dollar signs, e.g. "c:\$$foobar\" if settings should be located in "c:\$foobar". A single dot denotes the directory containing fzdefaults.xml Ecco il codice base per l'X-Launcher:
Eh, eh, era da un pò che non usavo questo programma | ||
Back to top |
Danix |
| ||
Registered Member #1 Joined: Fri 29 Dec 2006 - 05:38Location: Sassari Posts: 12956 | tittoproject, mi sa che ti sei perso un passaggio... | ||
Back to top |
tittoproject |
| ||
Registered Member #821 Joined: Wed 24 Jan 2007 - 17:22Posts: 592 | Danix wrote ... tittoproject, mi sa che ti sei perso un passaggio... Ah, adesso l'ho visto! Questo:
Beh, non ho fatto il lavoro per niente: infatti, se usi la notazione $SettingsDir come ho fatto io, eviti di riscrivere ogni volta il file e velocizzi (sensibilmente, si tratta di una linea) l'avvio. E poi mi sembra più elegante modificare il file di default usando StringReplace. | ||
Back to top |
Danix |
| ||
Registered Member #1 Joined: Fri 29 Dec 2006 - 05:38Location: Sassari Posts: 12956 | S,i in effetti è meglio che far scrivere su un nuovo file. Lo cambio e integro il backup (sapessi quante volte mi ha salvato! ) | ||
Back to top |
Danix |
| ||
Registered Member #1 Joined: Fri 29 Dec 2006 - 05:38Location: Sassari Posts: 12956 | [Functions] DirCopy=$ExeDir$\docs\fzdefaults.xml.example|$ExeDir$\fzdefaults.xml Volevi dire FileCopy, vero? | ||
Back to top |
tittoproject |
| ||
Registered Member #821 Joined: Wed 24 Jan 2007 - 17:22Posts: 592 | Danix wrote ... [Functions] DirCopy=$ExeDir$\docs\fzdefaults.xml.example|$ExeDir$\fzdefaults.xml Volevi dire FileCopy, vero? Naturalmente | ||
Back to top |
Go to page >>
Moderators: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60 |