mtheall / ftpd

FTP Server for 3DS/Switch
GNU General Public License v3.0
1.41k stars 135 forks source link

ftp transfer rate approx 1kb/sec #113

Open eku opened 4 years ago

eku commented 4 years ago

Describe the bug

The transfer rate for both upload and download is only 1kB/second.

To Reproduce Steps to reproduce the behavior:

  1. Start ftpd
  2. Use an ftp client and up- or dowload files from SD

Expected behavior I expect transfer speeds that are close to the theoretically possible transfer rate of the WiFi connection.

Screenshots N/A

Platform (please complete the following information):

Additional context I have tried various FTP programs: ftp cli client, curl, curlftpfs, wget, ncftp

Attempting to start multiple transfers in parallel will very quickly result in a disconnection due to issue #110.

mtheall commented 4 years ago

There is a network speed test built-in if you read/write to a fake file named /devZero. This could help isolate if your problem is from the SD card or from WiFi

eku commented 4 years ago

There is a network speed test built-in if you read/write to a fake file named /devZero. This could help isolate if your problem is from the SD card or from WiFi

In the classic version?

The Universal-Updater, which I use to update homebrew from the internet, reaches a download rate of 10-20kB/second.

mtheall commented 4 years ago

Yes, this feature is included in classic.

eku commented 4 years ago

Neither /dev/zero nor /dev/null can be used to download from it: No such file or directory.

mtheall commented 4 years ago

Not /dev/zero, /devZero I didn't want there to be a dependency on a specific directory existing

WinterMute commented 4 years ago

Neither /dev/zero nor /dev/null can be used to download from it: No such file or directory.

The fake file is /devZero. It's not a unix device