It has been quite a while since I had not picked up a bug of this type:
When a name of file in the vfs is preceded or ends by spaces, there is no automatic corrective.
The following small modification avoids this inconvenience
procedure TmainFrm.filesBoxEdited(Sender:TObject; Node:TTreeNode; var S:String);
var
f: Tfile;
begin
f:=node.data;
[color=blue]s:=trim(s);[/color] [color=green]//mars 2009[/color]
if f.name = s then exit;
..........
procedure Tmainfrm.setVFS(vfs:string; node:Ttreenode=NIL);
.......
FK_NAME:
begin
f.name:=[color=blue]trim([/color]data[color=blue])[/color]; [color=green]//mars 2009[/color]
node.text:=[color=blue]trim([/color]data[color=blue])[/color]; [color=green]//mars 2009[/color]
end;
FK_FLAGS: move(data[1], f.flags, length(data));
......
Otherwise it is possible to meet itself with url as
htt
p://xxx.xxx.xxx.xxx/%20%20%20%20%20%20%20filename.ext%20%20%20%20
instead of it
htt
p://xxx.xxx.xxx.xxx/filename.ext
It is not much but at least it is effective
PS: pour silentpliz, tu l'as ton post tant désiré