[En-Nut-Discussion] Question about the Peanut filesystem

Harald Kipp harald.kipp at egnite.de
Thu Jan 12 19:08:55 CET 2006


AFAIK, the full path is required. PNUT doesn't support "current directory".

fopen("PNUT:/somefile.xxx", "rb);

should work. Note that UROM has been tested on Ethernut 2 only.

Harald

At 10:12 12.01.2006 +0100, you wrote:
>Hi!
>     Can I use the PNUT filesystem the same way as UROM? With UROM I
>had:
>     fp = fopen("UROM:somefile.xxx","rb"); and it worked.
>     Now I'm trying the same with PNUT by uploading a file with ftp and
>then   opening  it:
>     fp = fopen("PNUT:somefile.xxx","rb"); in the ftpserver example code
>(I made a thread for it)
>     but it's not working... Any ideas? I would apprecciate any info
>about the PNUT.  Thanks.




More information about the En-Nut-Discussion mailing list