How to upload file from mobile app?

Hi,

I am going to record audio to a file such as an mp3 or 3gp file on the device such as a phone. I then want to upload the file to a URL such as an aspx page. Can someone show me how to do this? Will it work for both Android and iOS?

In VB.NET I would do the following:

Using wc As New System.Net.WebClient()
wc.UploadFile(“http://127.0.0.1:80/Default.aspx”, “c:\text1.jpg”)
End Using
[import]uid: 184193 topic_id: 32247 reply_id: 332247[/import]

You can do it with network.request() as a POST type multi-part webform or you can get Graham Ransom’s FTP handler from the Community code.

[import]uid: 19626 topic_id: 32247 reply_id: 128327[/import]

You can do it with network.request() as a POST type multi-part webform or you can get Graham Ransom’s FTP handler from the Community code.

[import]uid: 19626 topic_id: 32247 reply_id: 128327[/import]