I am using Ruby, RestfulX, and Paperclip to upload a File, using the FileReference class.
I get the response from Paperclip in the terminal that says I've successfully saved the file, but it appears Flash never gets what it needs to know the upload has been successful.
I'm getting this error if I try to upload again while the CursorMan...
I've just created an upload page on an ASP.NET MVC application using the standard HTML for file uploading and it's working great using FireFox, IE8, Chrome, and Opera but it won't work for IE6 or IE7.
Anybody know of any differences in IE6/7 that could be causing this to fail?
...
I am strictly following the answers from http://stackoverflow.com/questions/125306/how-can-i-upload-a-photo-to-a-server-with-the-iphone.
This part below is the part that get called when my button is pressed.
NSLog(@"buttonPressed: %@", [ConnectServerTryViewController getPathForFile: @"myPic.png"]);
[[EPUploader alloc] initWithURL:[NSUR...
I have an application where we're having our clients upload a csv file to our server. We then process and put the data from the csv into our database. We're running into some issues with char-sets especially when we're dealing with JSON, in particular some non-converted UTF-8 characters are breaking IE on JSON responses.
Is there a way ...
I have a intranet hosted web application where the user will upload a text file with space delimited data in 5 columns. I don't wish to save the file so I wanted to just use it in memory. I tried many different examples off the web and none worked. Finally a co-worker showed me how to do this. Here is the code and I'm wondering if there ...
Hi,
i am quite new to Grails and on the lookout for a plugin to attach files (images) to a model. something like a uploaded avatar-picture for a user.
in Ruby on Rails i used the fantastic Paperclip plugin. Someting like that would be absolute awesome.
Thanks for your help.
...
I have a FileUploader control in my web form. If the file being uploaded is already present, I want to delete it, and overwrite it with the newly-uploaded file. But I get an error, as the file is in use by another process, and thus the application can't delete it. Sample code:
if (FUpload.HasFile)
{
string FileName = Path.GetFileNam...
I'm doing file uploads using Django's File Upload mechanism with a custom handler (by subclassing django.core.files.uploadhandler.FileUploadHandler) which does some additional processing in the
receive_data_chunk(self, raw_data, start) function.
I was curious when the handler is actually called (i.e. after the file has been completely ...
For the record, I'm working on legacy code and I'm trying to plug a new feature without breaking everything. Right now I have a bunch of files on my server as such:
myapp/public/temp/myfile.doc
The thing is that I want to create a Docfile object from these files in a controller action.
Here is the trimmed down Docfile class:
class ...
var fu1 = document.getElementById("FileUpload1");
how can i get the filename of fileupload control with id FileUpload1
...
I have an application in VC++ 6 (not MFC) , feature requires it to upload a file to a web server on regular basis. Web server is under our control, anonymous upload scripts/page are already setup that would accept a file manually.
How to program in VC++ 6 to upload? which classes to use?
I understand it is much possible with smtp and f...
Hi!
In my site, user want to upload a pdf file and I have to save it into my own server. I don't need the content to be saved. I want the exact file to be copied into my server where the published file of the site exists.How to do this?
...
Asp.Net has an upper limit for file uploads. I try to catch this situation on the server side. According to the documentation I found, it should be possible to override Application_Error in Global.asax, but it does not work for me. The second option would be to override OnError of the receiving page, but that also does not work.
Can any...
i have retrived the pdf file from Database and i linked it to a tag to open pdf file using link. now i want to give the open/save dialog box before a pdf file opened . - in javascript(by using onclick event in tag to call the javascript)
...
I am using Cbeyond (www.cbeyond.com, some of you might be familiar with them) as a PHP Enabled webhost, I'm having issues with my PHP Upload functions, when I check as follows:
$error = $_FILES['uploadedfile']['error'];
echo $error;
I get "6", for the error message: "UPLOAD_ERR_NO_TMP_DIR"
I have a /tmp directory at my root, here i...
Hi,
i check the file for its extension, and mime type - is there anything else i can be doing to help make file uploads safer?
its for an avatar (so all the images are in one folder). i was thinking about using htaccess to forbid any php execution just incase some php file found its way in there. what do you think?
...
Hi,
I have a very basic upload script, probably lifted straight off the php.net/move_upload_files function page.
move_uploaded_file() is failed because it cannot find the tmp file in the tmp folder. But I KNOW that it is being put there, but is removed before move_upload_file() can deal with it in my script. I know it is being put ther...
been trying to upload music onto a server for my website, to no avail, but strangely enough
the script works fine when uploading pictures.
if(copy($_FILES['musicFile1']['tmp_name'],"uploads/".$_SESSION['username']."/item".$s_id."/".$filename1.""))
{
if(chmod("uploads/".$_SESSION['username']."/item".$s_id."/".$filename1."", 0664...
Hello! I have a problem with using binary content of file. I want to pass web method content of file. I retriev it from fileupload control on my page via javascript function getAsBinary(). But error appears in web method, when I try to create example of class Image.
So, I have the page (.aspx) with fileupload control and scriptmanager. T...
Hi folks, we're currently creating an online music store that allows, only for administrators, to upload songs and previews on website. The problem is that uploading songs to our website take about 3 or 4 minutes. Is it normal? So can someone tell me ways I can tell to the website's hosters to check because our client not realy happy to ...