Hello,
Having problems testing a (working) upload in my Rails app (using 2.3.8):
class ProfilesControllerTest < ActionController::TestCase
test "creates a new profile" do
fixture_image = fixture_file_upload("#{RAILS_ROOT}/test/fixtures/files/avatar.jpg", 'image/jpeg')
post :create, :profile=>{:username=>'johndoe',
...
How to test fileupload using SOAP UI.
There is a service which accepts file as input
I want to simulate that using SOAP UI
It gives me .
content should be inline .
...
I have ASP.NET form with an upload control for users to post an image. On the server I load that image (using the Bitmap class) and resize it.
Is there any danger in doing that when users upload malicious or affected files or will the code just throw an exception at some point and stop the whole process?
...
I'm using TinyMCE ( http://tinymce.moxiecode.com/index.php ) as an editor on a webproject running on a Java-platform (Tomcat, Spring)
There's a filemanager on the webpage for TinyMCE:
http://tinymce.moxiecode.com/plugins_filemanager.php
But as stated on that page:
"The MCFileManager is a online file management utility, available as PHP...
Hi,
I have a upload system , where one can upload images, I want to implement an simple API system, where they can make a POST request, and get the result in simple xml.
I currently handle the upload via a php script which has a form, where users can browse and upload the file,the script then redirects to a page where they can get the...
I have a form for uploading images. I'd like to disable submit button, until user selects an image to upload. I'd like to do it with jQuery. Currently I have a JavaScript that prevent user from submitting the form more than once by disabling it on submit. It'd be nice to combine this functionality with the new one.
Here's what I've got ...
I am a student who needs help in uploading a zip file that contains CSV file into the GAE Server using java.
I am currently using uploadBean to upload my zip file in my server (Tomcat,localhost). Here is the code:
UploadBean upBean = new UploadBean();
upBean.setWhitelist("*.zip");
upBean.setOverwrite(true);
String path = getServletCon...
I made a small piece of code to upload a file and then resize it with imagemagik. I am using the system("command") function to call imagemagik to resize the image, but the output is a file of size 0 bytes. any idea what could be going wrong?
...
I am building a file uploader that also shows the current progress, so I am trying to override the make_file method of the cgi.FieldStorage class, so that the current transferred data size can be logged. The problem is my method is not being called for some reason. Perhaps I misunderstood how this is supposed to work:
#!/usr/bin/env pyt...
Experts,
I use ajaxFileUpload for my image upload. I created an API using codeigniter to do the image cropping and save the image to the server and return a xml response. I configure the ajaxFileupload to use the API and it works just fine in Firefox and other browsers but not in IE.
The ajaxFileUpload always returns success but it doe...