将图像/音频从iPhone上传到服务器无法发送大图像 [英] uploading images/audio from iPhone to server not able to send big images

查看:127
本文介绍了将图像/音频从iPhone上传到服务器无法发送大图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道我的iPhone代码或SERVER是否有问题。

I dont know if it is a problem with my iPhone code or SERVER.

我使用NSURLConnection将图像/音频从iPhone上传到服务器。如果图像和音频的大小小于60KB,则上传得很好。

I am uploading Image/Audio from iPhone to server using NSURLConnection. The images and audio get uploaded just fine if their size is less than 60KB.

如果超过60KB,我会从服务器收到400 Bad Request响应。
我不确定发生了什么。我很无能,有人可以帮助我

If it is more than 60KB, I get a 400 Bad Request response from the server. I am not sure whats happening. I am clueless can someone help me

我的网络服务器是在Windows 2008 R2上运行的IIS。 Web服务是在.NET中开发的

My webserver is IIS running on Windows 2008 R2. Web service is developed in .NET

问候

推荐答案

这是一个服务器问题因为我可以在.NET服务器上传3.5 MB限制的视频。

It's a server issue as I can upload videos of a 3.5 MB limit on the .NET server.

这篇关于将图像/音频从iPhone上传到服务器无法发送大图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆