Autor Beitrag
Fischman
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Do 01.01.04 13:02 
Hallo Leute,
wer kann mir da mal weiter helfen.Ich bekomme von der ShellListView immer den falschen Pfad aber der Dateiname ist ja richtig.

ausblenden Quelltext
1:
2:
Name:=ExtractFileName(ShellListView1.SelectedFolder.PathName);
idFTP1.Put(name,name,true);


Gruß
Uwe
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Do 01.01.04 13:24 
Ist es richtig, das Du

ausblenden Delphi-Quelltext
1:
2:
Name:=ExtractFileName(ShellListView1.SelectedFolder.PathName); 
idFTP1.Put(name,name,true);


einen Dateinamen zurückgeben lassen willst, aber als Parameter ein Verzeichnis übergibst , also eigentlich kein Dateiname dranhängt?
Fischman Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 137

Win XP
D3 Prof / D7
BeitragVerfasst: Do 01.01.04 16:23 
Hallo,
ich will eigentlich im ShellListview eine Datei makieren und mit ein Button die Datei auf dem Server übertragen.

Gruß
Uwe
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Mi 07.01.04 19:25 
Kenn mich leider mit dem Shelllistview nicht so aus (kenne ich eigentlich überhaupt nicht, mein Delphi wohl auch nicht :lol: ), aber wenn Du eine Datei auswählen kannst, dann muss es auch eine Eigenschaft geben, die
den Dateinamen ausgibt.

Prüf mal mit

ausblenden Delphi-Quelltext
1:
2:
Name:=ExtractFileName(ShellListView1.SelectedFolder.PathName);  
showmessage(name);


was da zurückgegeben wird. Ansonsten probier mal ne andere Eigenschaft (Filename oder so was )