Memotech Network File Transfer

Modern, Memotech inspired, hardware projects
Bill B
Posts: 590
Joined: 26 Jan 2014 16:31

Re: Memotech Network File Transfer

Post by Bill B »

The config file should look like the following, using the default values:

Code: Select all

192.168.1.123
255.255.255.0
192.168.1.1
00:08:DC:4E:46:58
The file should have CP/M (Windows) line endings <CR><LF>.

Yes the directory listing is in HTML format, and each of the file names should be a hyperlink which can be used to download that file.

I was thinking of adding a form to the top of the listing to upload a file. Then you could do two way transfers from within a web browser. It is rather more difficult on the server to separate the file data from a form upload. Would also need to find some way of implementing file deletion from the web page.
Last edited by Bill B on 29 Aug 2020 18:31, edited 1 time in total.
User avatar
Dave
Posts: 1278
Joined: 11 Aug 2012 18:16
Contact:

Re: Memotech Network File Transfer

Post by Dave »

Hi Bill,

I just edited my previous post . . .

Can I query this please ?

net_fcb.type[0] = 'C';
net_fcb.type[0] = 'F';
net_fcb.type[0] = 'G';

regards
Dave
Bill B
Posts: 590
Joined: 26 Jan 2014 16:31

Re: Memotech Network File Transfer

Post by Bill B »

Quite right, trypo :oops: That's what comes of copy-pasting lines rather than typing each one in full.

Revised version attached.
Attachments
nfx_200829A.zip
(33.25 KiB) Downloaded 339 times
User avatar
Dave
Posts: 1278
Joined: 11 Aug 2012 18:16
Contact:

Re: Memotech Network File Transfer

Post by Dave »

Hi Bill,

thanks a lot - some progress, but not quite sorted. . .

It is reading the config file now as the MTX doesn't respond to the default anymore.

I just have a single entry in the file for the IP address but it is not being configured

update: I have tried adding all of the parameters and creating the file on both the MTX and copying it over with NFX itself (hopefully, the padding with ^Z that NFX does will not upset the parser?)

Would it be possible to add debug messages to show the network parameters when NFX starts please? That would help see what's going on

regards
Dave
Martin A
Posts: 797
Joined: 09 Nov 2013 21:03

Re: Memotech Network File Transfer

Post by Martin A »

I had a quick play with the revised code at Dave's request, I was using the default settings.

Seing the file list come up was impressive.

Transfering longer files turned out to be a problems ans invariably NFX.COM locked up with a memory error.
I think I broke it
I think I broke it
oom.jpg (86.92 KiB) Viewed 5460 times
User avatar
Dave
Posts: 1278
Joined: 11 Aug 2012 18:16
Contact:

Re: Memotech Network File Transfer

Post by Dave »

Hi Martin,

That sounds like the same error you saw at Memofest 2018.

From Andy’s Memofest 2018 page . . . .

“Martin reported seeing an "out of memory error", under load, although there is no memory allocation in the code. The network code has a "net_send_chunk: no free space" assertion message which should never be displayed, as it implies the WizNet has said it has transmitted all its data, and yet the transmit buffer is not empty. Perhaps it was that.”

I wonder if we need to consult Andy?

Regards
Dave
Post Reply