Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Everblue on January 03, 2007, 10:57:07 AM

Title: Quick SFS question
Post by: Everblue on January 03, 2007, 10:57:07 AM
What is the maximum filelenght it supports?

Cheers!

E'Blue
Title: Re: Quick SFS question
Post by: Piru on January 03, 2007, 12:38:13 PM
2147483647

Some versions support larger files than that (upto 4GB), but dos.library API does not cater for them.
Title: Re: Quick SFS question
Post by: Everblue on January 03, 2007, 01:22:45 PM
Sorry, I meant FILENAME length. For example 255 letters.
Title: Re: Quick SFS question
Post by: Framiga on January 03, 2007, 01:46:55 PM
AFAIK is 107.

Title: Re: Quick SFS question
Post by: Piru on January 03, 2007, 02:44:42 PM
Yes, 107 chars (again limitation set by the dos.library).
Title: Re: Quick SFS question
Post by: Everblue on January 03, 2007, 02:50:13 PM
Does this include the directory tree? Or 107 letters just for the filename?
Title: Re: Quick SFS question
Post by: Piru on January 03, 2007, 03:18:00 PM
Quote
Does this include the directory tree?

No.
Quote
Or 107 letters just for the filename?

Yes. File or directory name can be 107 letters.

Full path is limited to 255 chars on the API side. SFS itself sets no such limitations (AFAIK). If cleverly programmed, the app can handle practically unlimited path length.