Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. Anybody know how to upload video using ASP.NET?

Anybody know how to upload video using ASP.NET?

Scheduled Pinned Locked Moved Web Development
csharpasp-nettutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mujin03
    wrote on last edited by
    #1

    I want to upload some multimedia file to my website. Just like Youtube does. However, I searched google and didn't find any samples. It seems like there is a control called CSUpload Controls in .Net 2.0. But not sure whether it can load video file.

    B L 2 Replies Last reply
    0
    • M mujin03

      I want to upload some multimedia file to my website. Just like Youtube does. However, I searched google and didn't find any samples. It seems like there is a control called CSUpload Controls in .Net 2.0. But not sure whether it can load video file.

      B Offline
      B Offline
      Bradml
      wrote on last edited by
      #2

      I'm not too sure about ASP, but basically the way YouTube does it is: You upload using the "files" input type (HTML). They use php. In php to get a file that was uploaded you call the global variable "$_FILES['filename']" once they file passes a serious of security checks it is stored in a temporary directory. They then connect to Macromedia Flash encoder using PHP's command line abilities. When it is encoded into flash it is stored on a server ready to be requested by TouTubers. See: Here for Uploading in PHP[^] Here for PHP command line stuff[^] Here for info on the Flash encoder[^]


      Brad Australian "Keyboard? Ha! I throw magnets over the RAM chips!" - peterchen

      1 Reply Last reply
      0
      • M mujin03

        I want to upload some multimedia file to my website. Just like Youtube does. However, I searched google and didn't find any samples. It seems like there is a control called CSUpload Controls in .Net 2.0. But not sure whether it can load video file.

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        mujin03 wrote:

        But not sure whether it can load video file.

        Right... because a "video file" is not a "file". :rolleyes:

        mujin03 wrote:

        I searched google and didn't find any samples.

        Yes I can understand your difficulty since they hide that information in the documentation[^] :omg:

        led mike

        R 1 Reply Last reply
        0
        • L led mike

          mujin03 wrote:

          But not sure whether it can load video file.

          Right... because a "video file" is not a "file". :rolleyes:

          mujin03 wrote:

          I searched google and didn't find any samples.

          Yes I can understand your difficulty since they hide that information in the documentation[^] :omg:

          led mike

          R Offline
          R Offline
          RichardGrimmer
          wrote on last edited by
          #4

          :laugh::laugh::laugh:

          "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups