|
| 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.
|
|