rejetto forum

Rename file on download

0 Members and 1 Guest are viewing this topic.

Offline gauravforyouall

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
Hi. i would like to know that if it is possible to rename file when user is downloading that
Like suppose file name is 1.mp3 i want to rename it as 1.1 or 1.2 or anyother thing just when user is renaming it.



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
i'm not sure i understand your need.
you can add 1.mp3 to HFS, then virtually rename it to 1.1
the physical file will stay the same, but it will appear and be downloaded as 1.1


Offline gauravforyouall

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
exactly, this is what i want but i dont want to rename all files myself, as i have lot of files isnt there some way by which files are automaticlly renamed on downloading


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile

Offline gauravforyouall

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
By say number of downloads or any rule, or any fixed file name only let it be getfile.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
hfs has not a feature to let you specify a different name for the same file at every download.



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile

Offline gauravforyouall

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
could you please tell me how to do that? i mean automatically renaming file i am very bad in scripts and i dont follow anything related to this :( so i will need help


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
maybe you misread my previous post: hfs has NOT such feature.
but....wait, it is possible, by making a script associated to the [download completed].
but it will have to physically rename the file.
it takes some time to make it, and i have no time now. i hope someone else will enjoy making the script for you.


Offline gauravforyouall

  • Occasional poster
  • *
    • Posts: 12
    • View Profile

Offline AYEHAN

  • Occasional poster
  • *
    • Posts: 92
    • View Profile
Rejetto related to this topic some how

is it possible that hfs willrename file when user download it

like file is added to HFS as Linkin_Park.mp3 and when user download andsave it it goes to 1.mp3 as a default name right?

cant HFS rename the file(or say add website/host name or other predefined word) and send download to user for example Linkin_Park_rejetto.com.mp3


Possible?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
at the moment HFS can only rename the file, cannot change the name of the download itself.

is it so useful?


Offline gauravforyouall

  • Occasional poster
  • *
    • Posts: 12
    • View Profile
Ya. it would be very useful that if it change name on download .............


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13308
    • View Profile
i meant: if you mind explaining me why it is, i can consider adding it to the to-do-list