| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Problems with Macintosh |
| szymoncz From: Mississauga, ON Canada Posts: 3 Member Since: 10/15/04 |
posted October 15, 2004 5:13 PM Hi Everybody. I need some help. I'm testing PowerTCP_FTP control on Macintosh as a client, using IE 5.1. (With Windows Explorer I don't have any problems.) I started sample provided by Dart. Everything works fine except downloading files. Browser starts downloading but firstly is trying to download the page not file, secondly is doing this over and over again. And what's interesting it creates new sessions on ftp server. More interesting, the same browser doesn't have any problems with saving file using Response when source is coming from the stream from file existing on the web server. So this might be caused by MemoryStream, but I'm not sure. Could anyone give me any hint about other ways to get files from server. (maybe create my own response object.) Thanks in advance Szymon |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted October 16, 2004 8:58 PM To initiate a download in IE on Windows, we simply send the binary data, along with some HTTP headers identifying the data as a download file. This causes Windows IE to open the "File Download Dialog". With Mac IE, this does not work for some reason. It seems to be ignoring the HTTP headers and simply starts downloading the file as an HTML page. I can't think of any way to get this to work properly in Mac IE. One workaround is detecting when a user is using Mac and displaying an alert prompt when they click on a "file download" link telling them to CTRL-Click to initiate a file download. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|