Hello,
I have two open sessions on different browsers (Firefox, Opera). Both of them run on different user accounts. When I navigate through the administration page, the cookies are ok. But when I try to upload some images, the uploading php script receives the same cookies as in Firefox.
This doesn't happen if I use Internet Explorer ...
Hi,
How can I create a CustomValidator on Client Side for validating my file path from FileUpload?
Thanks
...
I am trying to go to a view with a speicifed batchId parameter wrapped in a ViewModel, pick a file to upload, get the uploaded file back and store the file data w/ the associated BatchId value in a database.
When the form is submitted I don't know how to get back the viewmodel and the PostedFileBase so that I can get the BatchId value.
...
We all know that App Engine limits you to 1 MB for most input/output requests. But with the recent BlobStore API, you are allowed to upload large files in full by POSTing to a dynamically generated URL.
According to the sample, here is what the HTML form would look like:
self.response.out.write('<html><body>')
self.response.out.write('...
I am trying to use Yii's ActiveForm to create a basic registration page with an image upload field. However, I am running into problems. I am using the following code to create the form tags:
$form=$this->beginWidget('CActiveForm', array('id'=>'activity_form', 'enableAjaxValidation'=>true, 'stateful'=>true, 'enctype'=>'multipart/form-...
i need to upload file without using a form. i need to do this to make automated upload if a user click a button...
i have create $_FILES['thefile']['name'] and $_FILES['thefile']['tmp'] but it still not working. is it possible to do uploading without a form ?
btw, i use wordpress. and wp use is_uploaded_file() to check whether the fil...
I need to POST a request. The request has 3 parameters, 'email_id' , 'location' and 'image_data'. The value for 'image_data' contains NSData jpeg representation of a UIImage. The request must be submitted using a content type of multipart/form-data. How can I create the NSMutableRequest for posting this request? How should I set the boun...
I'm using mail() function on my feedback page.
There are 3 fields: Name, Mail and Message.
Want to add new field - File, with the ability to upload files and send them to my email.
Some limits:
.zip and .rar files only allowed
file can't be more than 200kb in size.
How to do this and prevent security holes?
...
The title says it all.
...
I have an ASP.NET web application that has a fileupload control to allow users to upload an excel file for it to read.
I'm using an OleDBConnection and I feel like my connection string or querystring is wrong since the app keeps throwing OleDBExceptions at me (ouch!). What would be a good way to save or access the uploaded files?
Here...
There is a form with enctype="multipart/form-data". In the form, there are several input text fields, a file field and a "save" button. I want to replace the standard html file field with a "drag-and-drop-uploading" widget. When a user drag and drop a file from the desktop to the widget, it shows the filename (and maybe other information...
With the following code:
protected void Button1_Click(object sender, EventArgs e)
{
if (FileUpload1.HasFile)
{
string fileExt =
System.IO.Path.GetExtension(FileUpload1.FileName);
if (fileExt == ".jpg" || fileExt == ".jpeg" || fileExt == ".gif" || fileExt == ".png")
...
i am using file upload control in server side when iam trying to get the file it is showing no file present
<asp:FileUpload ID="upldDocument" runat="server" />
string fileExtension = System.IO.Path.GetExtension(upldDocument.FileName);
if (upldDocument.HasFile)
{
}
i am getting a empty string as file extension and upldDocument.HasFile ...
It's working in all other browsers, and it was working on IE8 before, but I did some code cleanup and moved some things around, and now its submitting this form to it's self. It's an "ajax" uploader (yes, not really ajax, but you know what I mean)
Here is the JS:
function file_upload($theform,item_id){
$theform.attr('ACTION','io.cf...
So, this is strange, and it was working for me about a month ago, before I made a bunch of code updates. Anyways the issue is the live submit handler wont even run in IE8, however, if i run it on a button click, it works. See below:
HTML
<label>Add Attachment</label>
<form class="file_upload" method="post" enctype="mult...
I know, how to use upload. Is I think right, that files is in temporary folder in HTTP server after upload?
...
Using richfaces fileUpload component has some issues when displaying custom labels containing chars like ö, ä, ü ...
DO_ADD=Hinzufügen
<rich:fileUpload id="upload"
fileUploadListener="#{controller.upload}"
maxFilesQuantity="1"
immediateUpload="true"
allowFlash="false"
acceptedTypes="csv"
addControlLabel="#{msgs.DO_AD...
hi i just want to know that if i am using move_uploaded_file function and use two argument first as the name of file and second as the destination.
Normally i have uploaded many files with class uploader but now i want to give the destination as http://www.mydomain.com/testing/
Although i have given 777 permision to this folder but when...
As it states, I need to upload a file, and then use it in the pre_init event of a second page. Server lifecycle prevents this (as pre_init happens before the event handlers), that's fine, so the only way I can see around is to use page1 to upload the file, then do a response.redirect to the page2 where I can use the file in the pre_init....
I am looking for a way to transfer files from a server to Amazon S3 bucket, without first downloading the files to my computer. All of the files I plan to transfer can be accessed publicly (e.g. http://something.com/file.ext). Everything I tried only allows me to directly upload files from my Mac to S3.
P.S. Although I have access to wi...