Welcome, Guest. Please login or register.

Author Topic: Quick SFS question  (Read 1384 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline EverblueTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2004
  • Posts: 584
    • Show only replies by Everblue
Quick SFS question
« on: January 03, 2007, 10:57:07 AM »
What is the maximum filelenght it supports?

Cheers!

E'Blue
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Quick SFS question
« Reply #1 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.
 

Offline EverblueTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2004
  • Posts: 584
    • Show only replies by Everblue
Re: Quick SFS question
« Reply #2 on: January 03, 2007, 01:22:45 PM »
Sorry, I meant FILENAME length. For example 255 letters.
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Quick SFS question
« Reply #3 on: January 03, 2007, 01:46:55 PM »
AFAIK is 107.

 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Quick SFS question
« Reply #4 on: January 03, 2007, 02:44:42 PM »
Yes, 107 chars (again limitation set by the dos.library).
 

Offline EverblueTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2004
  • Posts: 584
    • Show only replies by Everblue
Re: Quick SFS question
« Reply #5 on: January 03, 2007, 02:50:13 PM »
Does this include the directory tree? Or 107 letters just for the filename?
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Quick SFS question
« Reply #6 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.