Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi FTP in Explorer Ansicht öffnen (https://www.delphipraxis.net/86790-ftp-explorer-ansicht-oeffnen.html)

DieHardMan 19. Feb 2007 19:56


FTP in Explorer Ansicht öffnen
 
Hi,

möchte einen FTP mit dem IE bzw. dem Windows Explorer öffnen und diesen als Ordner anzeigen lassen.

So öffnet er es zwar, aber leider nur in der normalen Listenansicht und nicht als Ordneransicht.

Delphi-Quellcode:
IEApp: OLEVariant;

IEApp        := CreateOLEObject('InternetExplorer.Application');
IEApp.Visible := True;
IEApp.Navigate('ftp://user:password@server.de');
Und das hier funktioniert leider auch nicht.

Delphi-Quellcode:
ShellExecute(Application.Handle, PChar('explore'),
             PChar('ftp://user:password@server.de'), nil, nil, SW_SHOWNORMAL);

inherited 19. Feb 2007 20:01

Re: FTP in Explorer Ansicht öffnen
 
Versuche mal iexplore statt explore

DieHardMan 19. Feb 2007 20:07

Re: FTP in Explorer Ansicht öffnen
 
Funktioniert leider auch nicht.

Aber so gehts nun:

Delphi-Quellcode:
  ShellExecute(Application.Handle,
    PChar('open'),
    PChar('explorer'),
    PChar('ftp://user:password@server.de'),
    nil,
    SW_SHOWNORMAL);


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:10 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz