Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Servers > Windows Server
|
Windows Server Please be sure to specify which version of Windows Server your question/post applies to.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Server section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 6th, 2006, 03:01 AM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default 2003 Server - allow sensitive file download

I have been looking for far to long now; have had no luck finding the processs for allowing file types like .cfg to be downloaded. They upload fine using pure ASP however can not be downloaded. I get a windows file type sensitivity error. To see this error:

1..http://www.framegroup.com.au/framenetFTP/
2..UN = testUser
3..PW = testUser
After you are logged in you will see three problematic file types (.bat and .cfg and .asp) / right click / file save as / [problem occurs here]

Feel free to upload any docs you wish to test with (max 59Mb) Would very much appreciate thoughts on this one.

FYI:You may delete any files you upload


Additionaly the same problem occurs in this scenario:
Files over 50MB get split. The split utility appends an integer file suffix. So if a 150MB file called myFile.psd gets split into 50MB chunks it produces:

myFile.psd.000
myFile.psd.001
myFile.psd.002
And the Merge batch file also gets uploaded:
merge_myFile.bat

I am assuming 2003 does not allow integer file sufixes in adition to the ones mentioned above, how can I do this? I develop using XP pro (IIS 5.1) there is no such security on XP, it allows the downloading of all the files mentioned above.

TYIA

Wind is your friend
Matt
__________________
Wind is your friend
Matt
Reply With Quote
  #2 (permalink)  
Old November 18th, 2007, 01:53 PM
Registered User
 
Join Date: Nov 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this is a iis problem see below
To resolve this problem, verify that the file requested in the browser's URL exists on the IIS computer and that it is in the correct location.

Use the IIS Microsoft Management Console (MMC) snap-in to determine where the file requested must exist in the IIS computer's file system.

This is particularly important if the Web site uses a virtual directory (VDIR). A VDIR is a directory that is not contained in the home directory of the Web site, but appears to client browser as though it does. This virtual directory must be mapped to a subfolder on a drive or reference the files by name.

For example, assume that the URL that caused the 404 error is http://Microsoft.Com/Test/File1.htm, and the IIS snap-in shows that for Microsoft.Com Web site, the /Test/ directory is actually a virtual directory that maps to the location of c:\Information on the IIS computer. This means that you must verify that the File1.htm file is located in the c:\Information directory (and that the file name is spelled correctly).

IIS6 Dynamic Content: A 404.2 entry in the W3C Extended Log file is recorded when a Web Extension is not enabled. Use the IIS Microsoft Management Console (MMC) snap-in to enable the appropriate Web extension. Default Web Extensions include: ASP, ASP.net, Server-Side Includes, WebDAV publishing, FrontPage Server Extensions, Common Gateway Interface (CGI). Custom extensions must be added and explicitly enabled. See the IIS 6.0 Help File for more information.
IIS6 Static Content: A 404.3 entry in the W3C Extended Log file is recorded when an extension is not mapped to a known extention in the MIME Map property. Use the IIS Microsoft Management Console (MMC) snap-in to configure the appropriate extension in the MIME Map. See the IIS 6.0 Help file for more information.


  to get roung it zip up files before uploading them then get user to unzip after download
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Download file that stored in sql server angshujit ASP.NET 2.0 Basics 8 February 22nd, 2007 06:37 AM
File download from another server harshaghanta ASP.NET 1.0 and 1.1 Basics 1 August 18th, 2006 12:37 PM
Smaller download/single download file available jminatel BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 November 21st, 2005 11:10 AM
How to do case sensitive comparison in SQL SERVER leo_vinay Classic ASP Databases 2 January 24th, 2005 01:46 PM
Download an exe file from server to Client balakumar1000 Classic ASP Basics 1 November 17th, 2003 06:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.