Wrox Programmer Forums
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To 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
Old October 24th, 2006, 03:18 PM
Authorized User
Join Date: Aug 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to ankur_icfai
Default Uploading videos!!

O Hi,
     I am trying to build a website for my summer project, the concept is same as that of www.youtube.com or videos.google.com.

But i have some questions in mind,

1). How do i transfer the file from my machine to the server that is hosting my site. should I use FTP and if yes how do I do that,
or there is some other way how we do it.

2). While retreving the file from the server when I play it on the page wont it be slow if I use FTP.
or there is another answer to whatever I am thinking.

Plz reply if you have some better idea...

have fun ,
Old November 9th, 2006, 10:34 AM
Friend of Wrox
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts


I think your looking for a way to upload your media with a form. You need a HTML form and some serverside programming to upload your files such as PHP,ASP or Java.
this is an example of your HTML code
<form method="POST" action="" enctype="multipart/form-data">
<input type="file" name="video">
<input type="Submit" name="Submit" value="Upload">
</form><br />
the attribute (enctype="multipart/form-data") will tell te server its about a file

good luck

__________________________________________________ ________
This is my junk I'm gona eat it

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading Flash videos via admin metrov ASP.NET 2.0 Professional 1 March 2nd, 2008 09:45 AM
inserting videos to database... ankur_icfai SQL Server 2000 1 November 2nd, 2006 09:09 AM
Streaming Videos pritambaldota ASP.NET 1.0 and 1.1 Professional 0 August 18th, 2006 06:53 AM
Download videos rajanikrishna HTML Code Clinic 1 October 27th, 2005 05:07 AM
Streaming Videos everest General .NET 0 October 13th, 2005 09:08 AM

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