|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
FTP server on Ethernut V 1.3HHello,
We have an Ethernut V 1.3 H and we would like to use this board to run a FTP server. Can somebody tell me if this is possible ore not please? In the sample program "ftpd" I read the following: "This application requires the PNUT file system, which is not available on Ethernut 1.x or Charon II." Does this mean that it is not possible at all to run a FTP server on Ethernut V1 board because of hardware limitations or can this be solved by software? Thanks in advance, With Kind Regards, Bart Willems Belgium _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: FTP server on Ethernut V 1.3HHi!
I don't have a enut 1.3 board, but in general, if you want to use FTP you need something to fetch files from or to store them in. These boards do not have any storage device of an interesting size for an FTP, so the filesystem is not activated by default. So you have two options. Either you attach an external storage device, like an SD-Card or you build a virtual filesystem inside the small RAM. You didn't tell about your intention, why you need a FTP for your system. But if it is for fetching logfiles or measurement data, then you should think about faking a filesystem and put your mesaurement results into there. The FTP then can fetch and delete the file but not read. Best regards, Ulrich Fam. Willems-Vermeiren wrote: > Hello, > > We have an Ethernut V 1.3 H and we would like to use this board to run a FTP > server. Can somebody tell me if this is possible ore not please? > In the sample program "ftpd" I read the following: "This application > requires the PNUT file system, which is not available on Ethernut 1.x or > Charon II." Does this mean that it is not possible at all to run a FTP > server on Ethernut V1 board because of hardware limitations or can this be > solved by software? > > > Thanks in advance, > With Kind Regards, > > Bart Willems > Belgium > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: FTP server on Ethernut V 1.3HHi
we want to use this board to capture data and store it in a file on the ethernut1.3h board. Afterwards we would like to download the saved file from the ethernut board to a pc, so the data collected can managed and analyzed later on and why not send back to the board. thanks for you answer anyway! Fabien, Bart Belgium 2009/8/30 Ulrich Prinz <uprinz2@...> > Hi! > > I don't have a enut 1.3 board, but in general, if you want to use FTP > you need something to fetch files from or to store them in. These boards > do not have any storage device of an interesting size for an FTP, so the > filesystem is not activated by default. > > So you have two options. Either you attach an external storage device, > like an SD-Card or you build a virtual filesystem inside the small RAM. > > You didn't tell about your intention, why you need a FTP for your > system. But if it is for fetching logfiles or measurement data, then you > should think about faking a filesystem and put your mesaurement results > into there. The FTP then can fetch and delete the file but not read. > > Best regards, > Ulrich > > Fam. Willems-Vermeiren wrote: > > Hello, > > > > We have an Ethernut V 1.3 H and we would like to use this board to run a > FTP > > server. Can somebody tell me if this is possible ore not please? > > In the sample program "ftpd" I read the following: "This application > > requires the PNUT file system, which is not available on Ethernut 1.x or > > Charon II." Does this mean that it is not possible at all to run a FTP > > server on Ethernut V1 board because of hardware limitations or can this > be > > solved by software? > > > > > > Thanks in advance, > > With Kind Regards, > > > > Bart Willems > > Belgium > > _______________________________________________ > > http://lists.egnite.de/mailman/listinfo/en-nut-discussion > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion > http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: FTP server on Ethernut V 1.3HHi,
On Sun, Aug 30, 2009 at 9:27 AM, Fabien Catteeuw<fabiencatteeuw@...> wrote: > > we want to use this board to capture data and store it in a file on the > ethernut1.3h board. If it's not too big, perhaps you could store it in RAM and power it with a battery and wall plug, like a cordless phone. Then you won't have to worry about the static memory wear off. Otherwise, then I guess your best bet would probably use an SD Card. It's possible to drive an SD Card with SPI but I don't think the driver is ported to atmega128. Shouldn't be hard though. At least with an sloted memory you can take it out and replace when it wears off. Kind Regards, Thiago A. Correa _______________________________________________ http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
|
|
Re: FTP server on Ethernut V 1.3HHi
maybe we first can try to get it in the small ram, yes. Does someone know why the ftp commands are not working, seen we have connection with the ethernutboard? These are the commands we use, the program we loaded is the ftp sample project that was included by the starter kit (but mainly written for Ethernut2 and3 I guess...) The following internal FTP commands are supported: - CWD <pathname> - Change working directory. - DELE <pathname> - Delete a file. - LIST | NLST [<pathname>] - Send list of files in a directory. - [X]MKD <pathname> - Make a directory. - NOOP - No operation. - PASS <password> - Check user password. - PASV - Prepare passive transfer. - PORT <hostport> - Set data connection. - [X]PWD - Send name of current working directory. - QUIT - Terminate session. - RETR <pathname> - Send a file to the client. - [X]RMD <pathname> - Remove a directory. - STOR <pathname> - Receive a file from the client. - SYST - Send system identifier. - TYPE <type-code> - Receive transfer mode. - USER <username> - Check user name. thanks Fabien 2009/8/30 Thiago A. CorrĂȘa <thiago.correa@...> > Hi, > > On Sun, Aug 30, 2009 at 9:27 AM, Fabien > Catteeuw<fabiencatteeuw@...> wrote: > > > > we want to use this board to capture data and store it in a file on the > > ethernut1.3h board. > > If it's not too big, perhaps you could store it in RAM and power it > with a battery and wall plug, like a cordless phone. Then you won't > have to worry about the static memory wear off. > > Otherwise, then I guess your best bet would probably use an SD Card. > It's possible to drive an SD Card with SPI but I don't think the > driver is ported to atmega128. Shouldn't be hard though. At least with > an sloted memory you can take it out and replace when it wears off. > > Kind Regards, > Thiago A. Correa > _______________________________________________ > http://lists.egnite.de/mailman/listinfo/en-nut-discussion > http://lists.egnite.de/mailman/listinfo/en-nut-discussion |
| Free embeddable forum powered by Nabble | Forum Help |