XFileSharing Pro - cut file names to some letters?

Message
Author
hscorp
Posts: 143
Joined: Nov 12, 2008 5:36 pm

cut file names to some letters?

#1 Postby hscorp » May 24, 2009 12:58 am

my site has fixed width template

so when the file name is long it destroy the design and make it looks so bad

so i want if the name of the file is long when the site display it in the list is shorten it but in the real file it stay the file name

like

Speed_Connect_Internet_Accelerator_v7.5_Incl_Keygen_and_Patch-anatathe.rar

i want it to displayed as

Speed_Connect_Inter...atathe.rar

but when u click the link stays as original name

Code: Select all

http://www.sitename.com/22nas3cwklbq/Speed_Connect_Internet_Accelerator_v7.5_Incl_Keygen_and_Patch-anatathe.rar.html

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » May 25, 2009 1:32 pm

Interesting...but will be problem on filename check when showing download page.

Now we have validation so filename from URL should be same as filename from DB.

hscorp
Posts: 143
Joined: Nov 12, 2008 5:36 pm

#3 Postby hscorp » May 25, 2009 4:02 pm

i didn't mean to change the file name

what i meant it to make it somehow like that
<a href="http://www.sitename.com/22nas3cwklbq/Sp ... e.rar.html"> Speed_Connect_Inter...atathe.rar </a>
i wish you can understand this

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » May 25, 2009 6:47 pm

Oh I see...ok. Will try to do smth tomorrow.