|2-way MMS routed to external HTTP virtual folder||Search|
|SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through April 08, 2009 » 2-way MMS routed to external HTTP virtual folder||« Previous || Next »|
I have client who request me to route all Receiving MMS to external HTTP URL, instead of FTP, he advice to use webDav protocol on HTTP virtual directory that all received picture will be uploaded to his remote server
Should I provide the HTTP to operator http://ip:port/path/username:Password
My question is the difference of NowSMS MMS receiving URL which has to be http://ip:port/mm7/username:Password
is this "mm7" make difference?
Please advice as always
|Des - NowSMS Support
Post Number: 486
I don't know any technical details about the webdav protocol. It's definitely not something that we have any support for.
However, there is an alternative that you might be able to work with. It is described here:
Or, just download the following ZIP which has a PDF of the information in the above link, along with a PHP script example.
Basically, there is an interface in NowSMS that it can route received MMS messages to a web server using HTTP "file upload". The ZIP file includes an example PHP script that processes the HTTP "file upload", and puts the received message into a directory structure on the web server.
So they'd need to run a PHP script on their web server to receive the MMS messages from you.
(Technically it doesn't have to be a PHP script ... PHP just has some very simple APIs for processing HTTP file uploads, so we used PHP to build this example. Even if you don't know much PHP, it's not that difficult to work with this script as a starting point.)
Post Number: 2
Nice move for your helpful support.. actually the WebDAV is just a windows explorer base protocol allowing HTTP files/Folder upload as the Open "as web folder" of IE does.
The beauty of your solution which I should try is the web server script automation that I should use. unfortunately I should see how I can mean this PHP script in ASP as am working in ASP/ASPX
I should update you as I found NowSMS is responding alot to Application/Service/content prividers' needs..
Also I will try the folder option if the remote server will receive the multi-parts MMS files
|Des - NowSMS Support
Post Number: 497
The "HTTP file upload" format that we use is also known as the MIME type "mutipart/form-data".
It is the same format that is used if you use an INPUT control with "TYPE=FILE" in a web form (where the web form lets you choose a file to upload).
There is probably an ASP script that you can find somewhere that can process this type of file upload, as it quite standard.
We only did PHP for the example, because we know it a little bit better. It is possible to add PHP to an IIS server. But maybe you will also find an ASP solution.