Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια
σε

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Video uploading

Îåêßíçóå áðü ôï ìÝëïò loukas_l. Τελευταία δημοσίευση από το μέλος dimik στις 17-11-2007, 03:24. Υπάρχουν 1 απαντήσεις.
Ταξινόμηση Δημοσιεύσεων: Προηγούμενο Επόμενο
  •  14-11-2007, 15:17 37324

    Video uploading

    Έβαλα ένα uploader control με την προϋπόθεση να κάνω upload κάποια αρχεία video σε ένα server. Αυτό δεν είναι εφικτό και μάλλον ο λόγος είναι το μέγεθος του αρχείου.

    Πώς μπορώ να αντιμετωπίσω αυτό το πρόβλημα;

     

    Υπάρχει κάποιο παράδειγμα που να δείχνει πως μπορείς  να κάνεις upload ένα αρχείο video περίπου 20 MB;

     

    Ευχαριστώ.

  •  17-11-2007, 03:24 37399 σε απάντηση της 37324

    Απ: Video uploading

    From http://support.microsoft.com/kb/323245 :

    oadTOCNode(2, 'summary'By default, ASP.NET permits only files that are 4,096 kilobytes (KB) (or 4 megabytes [MB]) or less to be uploaded to the Web server. To upload larger files, you must change the maxRequestLength parameter of the <httpRuntime> section in the Web.config file.


    Note When the maxRequestLength attribute is set in the Machine.config file and then a request is posted (for example, a file upload) that exceeds the value of maxRequestLength, a custom error page cannot be displayed. Instead, Microsoft Internet Explorer will display a "Cannot find server or DNS" error message.

    If you want to change this setting for all of the computer and not just this ASP.NET application, you must modify the Machine.config file.

    By default, the <httpRuntime> element is set to the following parameters in the Machine.config file:
    <httpRuntime 
    executionTimeout="90"
    maxRequestLength="4096"
    useFullyQualifiedRedirectUrl="false"
    minFreeThreads="8"
    minLocalRequestFreeThreads="4"
    appRequestQueueLimit="100"
    />
    The Machine.config file is located in the \System Root\Microsoft.NET\Framework\Version Number\Config folder.
    Σύνταξη στα 18,
    Στράτευση στα 100.
Προβολή Τροφοδοσίας RSS με μορφή XML
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems