| |
|
|
twkessel
: On
March 16, 2008 12:08 AM
said:
|
Does anyone know how to change the C# code to upload to a relative directory so it doesn't matter if you change hosting companies?
|
|
|
|
izraelie
: On
March 17, 2008 8:22 AM
said:
|
Pls kindly indicate hw to upload image files to
|
|
|
|
JoeStagner
: On
March 20, 2008 5:20 PM
said:
|
Server.MapPath(".") will give you the current directy, then you can append the relative path. Remember the app still needs write access to the directory.
|
|
|
|
laxmikanth2005
: On
March 27, 2008 9:07 AM
said:
|
Hi every one, How can I stop downloading my private videos on web. people are using different third party tool like * Orbit * Xilisoft * VDownloader * TubeSucker * VideoGet they are easily downloading my videos ..is there any solution to stop this type steeling please give me solution tx
|
|
|
|
samiz_z
: On
April 15, 2008 11:19 AM
said:
|
thanks but i want to knew how to download the file that i have upload
|
|
|
|
JoeStagner
: On
April 15, 2008 9:42 PM
said:
|
laxmikanth - if they can view them, they can download them. Really the only solution is to DRM them. samix - you either need to let the user do a directory listing or you need to create a web link somewhere after uploading.
|
|
|
|
confimalar
: On
April 18, 2008 4:18 AM
said:
|
what are the parameters in fileupload.input stream??
|
|
|
|
|
|
kolept
: On
June 17, 2008 10:50 AM
said:
|
Thanks 4 the code I still need some extra features from this code. Can u teach me how 2 show the picture I uploaded on top of the uploader controller,simple code in c# no need file type verification. Thanks.
|
|
|
|
kolept
: On
June 17, 2008 10:59 AM
said:
|
hi,sorry 4 giving so many comments.But is was not my faults cause the webpage showed I hv error so I keep on posting. Can u help me 2 delete the repeated comments. Thanks
|
|
|
|
bryanr
: On
June 18, 2008 1:08 PM
said:
|
Very interesting video and presentation. Can you advise how to change the code to upload a file from a client PC to a web based server - the ASP FileUpload seems quite happy when the saving location is a physical drive including C:/ or something similar, but not at all for a virtual drive such as http://www.domain.com/storage/ I need to upload an Access mdb from a client computer, on a fairly regular basis (every 3 days or so) to a shared hosting web server where I don't have access to the physical drive - the mdb will then be queried by further ASP pages. The comp0uter operator is not computer savvy so this has to be a painless, automated routine built into an ASP.NET form like the FileUpload systenm you demonstrated I get the physical system on my own drive OK, but fail when trying to switch to the virtuals systm on the server. I have tried various permutations including Server.MapPath with no luck. Any ideas for me please ? What am I doing wrong ? Do I need to code in UID and PWD for webserver access also ? Latest attempt at these lines was : filePath = "http://www.domain.com/storage/" & FileUpLoad1.FileName FileUpLoad1.SaveAs(Server.MapPath(filePath)) Thanks BR
|
|
|
|
tmorton
: On
June 25, 2008 2:08 PM
said:
|
Hi kolept, I've now removed the duplicate comments and we've corrected the underlying problem with the error message that was occasionally appearing when leaving a video comment.
|
|
|
|
cv_vikram
: On
August 09, 2008 8:32 AM
said:
|
thanks 4 the video.......
|
|
|
|
aslesh
: On
August 11, 2008 5:05 PM
said:
|
Stagner, Nice work.. I have a question. when u clcik on the browse button is it possible to show up another computer(i,e instead of uploading it from our computer i need to upload some documets which were located in another server).. how to do this ? does FTP do anything with this?
|
|
|
|
AZtraveler
: On
August 13, 2008 6:08 PM
said:
|
Great video series and thanks for the information. I watched all 4 and am now trying to incorporate this into our Intranet and can get this to work with the sample code provided, but am running into problems. We have a master page that we use for header content on our site. As you probably know, master pages have the <asp:Content> tag in them. The question I have is can this work using the MasterPage functionality?
|
|
|
|
muhammed
: On
August 14, 2008 1:54 AM
said:
|
|
|
|
|
|
gajanan.shete
: On
September 21, 2008 2:09 AM
said:
|
Does any one knows how to use inlinecode variable in codebehind i try it,but compiler replay me 'due to protection level u can't access variable or method.', is there any solution for this
|
|
|
|
mbgczhao
: On
October 21, 2008 11:55 AM
said:
|
Does anyone know how to execute a EXE thru a web application? I knew ASPNET is the user for web app, maybe I have to do something on this user's right. But how to? Thanks.
|
|
|
|
|
|
bnsp4u
: On
October 29, 2008 10:44 PM
said:
|
Really this video is cool. where can I find the another 3 video because i didn't find here except first and last one. Thanks..
|
|
|
|
TecFX
: On
November 01, 2008 12:53 AM
said:
|
This was a great tutorial. Does one exist for adding the FileUpload component to a DetailsView? I have been searching for a couple of days now and could really use the help. Thank you in advance.
|
|
|
|
djafer
: On
November 11, 2008 1:11 PM
said:
|
Güzel çalışma ne diyelim.
|
|
|
|
funluckykitty
: On
November 20, 2008 4:39 PM
said:
|
Very easy to follow.. works like a charm.
|
|
|
|
ersheido
: On
December 11, 2008 5:33 PM
said:
|
Thanks. Can you describe how to restrict the file browsing window to specific file extensions? For example, if you want to look only for .pdf or .doc files on the client PC. How do I do that? I see a lot of sites doing it, but I can't find an obvious way in the control.
|
|
|
|
hanuman_guntupalli
: On
December 18, 2008 3:54 AM
said:
|
Cool video.. but i want to upload file using sreams.. because my file size is large... can any one help... thanks in advance
|
|
|
|
bohunt
: On
February 13, 2009 3:33 PM
said:
|
Fantastic - easy to follow! Thanks.
|
|
|
|
sandhyavanga
: On
February 16, 2009 10:40 AM
said:
|
Hi, i have uploaded images into database,it works good.But i think it takes so much system memory.So what i want to do is, i want to store the image/video path in DB and the file in file system.Can any one tell me how to do this?
|
|
|
|
lukes123
: On
February 19, 2009 5:03 PM
said:
|
Joe, You say about storing the upload folder variable in a database. Is there any video or tutorial on how I can do this? Thanks
|
|
|
|
bzeng
: On
February 23, 2009 1:22 PM
said:
|
how can you upload file by using fileload controls under ScriptManager/UpdatePannel?
|
|
|
|
whiteshadow86
: On
March 07, 2009 6:46 AM
said:
|
nice video. i want to use my mobile browser to upload file from the phone memory. is there anyway i can do that?
|
|
|
|
CSharpUniversity.com
: On
March 12, 2009 8:47 PM
said:
|
Somebody asked about storing images in the database versus storing them on the file system and just keeping the file path in the database. One technique you can try to see if it works well for you is to 1) create a unique file name with the System.GUID object (e.g. 020261de-0627-43a2-b4f4-a0911488e7f5.jpg) 2) save the file to a relative path using the MapPath method 3) save the unique name generated in step 1 into your database table I would also recommend that you perform some kind of validation to ensure that the uploaded file at least meets some requirements like a certain maximum size or is a particular file type. You want to avoid situations where users can easily execute DOS attacks by uploading large and bogus files. To perform this type of validation you can add some CustomValidator controls to your web form. Check out this post for a good example: http://www.csharpuniversity.com/2009/03/05/uploading-files-and-validating-them-using-the-aspnet-fileupload-and-customvalidator-controls/
|
|
|
|
MJB1980
: On
March 15, 2009 5:20 AM
said:
|
Good video! Oddly enough - this worked great locally... but as soon as I uploaded and tested it live it gave me big Error. Something about setting the right permissions. Still haven't resolved that one but I'll dig around through the forums! Thanks again for the video!
|
|
|
|
axsubram
: On
April 13, 2009 2:18 PM
said:
|
Thanks for the nice video. It had optimal speed and a good way of introducing the concept and explaining Quick question - Is this the best way to upload files of large size (e.g. 1.5-2gb etc) or are there any better ways.. We have a need to upload files to the server (intranet), and we frequently get timeout,server busy kind of errors. Any other way to upload large files and not lose connection/timeouts ? Thanks a lot Anand
|
|
|
|
axsubram
: On
April 13, 2009 2:19 PM
said:
|
Thanks for the nice video. It had optimal speed and a good way of introducing the concept and explaining Quick question - Is this the best way to upload files of large size (e.g. 1.5-2gb etc) or are there any better ways.. We have a need to upload files to the server (intranet), and we frequently get timeout,server busy kind of errors. Any other way to upload large files and not lose connection/timeouts ? Thanks a lot Anand
|
|
|
|
|
|
ppalanikumar
: On
July 01, 2009 7:26 AM
said:
|
I am cannot download from microsoft website. Ihe download link is not work.Please give another download link
|
|