Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Bug 3.4.05 filenames too long on Mac
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sunclad
Starting Member

17 Posts

Posted - 13 November 2004 :  18:48:36  Show Profile  Visit sunclad's Homepage
In version 3.4.05

Filename: inc_create_forum_configvalues.asp

If dearchived on a Macintosh system and uploaded from there the "sp" at the end of the filename is missing, ie truncated filename.

With the filename ending in ".a" the Win server thinks its assembly language

When attempting to use a Mac FTP program such as Fetch there is a refusal to change the filename (RENAME) due to a length of filename restriction within the program.

Yes, this is a Windows program but some people may use a Mac or other platform to download Snitz and install the files because its a good message board.

The only solution was for me to copy that file to a floppy, insert it in the "A:" floppy drive of the Windows system I have here, correct the filename, and then upload it from there using FTP Surfer or similar FTP program.

Program authors may want to consider adjusting that filename to a shorter name in future releases.

DMK

[edit] - Changed title [/edit]

Edited by - Da_Stimulator on 13 November 2004 23:42:31

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 13 November 2004 :  19:10:45  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Fix:
Rename inc_create_forum_configvalues.asp to
inc_create_configvalues.asp

Change the includes in the following files to fit new change:
inc_create_forum_access.asp
inc_create_forum_mssql.asp
inc_create_forum_mysql.asp

-Stim
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 13 November 2004 :  19:13:24  Show Profile  Visit PeeWee.Inc's Homepage
maybe this was just a bug on your mac, as i've never seen this reported before.

someone should move this to the dev forum so it can be thought about for the next ver. of Snitz

De Priofundus Calmo Ad Te Damine

Edited by - PeeWee.Inc on 13 November 2004 19:14:52
Go to Top of Page

sunclad
Starting Member

17 Posts

Posted - 13 November 2004 :  20:37:12  Show Profile  Visit sunclad's Homepage
quote:
Originally posted by PeeWee.Inc

maybe this was just a bug on your mac, as i've never seen this reported before.

someone should move this to the dev forum so it can be thought about for the next ver. of Snitz


-------------

I believe the Mac systems have a limit on long filenames at 31 chars which includes any file extensions and associated period. I was using Fetch 4 which is a current version of that software (FTP client) which refused to allow the rename.

I have experienced similar issues with certain graphic filenames associated with the SNITZ forumware with the file extension being cut off (truncated) after dearchiving the ZIP file. These long filenames could not be corrected on the Mac computer, but after uploading them to the Win server I was able to change the filenames on that end using an FTP program so it was not a major issue for me, and given most users might be using a Windows system I didn't say anything.

It wasn't until the latest .05 upgrade that this raised its head again and I was not able to issue a correction to the obvious using a Mac program. Not sure why - it was just so.

The files that I had to correct earlier with .04 were:

icon_folder_delete_no_archive.gif (cuts off the "if" in "gif")
icon_folder_new_sticky_locked.gif (cuts off the "if" in "gif")


DMK
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 13 November 2004 :  21:12:15  Show Profile  Visit PeeWee.Inc's Homepage
I dont have a mac so i cant test this.

Can you post all the file names that have this error, i'll tell you what to change the names to and where to edit the code.

Just a list of file names in a post, if you wanna make a post aswell do it after, not in the same post. Make things a little less confussing.


Dev team: couldnt we just use shorter file names in the next ver. seeing as this seems to be a "bug" of some sorts? Like instead of icon_folder_ IF_ and like Stimmy said, drom the _Forum in the other ones

De Priofundus Calmo Ad Te Damine
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 14 November 2004 :  02:57:03  Show Profile
sounds like a bug with a MAC to me. But that's just me.

Exactly how could the length of a filename be considered a bug?
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 14 November 2004 :  03:04:47  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Mac is like an encrypted string for "Bug"....

-Stim
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 14 November 2004 :  13:04:57  Show Profile  Visit dayve's Homepage
this is not a bug with a mac, it may be an issue with the ftp program you are using. I have a mac and it supports long file names.

BTW... which version OS are you running?


Edited by - dayve on 14 November 2004 13:21:59
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 14 November 2004 :  13:20:57  Show Profile  Visit dayve's Homepage


I uploaded a short file name, renamed it, downloaded it, re-uploaded it, renamed it. It consistently worked.

Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 14 November 2004 :  14:54:13  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
maybe its something to do with zip files on mac...

Can you test out extracting a long filename from a zip file?

-Stim
Go to Top of Page

sunclad
Starting Member

17 Posts

Posted - 14 November 2004 :  16:11:03  Show Profile  Visit sunclad's Homepage
Never thought of that - dearchive of zip on Mac. It may very well be a bug in the Aladin (Stuffit) software that dearchived the zip. In any event after dearchive of the zip the filenames were truncated but only by a couple of characters.

The filenames I encountered with long filenames that were cut off are already posted int eh thread. There were only a couple.

The graphic appears to ve OS X (operating system 10.x.x.) which is a flavor of Unix. Anything OS 10 (X) and upward is a Unix-based operating system.

I am running a "classic" OS, OS 9.2.2. This is the last "classic" operating system. After that they went to 10 and went to a Unix based format.

Can't say for sure why I was unable to rename the file remotely. That one was a new one to me. I was on OS 9 using Fetch 4, a Mac FTP client similar to FTP Surfer. I was able to use FTP surfer to upload the file and rename it on the Win95 system next to me. (The XP system is still in the box waiting for my wife to be finished classes so I can dump her stuff off that and set up the new box.

Thanks again. I figured that if I saw this there might be latitude for others out there to have it happen to them as well.

DMK
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 14 November 2004 :  18:07:34  Show Profile  Visit dayve's Homepage
I am indeed running OS X (10.2). I think I can run OS X in Classic Mode (9.x) so I'll see what happens.

Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 30 November 2004 :  02:54:08  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
test that yet dayve?

-Stim
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 30 November 2004 :  11:00:05  Show Profile  Visit dayve's Homepage
Using StuffIt expander of a zip file worked fine. What are you using to open a zip file?

Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 30 November 2004 :  22:34:10  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I dont have mac so I cant test it :(

-Stim
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07