themaCreator
http://creator.themasoftware.com/forum/

Couple of Queries.
http://creator.themasoftware.com/forum/viewtopic.php?f=4&t=7512
Page 1 of 1

Author:  Brianul [ December 27th, 2023, 9:55 pm ]
Post subject:  Couple of Queries.

Hi Freddy,

Thank you for this amazing software. I have couple of queries:

1. When I do web upload to a host, where file name have spaces, the spacing stays intact in the file manager in the filehost. Also it helps a downloader to read the filename easily in the link. For example:

Code:
i.imgur.com/axCFNSv.jpg


How can I achieve that, I only see "replace spaces with dots/underscore" ?

2. While using Winrar standalone version and if I split a file into 1gb parts, exactly 1gb part files are created. While using with TC, with Compression level 0 and winrar rar5, and the part size as 1024 MB, the parts created are less than 1 GB.

3. What is the difference between these two Tags "{#linkFileName#}" and "{#linkUploadFileName#}"

Thank You.

Author:  Freddy [ December 27th, 2023, 10:59 pm ]
Post subject:  Re: Couple of Queries

Hi,

will review the questions in the morning.

Author:  Freddy [ December 28th, 2023, 12:30 pm ]
Post subject:  Re: Couple of Queries

Hi,

1. I would really recommend using {#linkUrlWithFileName#} tag in "{#hostLinks#}" sub-template. The URL will then have filename and it will be much easier to replace dead links with themaManager in the future (it will be able to match links automatically).

However filename can't have spaces then (the URL would become invalid).

That's mostly why spaces are now replaced automatically with underscores or dots. That's the only way to have a proper valid filename in URL.

2. I wrote it here, it's a bit different for RAR: viewtopic.php?p=21579#p21579

For 1GB rar parts set it to 1073.

3.
{#linkFileName#} - is original filename which was on HDD.

{#linkUploadFileName#} - is final filename after all settings / replacements / randomized (if enabled) applied which was used during upload.

If it was not compressed. For compressed it will be almost always the same.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/