Can Netburn FFS support long file name?

Discussion to talk about software related topics only.
Post Reply
leetehui
Posts: 10
Joined: Thu Aug 27, 2009 2:50 am

Can Netburn FFS support long file name?

Post by leetehui »

Can Netburn FFS support long file name? Any example code?
Kiwinet
Posts: 31
Joined: Wed Jun 24, 2009 4:20 am

Re: Can Netburn FFS support long file name?

Post by Kiwinet »

leetehui wrote:Can Netburn FFS support long file name? Any example code?
I think you mean HPFS or High Performance File System that supports for long file names (256 characters as opposed to FAT's 8+3 characters - [i.e. NetBurner Filename length Format).

From what I understand IBM and Microsoft own the rights to this long file name technology,
which is why it has not been implemented so far for the NetBurner platform.

Just curious are you using an SD card to store your files or just the default onboard FLASH memory?
I am looking to upgrade my 1GB card to 8GB which is the upper limit allowed for the SB70LC development board.
Having said that, this is really heaps of storage to run your own webserver.

Best regards

Paul

http://www.microwebserver.net
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: Can Netburn FFS support long file name?

Post by Ridgeglider »

NB EFFS easily supports long file names. Unless I get really tight on memeory, I usually confiure the system to use them as it avoids lots of trouble in choosing intelligent filenames.

See the PDF:
C:\Nburn\docs\EFFS\EFFS-ProgrammersManual.pdf
On page 17 (at least on Rel23_rc7a) it shows how to set up for long file names

This documentatin (at last check) was slightly out of date and preceded the optional use/availability of SSH. The mods below slightly modify those instructions to edit constants.h and work w/ or w/o SSH.

#ifdef NB_SSH_SUPPORTED
#define MAIN_TASK_STK_SIZE (3072)
#define IP_STK_SIZE (3072)
#define TCP_STK_SIZE (3072)
#define HTTP_STK_SIZE (3072)
#define IDLE_STK_SIZE (2048)
#define ETHER_SEND_STK_SIZE (2048)
// #define USER_TASK_STK_SIZE (3072) // ORIGINAL
#define USER_TASK_STK_SIZE (4096 * 4) //modified by * 4 for FULL Filenames
// Could be 3072 x 4 ???

#else /* #ifdef NB_SSH_SUPPORTED */
#define MAIN_TASK_STK_SIZE (2048)
#define IP_STK_SIZE (2048)
#define TCP_STK_SIZE (2048)
#define HTTP_STK_SIZE (2048)
#define IDLE_STK_SIZE (2048)
#define ETHER_SEND_STK_SIZE (2048)
// #define USER_TASK_STK_SIZE (2048) // ORIGINAL
#define USER_TASK_STK_SIZE (2048 * 4) //modified by * 4 for FULL Filenames

#endif /* #ifdef NB_SSH_SUPPORTED */
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: Can Netburn FFS support long file name?

Post by Ridgeglider »

Slight correction to Paul's post. Long filename support IS implemented for NB; see my just-previous post for how to enable. You are correct in indicating an issue w/ rights to use long file names, so be aware. This issue is fully disclosed on page 17 of C:\Nburn\docs\EFFS\EFFS-ProgrammersGuide.pdf, along w/ the instructions for enabling that support.
Kiwinet
Posts: 31
Joined: Wed Jun 24, 2009 4:20 am

Re: Can Netburn FFS support long file name?

Post by Kiwinet »

Hi Ridgeglider,

I have given this long file name support a crack with mixed results so far for the Netburner platform.

First of all I find the FTP program Filezilla (which is freeware) quite good for EFFS operation,
for all uploading and downloading files to the NB webserver.
As a practical example, one can load the webpage and get a listing of various files. I noticed that the short file names can be directly opened from within the Internet browser.
The Long filenames although viewable can be viewed but not opened.
This is where Filezilla comes in handy because I think Internet Explorer only makes for a poor FTP client, since it's primary task is HTTP.
As far as Microsoft's Patent on Longfile names, I think can claim that I am only just learning about the technology for my own personal private use, just for only one device , and not churning out thousands of products with their longfile patent technology.
Post Reply