GR8FTP bug report thread

Page 3/10
1 | 2 | | 4 | 5 | 6 | 7 | 8

By Grauw

Ascended (8508)

Grauw's picture

08-11-2017, 14:16

I think posts only get locked for editing when someone quotes it, and first posts are always locked for editing (for some reason).

Anyway offtopic Smile.

By Louthrax

Prophet (2093)

Louthrax's picture

08-11-2017, 14:17

Louthrax wrote:

And I've added a command to activate or deactivate the file pre-allocation:

PA [0|1]
  Set pre-allocation mode to ON (1) or OFF (0), or display  current
  mode if not specified. PA  1 boosts file writings, but  might not
  work on some MSX-DOS 2 versions

I tested the download of a 1400KB file on a crowded (+/- 1GB) partition:

  • With "PA 0": 7min30s
  • With "PA 1": 1min

So around 7x times faster in this case! I kept the default value to "PA 0" because that sometimes causes hangs with Nextor, that problem should really be investigated...

By Wolverine_nl

Paragon (1046)

Wolverine_nl's picture

08-11-2017, 23:17

Hi Louthrax
I tried the following:
gr8ftp.com 192.168.1.2 user*blabla!pass*whoohoo!dir*ftpfolder!quit
I get *** GR8NET not found
there is a gr8net in the machine and it works fine. did i forget something?

By Louthrax

Prophet (2093)

Louthrax's picture

08-11-2017, 23:40

Looks like... your GR8NET is not detected ), that's done right at the start of the program.

First basic questions in order to debug that:
- What's your GR8NET firmware version?
- In which slot is your GR8Net plugged?
- What's your MSX setup?

Also, have you been able to access internet or any remote location using other GR8Net tools (BASIC programs or anything?).

By Wolverine_nl

Paragon (1046)

Wolverine_nl's picture

08-11-2017, 23:57

Louthrax wrote:

Looks like... your GR8NET is not detected ), that's done right at the start of the program.

First basic questions in order to debug that:
- What's your GR8NET firmware version?
- In which slot is your GR8Net plugged?
- What's your MSX setup?

Also, have you been able to access internet or any remote location using other GR8Net tools (BASIC programs or anything?).

firmware 20171022
it is plugged into slot 1
i got it configured with the dipswitched to device 03
on a Sony HB-F700
I can browse the internet

maybe that thing with device 03 might be the problem, let me test when i put it back to device 0

By Wolverine_nl

Paragon (1046)

Wolverine_nl's picture

08-11-2017, 23:59

it connects now, only i did something wrong in the gr8ftp command, so i got an 500 unknown command error Wink

By erikmaas

Resident (63)

erikmaas's picture

09-11-2017, 00:03

I also tried, but failed... differently....

I use the Gr8Net in a one chip MSX and the Gr8Net is detected and a connection is made to my local Ubuntu machine. The file I want to transfer is found and the transfer is started. However, the transfer does not get completed.

When I take a very small file (38 bytes) the transfer gets to 100% where the '1' is overwritten by the spinner.
I made a Wireshark capture, and these are the last lines of the stream:

retr myfile.txt
150 Opening BINARY mode data connection for 'myfile.txt' (38 bytes).
226 Transfer complete.

The socket does not get disconnected.

Also on a slightly bigger file, I do see that FTP-DATA shows the whole file and on FTP the last line was 226 Transfer complete.. I notice that the counter goes to '*9%' (99%???)
But also here, the program just keeps the spinner active and that is it...

By Louthrax

Prophet (2093)

Louthrax's picture

09-11-2017, 00:02

Good! GR8FTP is still young and has only been tested on my machines here so far, so your feedback is welcome !

By Wolverine_nl

Paragon (1046)

Wolverine_nl's picture

09-11-2017, 14:21

erikmaas wrote:

I also tried, but failed... differently....

I use the Gr8Net in a one chip MSX and the Gr8Net is detected and a connection is made to my local Ubuntu machine. The file I want to transfer is found and the transfer is started. However, the transfer does not get completed.

When I take a very small file (38 bytes) the transfer gets to 100% where the '1' is overwritten by the spinner.
I made a Wireshark capture, and these are the last lines of the stream:

retr myfile.txt
150 Opening BINARY mode data connection for 'myfile.txt' (38 bytes).
226 Transfer complete.

The socket does not get disconnected.

Also on a slightly bigger file, I do see that FTP-DATA shows the whole file and on FTP the last line was 226 Transfer complete.. I notice that the counter goes to '*9%' (99%???)
But also here, the program just keeps the spinner active and that is it...

Did you use the quit command? It does say Transfer complete right? Or am I reading your post wrongly?

By Louthrax

Prophet (2093)

Louthrax's picture

09-11-2017, 15:30

erikmaas wrote:

I also tried, but failed... differently....

I use the Gr8Net in a one chip MSX and the Gr8Net is detected and a connection is made to my local Ubuntu machine. The file I want to transfer is found and the transfer is started. However, the transfer does not get completed.

When I take a very small file (38 bytes) the transfer gets to 100% where the '1' is overwritten by the spinner.
I made a Wireshark capture, and these are the last lines of the stream:

retr myfile.txt
150 Opening BINARY mode data connection for 'myfile.txt' (38 bytes).
226 Transfer complete.

The socket does not get disconnected.

Also on a slightly bigger file, I do see that FTP-DATA shows the whole file and on FTP the last line was 226 Transfer complete.. I notice that the counter goes to '*9%' (99%???)
But also here, the program just keeps the spinner active and that is it...

The spinner is displayed when GR8FTP is waiting for data from the FTP server but received none (so it can erase the percentage counter). GR8FTP first asks for the size of the file to download using the "SIZE" command, and then gets data until everything is received (it does not abort on timeout).

It could be that the file size is not computed correctly for some reasons, or that some packets are lost... Could you get here the full results of your Wireshark capture for the FTP session, specially the "SIZE" command?

Page 3/10
1 | 2 | | 4 | 5 | 6 | 7 | 8