473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

upload video clips to the website


hi could anyone tell me how to allow my visitors to upload video clips
to the website using asp.net
Thank you

--
qwe85
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Mar 3 '06 #1
1 2286
DWS
Qwe85,
Upload to website.
http://msdn.microsoft.com/library/de...UploadASP2.asp

Do yourself a favor and upload to the app_data folder. Only allow
registered users to upload. Create users folder in app_data folder manually.

try
if page.user.identity.isauthenticated then
Dim uname As String = Page.User.Identity.Name
'Create the member directory if it does not exist
MapPath = HttpContext.Current.Server.MapPath("~/app_data/users/"
& uname)
If Not System.IO.Directory.Exists(MapPath) Then
System.IO.Directory.CreateDirectory(MapPath)
End If
MapPath = HttpContext.Current.Server.MapPath("~/app_data/users/"
& uname &"/" & fileupload1.filename)
FileUpload1.PostedFile.SaveAs(MapPath)
....
end if
catch
Good Luck
DWS
Qwe85,
"qwe85" wrote:

hi could anyone tell me how to allow my visitors to upload video clips
to the website using asp.net
Thank you

--
qwe85
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Mar 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: baroque Chou | last post by:
I want to get thumbnail of video clips (wmv, rm ,etc.) to give the user an idea about what it is before he or she start to enjoy the video. is there some property of video object that get the first...
2
by: =?Utf-8?B?ZmF2cnRkYWRAeWFob28uY29t?= | last post by:
Trying to send a video clip about 6 Mb in size, I get this message: Your server has unexpectedly terminated the connection. Possible causes for this include server problems, network problems, or...
0
by: Muhammad Ammad Saleem | last post by:
Hi, I just want to extract the close captions from Video Clips using C# or the .NET Framework. I want to extract this information so that people can search for Video clips of there desire...
1
by: Linto81 | last post by:
Hi Guys... Not a techy question as such... Does anyone know of any good asp scripts for uploading and optimizing video? I would be very grateful for any pointers...
11
by: rajatagl | last post by:
Hi I have created my web pages in asp.net I have a registered domain name and space please tell me how to upload my website i my website database is not attached so tell me how first ready my...
8
bilibytes
by: bilibytes | last post by:
Hi everyone, (don't really know where to post this topic... as i am familiar with php i post it here) i was wondering what technologies should i consider/use to embed some videos on my website....
5
by: Max58kl | last post by:
I have a Dell Optiplex 610 laptop running Windows XP, Windows Media Player 10 and IE6. I have a cd containing a number of pages linked together with hyperlinks. The pages have video clips embedded...
3
by: cutesrivastavaabhi | last post by:
hi dear i want to upload vedio in php but how pls help me
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.