Manual edit of FTP config file
Moderators: Hacker, petermad, Stefan2, white
Manual edit of FTP config file
All developers in my office use a shared TC FTP config file, placed on a network drive.
My problem is, that I want to clean up in our saved FTP connections that contains over 500 entries and about 50% of these are out-dated and irrelevant. Using the FTP interface is slow because of this.
Deleting these one by one in the FTP window takes ages. Every time I delete one, the window has to be updated and resorted, which is a real pain.
I tried editing the file by hand, by use of a text editor, but something prevents the new file from being used.
I can think of several issues that might cause this, but no real reason for it to be a genuine problem for TC.
1. The numbering of the entries becomes irratic, IE several numbers are missing. Since these numbers dosnt reference the data entries later in the file, this shouldnt matter.
2. There are orphaned data entries. Again, no real reason not to accept this. TC could delete them or just leave them. They do no harm.
3. Entries with no matching data entry. Why not ask for the data when a user attempts to use the entry?
Ok, those 3 points are upgrade suggestions I guess, but what do I do in the meantime? Using the interface is horribly slow.
Christian, could you perhaps disclose how the parsing of the file works, so I can at least figure out what I do wrong?
My problem is, that I want to clean up in our saved FTP connections that contains over 500 entries and about 50% of these are out-dated and irrelevant. Using the FTP interface is slow because of this.
Deleting these one by one in the FTP window takes ages. Every time I delete one, the window has to be updated and resorted, which is a real pain.
I tried editing the file by hand, by use of a text editor, but something prevents the new file from being used.
I can think of several issues that might cause this, but no real reason for it to be a genuine problem for TC.
1. The numbering of the entries becomes irratic, IE several numbers are missing. Since these numbers dosnt reference the data entries later in the file, this shouldnt matter.
2. There are orphaned data entries. Again, no real reason not to accept this. TC could delete them or just leave them. They do no harm.
3. Entries with no matching data entry. Why not ask for the data when a user attempts to use the entry?
Ok, those 3 points are upgrade suggestions I guess, but what do I do in the meantime? Using the interface is horribly slow.
Christian, could you perhaps disclose how the parsing of the file works, so I can at least figure out what I do wrong?
- Rou
- CADweazle
- Senior Member
- Posts: 297
- Joined: 2003-04-03, 09:10 UTC
- Location: Freiburg i.Br. Deutschland
Hi Rou,
I've got the same problem (little bit smaller I guess
) and couldn't find a good solution either.
Two tools to remark:
- FXPsites: http://clubtotal.free.fr/tc_tools/fxpsites.zip
- TC FPT checker: http://www.aezay.dk/aezay/other/TotalCmd_Tools/TC%20FTP%20Check%20v1.1%20(02-01-29).rar
Both found on MAXwishs http://clubtotal.free.fr/modules.php?name=ExternalLink&page=index-old.html great site!
Maybe you can convince one of the authors to add a delete option??
Greetings,
I've got the same problem (little bit smaller I guess

Two tools to remark:
- FXPsites: http://clubtotal.free.fr/tc_tools/fxpsites.zip
- TC FPT checker: http://www.aezay.dk/aezay/other/TotalCmd_Tools/TC%20FTP%20Check%20v1.1%20(02-01-29).rar
Both found on MAXwishs http://clubtotal.free.fr/modules.php?name=ExternalLink&page=index-old.html great site!
Maybe you can convince one of the authors to add a delete option??
Greetings,
Cheer up, Karl
- CADweazle
- Senior Member
- Posts: 297
- Joined: 2003-04-03, 09:10 UTC
- Location: Freiburg i.Br. Deutschland
2Rou
You're welcome!
Have look at this editor - offers tree-view for ini-files:
www.pspad.com
was from this recent thread in the German forum:
http://www.ghisler.ch/board/viewtopic.php?t=2365&start=0
Despite of the missing delete function it offers a really well structered overview.
If you make your own program: think of sharing it with us
!
Greetings,
You're welcome!
Have look at this editor - offers tree-view for ini-files:
www.pspad.com
was from this recent thread in the German forum:
http://www.ghisler.ch/board/viewtopic.php?t=2365&start=0
Despite of the missing delete function it offers a really well structered overview.
If you make your own program: think of sharing it with us

Greetings,
Cheer up, Karl
- CADweazle
- Senior Member
- Posts: 297
- Joined: 2003-04-03, 09:10 UTC
- Location: Freiburg i.Br. Deutschland
2Aezay
Great! That´s what I call a fast response!!
I liked your tool even before very much, now it´s close to perfection!!
Only(!) 4 wishes/ideas:
- what about supporting the %commander_path%?
- support for multiple select with SHIFT/CTRL-click.
- second option instead of delete: commenting out ("Disable" or so...)
- create a backup of the old file before deleting/commenting
Would be nice to have
.
Greetings and thanks again for your fine work!!
P.S.: Last not least: what about skin -support - woahahahahah
Great! That´s what I call a fast response!!
I liked your tool even before very much, now it´s close to perfection!!
Only(!) 4 wishes/ideas:
- what about supporting the %commander_path%?
- support for multiple select with SHIFT/CTRL-click.
- second option instead of delete: commenting out ("Disable" or so...)
- create a backup of the old file before deleting/commenting
Would be nice to have

Greetings and thanks again for your fine work!!
P.S.: Last not least: what about skin -support - woahahahahah

Cheer up, Karl
Create a new file TCFTPChk.exe.manifest in the same directory as TCFTPChk.exe. Paste the content:P.S.: Last not least: what about skin -support - woahahahahah
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="TC FTP Checker"
type="win32"
/>
<description>TC FTP Checker.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
I think I tried that once, but the Delphi ListView is incompatible with manifests. Well, I could build it in programs without ListViews. If I remember correctly, it's resource #24 right? What effect does editing the name and description properties in the manifet have.CoolWater wrote:If you want to make your app using XP-Styles, then you have to create such a manifest file. Or you can build this manifest file within your app, as resource. You also must call the InitCommonControls function.
I just switched to the ugly XP theme, there doesn't seems to be any trouble showing any of my programs in the XP look, what gives?
I can't reproduce it, can you give me an example?sqa_wizard wrote:I just found a little bug:
Server named directly by their IP address will be set as unreachable.
Of all the planets I've been to, this one is my favorite.