formi
asked on
opening windows-explorer with ftp-folder
Hi
to open the windows-explorer with a specific folder I use
How can I open it with a ftp-folder?
Thanks, Peter
to open the windows-explorer with a specific folder I use
ShellExecute(Application.Handle,
PChar('explore'),PChar([b]'C:\MyFolder'[/b]),nil,nil,SW_SHOWNORMAL);
How can I open it with a ftp-folder?
ShellExecute(Application.Handle,
PChar('explore'),PChar([b]'ftp://www.myDomain/MyFolder'[/b]),nil,nil,SW_SHOWNORMAL);
does not work.Thanks, Peter
I believe explorer uses Internet explorer to handle FTP so you might need to call iexplorer.exe instead of explorer.
ASKER
thanks for th hint. It doesn't work and I think it must be explorer (it should be the same as if I type the ftp-address in the windows-explorer. This way I can open the folder and manage data in it.
Instead of 'explore' must be 'open':
http://support.microsoft.c om/kb/2248 16
More examples:
http://www.oehive.org/node /521
http://support.microsoft.c
More examples:
http://www.oehive.org/node
ASKER
As I wrote I don't want to open the browser, but the windows-explorer!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you gave me the right way to try ('open', 'explorer.exe'. It works now with
ShellExecute(Form1.Handle, 'open','ex plorer.exe ',pChar('/ e, ftp://www.myDomain/myFolder'),'',SW_SHOWNORMAL)
ShellExecute(Form1.Handle,