Web Forms :: Unable To Upload File?
Jan 9, 2010i am making a module in which i have to uplod a file but unable to make it any one know
View 10 Repliesi am making a module in which i have to uplod a file but unable to make it any one know
View 10 RepliesI am using the File Uploader to upload files. It is working fine. But I receive the page can not be displayed when I try to upload a file>4Mb in size.
View 1 Repliesi am trying to upload files through the ASP.NET File Upload control.
Every thing is working fine, except for the fact that when i try to upload the file on the server i am getting an error: (probably some authorization exception).
do i need to give some rights to the upload up there on the server. If so then for which account and do i need to restart the server after giving rights?
I've been trying to upload a video file on my local harddrive and it seems it cannot process the upload. The .flv MIME type is already registered on my IIS but still it cannot process upload.
View 2 RepliesI am trying to use the fileupload control to upload data. Everytime i browse the data and click on submit button, the "HasFiles" returns false i have checked like this:
[Code]....
I am working on a project, in which I need to upload the .swf file by using ASP.Net fileupload control. But, when I click upload button, it doesn't work even not arises any related error, but "Internet Explorer cannot display the webpage" this error arise which is not related to by problem. While, instead of .swf file, when I tried to upload .doc, .txt, it uploads without any error.
View 2 RepliesHow to know the FileName AjaxFileUpload in the event Click of a Button without going through earnest for this is what I found that is to say that the FileName is only in the event Designed AjaxFileUpload1_UploadComplete.
protected void InsertButton_Click(object sender, EventArgs e) {
lblMSG.Text = ViewState["filename"].ToString();
}
protected void AjaxFileUpload1_UploadComplete(object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e) {
ViewState["filename"] = e.FileName;
}
protected void AjaxFileUpload1_UploadComplete (object sender, AjaxControlToolkit.AjaxFileUploadEventArgs e) {
string filePath = "~ / upload /" + e.FileName;
AjaxFileUpload1.SaveAs (filePath);
}
I had this one working a while back i try to upload file to my root folder it works locally but when i try it from my website i get the following error: exception details: system.bet .webexception. unable to connect to the remote server
the code bomb at the following line
requestStream = uploadRequest.GetRequestStream() 'This is where the exception occurs
fileStream = File.Open(localFile, FileMode.Open)
[code]....
how to upload and save files to oracle database, and view file using C# .net and can upload one or more files in one webform.
View 1 RepliesI want to upload files to the web servers from the client machines.
Can i upload a file on a network share folder using file upload control?
I would like to create a share folder on a file server sitting next to the web server. If i upload the file from the network share folder instead of uploading it from the client machine does it make any difference?
Will the file be stored in a temporary location before copying to the final destination? Where will be the file stored in this case of uploading it from share folder?
I am using the async file upload control to upload to a image file. I want the user to upload only jpg files. And for that I am checking the uploadedfile content type in server side, after the upload complets. I wanna check this, before upload starts. There is one javascript method
function startUpload(sender, args){}
but how to access the content type of the file selected by user.
Im using a file uploader to upoad files to a folder used for upload.But the problem is this folder is a linux folder. I have made it a shared folder so that I can access from windows by samba. So, file transfer is successful when I'm using os but when I try to upload something from my websites uploader to this folder, this process is not successful. I have given all permissions to this folder.Don't know whats the problem.I have used both type of slashes for directory but still it is not successful.
View 4 Repliesi have problem in uploading 2gb video file using file upload control in asp.net, i have limit the maximum file size in web config file then also it shows error any remedy for that...
View 1 RepliesI want to upload a file without using the file upload control in asp.net.
View 1 RepliesI have a file upload area and would like to stop the pop-up box area from closing when the user has uploaded their file. Anyone know how I can do this ? this is the code:
[code]...
I am unable to upload even 75MB file ... it seems MS for some good sake is putting a limit of the file. how can I overcome this issue.
View 12 Repliesi am working on a assaignment in which i have to save the pics of my web user through fileupload control i am using this code:
<p>Dim ImgFileName As String
Dim fileup As Boolean
If chooseFile.FileName <> "" Then
ImgFileName = chooseFile.FileName.ToString()
chooseFile.SaveAs(Server.MapPath("~imagesusers") & ImgFileName)
End If
</P>
this code is working on local pc but when i use it on my web server (on web which is hosted ) this code is not working what is wrong in it.
i am having problem uploading files to the application. When i click on the upload button, it does not upload the already selected file.
View 4 RepliesI have a file upload control on my page with a regular expression validator that handles the file format.
Users can upload files but I want the maximum WIDTH size to be 500px.
If any bigger I need to show a message advising the width is to great and stops them.
I am using asp.net 3.5 file upload control. I can browse the files when click the Browse button. Same time I can't browse the file when enter key is pressed while file upload control is in focus. I am using master page. I am in urgently need of this.I want to browse the files when enter key is pressed while upload file controll is in focus.
View 1 Repliesi have a page that uploads a file, shows what files are availeble in a gridview and allows the user to donwload or delete the files. When i upload a file that file dont shows up in the gridview i need to reload the page to see the file. Theres any command in C# to do that? like when i click to save the file it saves d file and it does a page reload.
View 4 RepliesI need to figure out a way to prevent users from uploading a couple file types in my vb.net page. How can I prevent users from uploading .msg or .gifs during a file upload?
View 3 RepliesAnyone know how to use the file upload control to upload word docs etc
View 3 Repliesi have used file upload on one of my web page..the file path is not shown in google chrome..rest in all browser the path is shown..in google chrome only the file name is shown and not the whole path..i want the path to be shown in google chrome
View 1 RepliesI am planning to create a web page with the name of the student, course,pic and the resume to be uploaded by the user for specified students...
If I upload the resumes of students with same name how to differentiate. Looking for creating a name of the file name randomly as next I'm planning to retrieve the resume via search function to download and view the resumes....
Saving the resumes with same name with differentiate or randomly to save the files with new file name....