linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] File transfer lft.php


From: Bùi Cường
Subject: Re: [Linphone-developers] File transfer lft.php
Date: Sun, 25 Jun 2017 08:12:02 +0700

Hi William Anderson,

I have problem to connect from the application to my domain to upload photo.
Anyone have a working php? or how to setup the script correctly?

This script from  https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/File%20transfer/ is correct. I think your problem is the script permissions (If you deploy your webserver on *nix) or the path to upload folder (It must correct and has granted enough permissions (read/write).

Also, hope we could expand to ANY FILE type , same as new feature of whatsapp.

The script from https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/File%20transfer/ doesn't limit your file types (It takes file's extensions but doesn't do anything: $ext= strtolower(pathinfo($rcvname, PATHINFO_EXTENSION));). However you need to limit some file type to prevent hacker to upload unexpected files (.bash, .php ...)

However, upload module from your application need to change to allow upload other files besides photo.

Hope to help you something!





Bùi Đình Cường

Email: address@hidden 
Skype: cuongdinhbui 
Mobile: (84) 982 593 866
________________________________________

2017-06-24 22:07 GMT+07:00 william anderson <address@hidden>:
Hello,

I was setting up a private server with the script php similar to:
https://www.linphone.org:444/lft.php
Based on:
https://wiki.linphone.org/xwiki/wiki/public/view/Lib/Features/File%20transfer/

I have problem to connect from the application to my domain to upload photo.
Anyone have a working php? or how to setup the script correctly?
Any help on the setup?
I have it on a domain access by port 80 (normal internet)

Also, hope we could expand to ANY FILE type , same as new feature of whatsapp.

Regards,
William

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]