Hi guys,
Thks in advance,
PSK
Why do you want to store them in a database? Why not just save them on the file system? Putting large files in a Database has some gotchas.|||I could save them to database ( blob) but I dont know how to retrieve them and play in Win media player.
I can also go with file system but how do I transfer the file to the server ?( I know the full path of the file in the client end as I save it in a temp directory. The client doesnt require to select the path of file ).Now how do I upload it to server when submit button is clicked.
Thanks,
PSk
|||but how do I transfer thefile to the server ?The client doesnt require to select the path of file ?
I don't think this can be achieved.Do you think it is secure If you upload client files into the server without noticing the user?
For security reasons ,filepath only can be selected by users.
|||Indeed, there is no way using ASP.NET or HTML to copy a file to a server without a browse for file dialog.|||I apologize for the off-topic post, but I haven't received a response to my email to you, Kevin, and I'm guessing that it's something you wouldn't mind talking to me about, see my .sig. :-)
Thanks,
Steve Dybing
MVP Lead | ASP.NET | Infrastructure Architect | Solutions Architect
steve.dybing@.microsoft.com
https://mvp.support.microsoft.com/
Sorry for the late reply
Thanks,
PSK
|||Actually , the active X control saves in a temporary location. I then obtain the file path from that location.Thanks,
PSK
|||There is no way to transfer a file to a server without "prompting" the user for the file. It cannot be done without another ActiveX control.
|||Okay. So,What if I will pass the file path as a parameter to ASP.Net file upload control and then prompt the user to click the submit button(ie Upload button)?If it can be done, can the file be transfered then?And also wat is the size of the file that I can transfer?I wan to transfer a file size from 1MB to 4MB.Thanks,PSk|||You cannot upload a file without the browse file dialog, and there is no way to preset the file that will be uploaded to my knowledge. You can upload a file as big as you want, but the server will have to be configured for it. ASP.NET has a 4MB maximum response size, so 4MB is the max by default.
No comments:
Post a Comment