Open File dialog for FTP location

I have a problem opening a dialog with a file when a user views the ftp location. The path I get from openFileDialogue is the local path (local temp temp folder) instead of the actual ftp path selected. How to get the actual ftp path.

+5
source share
1 answer

What version of Windows are you running / testing on?

There is a feature of Windows 7 (not sure if it is in Vista, or maybe even in XP), if you specify a web location (be it http or ftp), Windows will download the file from this location and the path of the downloaded file will go, therefore, the folder Temp, in the app. As far as I can tell from the OpenFileDialog documentation on msdn , there is no way to disable this behavior.

You will have to either minimize your own implementation or see if there is a PInvoke method that you can use to convince it not to exhibit this behavior.

+2
source

All Articles