2-way MMS routed to external HTTP virtual folder

2-way MMS routed to external HTTP virtual folder Search 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 »
Author Message
mSalim
Posted on Thursday, February 19, 2009 - 10:59 am:   

Hello All,

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
Salim
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 486
Registered: 08-2008
Posted on Thursday, February 19, 2009 - 03:01 pm:   

Hi Salim,

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:

http://www.nowsms.com/support/bulletins/tb-nowsms-016.htm

Or, just download the following ZIP which has a PDF of the information in the above link, along with a PHP script example.

http://www.nowsms.com/download/php2waymms.zip

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.)

--
Des
NowSMS Support
mSalim
New member
Username: Salim

Post Number: 2
Registered: 04-2005
Posted on Thursday, February 19, 2009 - 03:18 pm:   

Hi Des,

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

To YOU..
Salim
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 497
Registered: 08-2008
Posted on Saturday, February 21, 2009 - 02:31 am:   

Hi Salim,

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.

--
Des
NowSMS Support

Login Login / Register Search Search   Home Home
Logout Logout Topics Topics Search Last 1|3|7|30 Days   Previous Page Previous Next Next Page