I want to upload a file with help of FileUpload control, in which, i want to save the file with a specific name or say a name entered in a textbox on a same page.
for ex, if textbox contains "ABC" then the files should be uploaded with abc.jpg name.
how can i restrict user to select only specific types of file in a fileupload control?
also, how can i save an image in 3 different sizes at time of uploading?
when user selects an image, it should be saved in some specific size in a specified folder with the name as in textbox,,,
I want the code in c#.net...i hav got the way to save the file with whtever name i want. i just want to know ho to store images in different size and how to use filter in fileupload control..
hii dude
you could upload a file in a folder by a random name and and the name should be store in the data base with their path
and whenever you need image you can call database path
and you got your image
thats it
The only problem left is, how to filter the upload control. its possible by coding, like checking the posted file's extension, but is it anyway possible to provide facility in the upload control itself?
Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.
This thread is more than three months old
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.