File name change with download link

Author Message
Muhammad Tasneem 10/06/2012 08:42 am
I have download a mobile website which has some .mp4 .3gp video files. These files place on other server. These files were download but there name (abc.3gp or xyz.mp4) changes into its full download link example:

http://cdn1.mobile.spankwire.phncdn.com/201111/11/348734/144P_146K_348734.3gp?sr=2000&int=307200b&nvb=20121006104552&nva=20121006124552&hash=0485f9351a9c1fdd8d220

http://cdn1.mobile.spankwire.phncdn.com/201111/11/348734/180P_194K_348734.mp4?sr=2000&int=307200b&nvb=20121006104552&nva=20121006124552&hash=0d91c1a4baf6e80c70a69

In online browser when I click the link it is showing the download dialog with correct file name+extention but after download it in POB when I click the link it is showing the download dialog with the name like "144P_146K_348734.3gp@sr=2000&int=307200b&nvb=20121006104552&nva=20121006124552&hash=0485f9351a9c1fdd8d220" after saving it does not open in its associate application because its changed.


What can I do to resolve this issue?

Thanks in advance

Oleg Chernavin 10/09/2012 05:18 am
I am sorry for the late answer. You may use URL Substitutes feature to remove the symbols after the extension.

Select the Project, click the Properties button on toolbar. Then go to the Parsing section and click URL Substitutes. Add two rules:

URL:
*
Replace:
.3gp?sr=
With:
.3gp
Apply To:
Filenames

URL:
*
Replace:
.mp4?sr=
With:
.mp4
Apply To:
Filenames

Then redownload the Project.

Best regards,
Oleg Chernavin
MP Staff