upload

Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '57x57' pixels [duplicate]

送分小仙女□ 提交于 2019-11-28 22:44:14
This question already has an answer here: 'Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format' 16 answers I was trying to update my app in Appstore and I have started to receive this failure message. I checked over the internet for any solution, but none of them work. I have not changed my icons so this failure should not appear at all. I have checked the plist file, but always the same issue. The bundle is theoretically missing two icons 57x57 and 72x72 sizes. Renamed icons and setup the whole icons

Upload a file using an API PUT request

穿精又带淫゛_ 提交于 2019-11-28 22:36:17
问题 I'm building an API in PHP. One of the methods is place.new (PUT request). It expects several string fields, and it also expects an image. However I can't get it working. With a POST request it was easy, but I'm not sure how to do it with a PUT and how to get the data on the server. thanks for the help! Test CURL code $curl = curl_init(); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl,

File compression before upload on the client-side

Deadly 提交于 2019-11-28 22:24:13
问题 Basically I'll be working with large XML files (approx. 20 - 50 MB). These files needs to be uploaded on a server. I know it isn't possible to touch the files with javascript, nor to implement HTTP compression on the client-side. My question is that if any solution exists (flash / action script) that compresses a file and has a javascript API? The scenario is this: Trying to upload 50 MB XML file Before upload a grab it with Javascript and send it to the compressor. Upload the compressed file

Does Amazon S3's HTTP Uploads feature support web-hook style callbacks?

筅森魡賤 提交于 2019-11-28 22:23:50
问题 When uploading files to Amazon S3 using the browser http upload feature, I know I can specify a success_action_redirect field/value that will tell my browser where to go when the upload is done. I'm wondering: is it possible to ask Amazon to make a web hook style POST request to my web server whenever a file gets uploaded? Basically, I want a way of being notified whenever a client uploads a new file, so that my server can process the upload. I'd like to do this without relying on the client

My php site was hacked by codes uploaded as image..?

二次信任 提交于 2019-11-28 21:40:29
问题 Yesterday my site was comprised. The attacker changes the index.php file to their own (with all their glory messages and greet). I've notified the hosting company about this (we are running on a dedicated server), and on my part, I'm trying to fix anything that seems to be the cause, cause I'm still unable to point how exactly did our server was attacked, but I think I've found certain script-based loopholes that could possibly be the culprit. Our site has an image uploader form, but all

Send a file with XmlHttpRequest: Streaming?

我的未来我决定 提交于 2019-11-28 21:33:33
问题 I am trying to upload big files with drag and drop. I have this piece of Javascript code: xhr = new XMLHttpRequest(); xhr.open('POST', url, true); xhr.setRequestHeader('X-File-Name', file.name); xhr.setRequestHeader('X-File-Size', file.size); xhr.setRequestHeader('Content-Type', file.type); xhr.send(file); where url is a string of the target url and file is a Blob (according to http://www.w3.org/TR/XMLHttpRequest2/#the-send-method) which I have retrieved after a file drag-drop. This code

Uploading file as stream in play framework 2.0

爱⌒轻易说出口 提交于 2019-11-28 20:40:46
I'm writing a play 2.0 java application that allows users to upload files. Those files are stored on a third-party service I access using a Java library, the method I use in this API has the following signature: void store(InputStream stream, String path, String contentType) I've managed to make uploads working using the following simple controller: public static Result uploadFile(String path) { MultipartFormData body = request().body().asMultipartFormData(); FilePart filePart = body.getFile("files[]"); InputStream is = new FileInputStream(filePart.getFile()) myApi.store(is,path,filePart

Upload and crop image before sending it to the server [closed]

喜你入骨 提交于 2019-11-28 19:33:23
Is there some client components (jquery/swf) that will give the possibility to upload and crop (user should be able to select the area to crop) an image in the browser and then send the cropped image to the server? I'm on asp.net-mvc (not sure if it matters) jcrop Jcrop is the quick and easy way to add image cropping functionality to your web application. It combines the ease-of-use of a typical jQuery plugin with a powerful cross-platform DHTML cropping engine that is faithful to familiar desktop graphics applications. The Jcrop Image Plugin might be good at displaying the cropping UI and

phpMyAdmin: Can't import huge database file, any suggestions?

偶尔善良 提交于 2019-11-28 17:55:53
I recently got a new computer, so I thought I'd move all my web projects over. Moving the files was easy, however, moving the database seems to be a bit harder. I exported ALL databases using phpMyAdmin, and saved it to localhost.sql. Then I tried to import it on my new computer also using phpMyAdmin, and I get the error: No data to import. Either no filename was sent or the filesize exceeded the maximum allowed size. See FAQ 1.16. (This was translated from Swedish) I took a look at the FAQ, as advised. And they mentioned a tool called BigDump. So I downloaded it, and after looking at the

How to send additional data using PLupload?

我的未来我决定 提交于 2019-11-28 17:26:35
I'm using plupload to make an ajax file uploading. Now the plupload.Uploader class has many options but none are additional data. For Example : var uploader = new plupload.Uploader({ runtimes : 'gears,html5,flash,silverlight,browserplus', browse_button : 'pickfiles', container : 'contact_container', max_file_size : '10mb', url : 'upload.php', flash_swf_url : '/plupload/js/plupload.flash.swf', silverlight_xap_url : '/plupload/js/plupload.silverlight.xap', filters : [ {title : "Image files", extensions : "jpg,gif,png"}, {title : "Zip files", extensions : "zip"} ], resize : {width : 320, height :