Android Question how to upload mp4

tariqyounis

Member
Licensed User
Dear All;
I am able to upload a jpg file to a php using the function j.PostMultipart..., I wonder how can I use it to upload a video.mp4 file.
can't wait to solve this issue.
 

PassionDEV

Well-Known Member
Licensed User
If you are able to upload file to your php script then this will apply on all files formats. Unless your php script restrict the file format to be uploaded.
 
Upvote 0

mmanso

Active Member
Licensed User
Hi there,

This is the code I use to upload images... it should work with mp4 also...

B4X:
Dim job1 As HttpJob
job1.Initialize("", Main)
job1.PostFile("http://you.website.com/upload.php", "yourFolder", "yourFile.mp4")
 
Upvote 0
Top