Problem on uploading and downloading

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2007
Posts: 55
Reputation: atplerry is an unknown quantity at this point 
Solved Threads: 3
atplerry atplerry is offline Offline
Junior Poster in Training

Problem on uploading and downloading

 
0
  #1
Aug 24th, 2009
1.) I have problem uploading file. it work sometime and in the other hand will not work give and error that cannot find the path 'c:/upload/'
2.) i want to upload video file i could not upload video file please could anyone help me with VB.Net coding to upload video file (One thing i notice is when the file uploading that i was using is till working i can upload video lesser than 1000K but when it is more it give a time out)
3.) Thirdly, any file that i upload i want people to be able to download the file be it file or picture and video.
4.) Please what is the step to work on in watching video on my site i want people to watch video on my site.

Thank you so much as you help me in the contribution to my post
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 164
Reputation: dnanetwork has a little shameless behaviour in the past 
Solved Threads: 24
dnanetwork's Avatar
dnanetwork dnanetwork is offline Offline
Junior Poster

Re: Problem on uploading and downloading

 
0
  #2
Aug 25th, 2009
hello there...there could be many problems to u r uploading thing..

well if u can elaborate more or if you can show me your code and specially your web.config file...

remember if u r sharing your code...then remove your credentials of u r live site...if u have mentinoned in your .config file..

may be i can help...
Mark the thread as resolved if your problem gets resolved :)
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 37
Reputation: saj_amo is an unknown quantity at this point 
Solved Threads: 0
saj_amo saj_amo is offline Offline
Light Poster

Re: Problem on uploading and downloading

 
0
  #3
Aug 25th, 2009
first create A folder in your root directory named AttachedFiles and then try this code


Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Attachment()
End Sub
Private Function Attachment() As String

If FileUpload1.HasFile Then
Dim strpath As String = Server.MapPath("~\AttachedFiles").ToString
Dim strAthpath As String
strAthpath = Path.Combine(strpath, FileUpload1.FileName)
FileUpload1.SaveAs(strAthpath)
Label1.Text = "File Upload Successfully"
Return True
Else
Label1.Text = ""
Return Nothing
End If
End Function
sajjad ali memon
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC