MTU.Community


Go Back   MTU.Community > Hoster Software > Hoster Help

Hoster Help Post Hoster questions, tips and suggestions here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old April 27th, 2005, 12:56 AM
DJYale DJYale is offline
Registered User
 
Join Date: Nov 2004
Posts: 165
Re: BUG in 3.108- Using ZIP file conversion

Admin, here is a thought:

Quote:
Any suggestions how we can overcome this are welcome!!! Who knows, we may just be missing the real key that one of you can define for us.
Instead of using the . as an ending delimiter as you are now, read each filename in to a string, rtrim the trailing spaces, then parse the last 4 chars.

This would leave you with .cdg, .zip, .bin, etc. Then you wouldn't need the . in the "template". each file read would be automatically parsed and the final 4 chars removed, so the only thing being taken from the user would be the template ...

That would give you fileNameVariable = (Template) + (last four parsed) to feed back to directory services.

You could set it up in a case as: (yes this is kind of VB pseudo code, but can do the same with c++)

Select case lastFour:
Case ".bin" : Call handleer for .bin file
Case ".zip" : Call handler for zip
Case ".mp3": Find matching CDG and Call handler for mp3+g
End select

Last edited by DJYale; April 27th, 2005 at 01:03 AM.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


All times are GMT -4. The time now is 06:07 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2009 - 2025, Jelsoft Enterprises Ltd.
The contents of this forum are copyrighted by Micro Technology Unlimited, 2000-2008. Use of any material from these Forums is prohibited without written agreement from MTU.