1. oleguer

    OP oleguer Advanced Member
    Newcomer

    Joined:
    Mar 9, 2018
    Messages:
    52
    Country:
    Spain
    Hello forum! I´m using ftpiiu everywhere for coldboot and use the cable connection of wiiu using the adapter..... but I only can send the files at 120Kb/s (I think because the program have limit transfer mode, because when I try to send any file the porgram says entering passive mode....) anyone know what I need to unlock the transfer limit?? or I only can send in pasive mode at 120kb/s??? (I think with any admin login or other??)) Thanks forum!!
     
  2. oleguer

    OP oleguer Advanced Member
    Newcomer

    Joined:
    Mar 9, 2018
    Messages:
    52
    Country:
    Spain
    I read the source code of ftpiiu and I found this on net.c
    Code:
    #include "net.h"
    
    #define MAX_NET_BUFFER_SIZE (64*1024)
    #define MIN_NET_BUFFER_SIZE 4096
    #define FREAD_BUFFER_SIZE (64*1024)
    
    extern u32 hostIpAddress;
    
    static u32 NET_BUFFER_SIZE = MAX_NET_BUFFER_SIZE;
    
    #if 0
    .............................
    The app limit automatic the write speed of the app?? Can anyone edit them?? Thanks forum!!

    EDIT: I attach the source code of ftpiiu for coldboot =)
     

    Attached Files:

    Last edited by oleguer, Aug 23, 2020
  3. V10lator

    V10lator GBAtemp Fan
    Member

    Joined:
    Apr 21, 2019
    Messages:
    419
    Country:
    Germany
    Where do you see that in the code snippet you showed? The real problem is libiosuhax hating small writes (so FTPiiU should batch up writes in RAM, then handle them in i.E. 1 MB chunks to libiosuhax) and no multitasking (network I/O and FS I/O on the same thread are a bad idea).

    Also why are you attaching the codes? That way nobody knows what code revision / fork it is. Here some more (maybe more modern, didn't download your zip file) codes:
    https://github.com/wiiu-controller-mods/ftpiiu-everywhere
    https://github.com/rw-r-r-0644/ftpiiu
    https://github.com/wiiu-env/ftpiiu
     
  4. oleguer

    OP oleguer Advanced Member
    Newcomer

    Joined:
    Mar 9, 2018
    Messages:
    52
    Country:
    Spain
    I take the code from here is a mod of ftpiiu everywhere for coldboot @V10lator sorry but I dont understand what I need to speed up ftpiiu everywhere can you explain me step by step thank you!! (and sorry for bad english ^^'')
     
  5. V10lator

    V10lator GBAtemp Fan
    Member

    Joined:
    Apr 21, 2019
    Messages:
    419
    Country:
    Germany
    If you're not able to code I can't explain. The reply above was given in the hope you can as you told you see an artificial limitiation in the codes you showed (which aren't even codes but just some buffer size defines).
    The limitations aren't resolved by changing one line of code but by (almost) completely rewriting FTPiiU Everywhere. If I would have a step-by-step tutorial I would have rewritten the codes already.

    In other, more simple words: The step-by-step tutorial is:
    1) Learn C programming
    2) Learn the APIs involved (like libiosuhax)
    3) Have a lot of free time

    The rest will come together then.
     
  6. depaul

    depaul GBAtemp Maniac
    Member

    Joined:
    May 21, 2014
    Messages:
    1,052
    Country:
    France
    Speed on Ftpiiu is known to be slow.. about 120 KB/s. This is a known issue.

    As @V10lator said, that limitation isn't set by the tool itself; The whole code needs to be optimized and that requires a lot of work and knowledge about Wii U hardware.
     
    Last edited by depaul, Aug 28, 2020
  7. oleguer

    OP oleguer Advanced Member
    Newcomer

    Joined:
    Mar 9, 2018
    Messages:
    52
    Country:
    Spain
    Ok thanks for the info ''^^
     
    depaul likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - connection, ftpiiu,