It is currently April 27th, 2024, 2:01 pm



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: How to set a custom name of folder/file before compressing.
PostPosted: September 23rd, 2023, 9:47 pm 

Joined: September 23rd, 2023, 9:29 pm
Posts: 3
hi, how can I make TC set a custom name for the file or folder before compressing it and uploaded to host,
I try replacement section to make this but when the file or folder compressed and uploaded to the host it upload with the original name of the file/folder.

are there any way to make this ?

thanks.


Top
 Profile  
Reply with quote  
 Post subject: Re: how to set a custom name of folder/file before compressi
PostPosted: September 24th, 2023, 6:42 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
Hi,

"TEMPLATES" tab -> choose needed post type tab -> just change {#fileUploadName#} sub-template to what you need.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: How to set a custom name of folder/file before compressi
PostPosted: September 24th, 2023, 10:47 pm 

Joined: September 23rd, 2023, 9:29 pm
Posts: 3
hi, i try the steps you show me and sadly it didn't work


Top
 Profile  
Reply with quote  
 Post subject: Re: How to set a custom name of folder/file before compressi
PostPosted: September 25th, 2023, 7:04 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
It works fine. Just tried.

Do this: "Help" menu (at the top) -> "Support" -> "Compress" -> send me the file which it opens (via PM on any file host).

Will review your settings.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: How to set a custom name of folder/file before compressi
PostPosted: September 25th, 2023, 4:46 pm 

Joined: September 23rd, 2023, 9:29 pm
Posts: 3
hi there, i send the support compress file please check the issue.

thanks.

Image
Image


Attachments:
File comment: support compress file
[2023-09-25 19.28.30] userFiles.zip [23.21 KiB]
Downloaded 39 times
Top
 Profile  
Reply with quote  
 Post subject: Re: How to set a custom name of folder/file before compressi
PostPosted: September 25th, 2023, 5:23 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
Everything is correct and works fine.

You set the fileUploadName template to be:
Code:
helloWorld-{#folderName#}


In your screenshot it's as you wanted:
Code:
HelloWorld-Test_Themacreate.rar


"test_themeCreate" is your folder name (you set in the template yourself to include folder name).

If you needed filename just set it to:
Code:
helloWorld-{#fileName#}


And it's capitalized because you enabled that option in "Settings" -> "Process" -> "Files".

Everything is working correctly as you have in settings.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC