iOS Question httpjob postmultipart for uploading audio file

tufanv

Expert
Licensed User
Hello,

I want to upload an audio file recorded within my app which is located in file.dirdocuments with name audio.m4a
As I searched in the forum for examples , I saw Erel advises to use http job postmultipart for this. Postmultipart requires:

job.PostMultipart(link As String , namevalues As Map,files As List)

Namevalues can be empty ok. files as list is the name of the files I think , so i will create a list and add the audio.m4a file to list. My question is about link. Do i need a php file to upload the audio file to wanted directory ? Is there an example how this file should be. Or is there an easy way to upload audio file to a requested directory ?

Thanks
 

tufanv

Expert
Licensed User
Upvote 0
Top