Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Olly Berry 47 posts 68 karma points
    Oct 21, 2009 @ 17:15
    Olly Berry
    0

    Cannot upload .swf to Media folder

    Hello,

    What I need to do is upload a .swf file to the Media folder so that end-users can download the file. I don't need to embed/play the file on the site, but I do need it to be available for download (or viewing in a blank browser window). I also need it to be in the media folder so that the client can change it if necessary from within umbraco.

    My problem is that when I try to upload a .swf to the media folder (I have created a folder called "files" within Media), my browser spends about 3 or 4 minutes looking like it's uploading the file, then stops and it's not there.

    Should I be able to do this? If so, what am I doing wrong? Sorry I'm pretty new to Umbraco!

    umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657)

    Many thanks,

     

    Olly

  • Olly Berry 47 posts 68 karma points
    Oct 21, 2009 @ 17:22
    Olly Berry
    0

    Incidentally, I sem to have the same issue with .pdf files!

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 21, 2009 @ 18:17
    Dirk De Grave
    2

    It shouldn't be an issue. You can upload whatever file, as long as you're not limited to the server's settings (which is 2mb by default I *think*). Can you give us some hints on what exactly you're doing in the admin backend, so someone may verify this?

     

    Cheers,

    /Dirk

  • Olly Berry 47 posts 68 karma points
    Oct 21, 2009 @ 18:33
    Olly Berry
    0

    Thanks Dirk, didn't check MaxRequestLength (epic fail).

    Upped it and it's all good : )

  • Sebastiaan Janssen 5045 posts 15477 karma points MVP admin hq
    Oct 21, 2009 @ 18:33
    Sebastiaan Janssen
    1

    Yeah, you're probably having an upload limit problem, can you upload other files, like images?

    In the web.config you can change the uploadlimit, this line would give you a 4MB upload limit instead of the default 2MB:

    <httpRuntime maxRequestLength="4096" />
  • Sebastiaan Janssen 5045 posts 15477 karma points MVP admin hq
    Oct 21, 2009 @ 18:34
    Sebastiaan Janssen
    0

    damn,. only seconds too late ;-)

  • Olly Berry 47 posts 68 karma points
    Oct 21, 2009 @ 23:50
    Olly Berry
    0

    : )

Please Sign in or register to post replies

Write your reply to:

Draft