Don't use ftpd if you use an exfat card

Discussion in 'Switch - Exploits, Custom Firmwares & Soft Mods' started by Clapmaster, Aug 10, 2018.

  1. Clapmaster
    OP

    Clapmaster Advanced Member

    Newcomer
    2
    Dec 3, 2009
    United States
    So I've been using homebrew with exfat on a 256gb Samsung evo card for a month now with not a single problem. Yesterday I put the newest version of ftpd on the card because I became tired of pulling it out of the switch every time I need to transfer files. Today I already have corrupted sectors and files on the card from transferring files over my lan with ftpd. This same problem may have occurred with fat32, I don't really know. I won't be using ftpd anymore for the foreseeable future. This is just a heads up to folks that mess around with the same configuration.
     
  2. nyder

    nyder GBAtemp Fan

    Member
    5
    Mar 6, 2014
    United States
    It's exFat that is the problem. read some of the comments on this reddit post to understand why: https://www.reddit.com/r/editors/comments/6k3u4k/whats_the_problem_with_exfat/
     
  3. Clapmaster
    OP

    Clapmaster Advanced Member

    Newcomer
    2
    Dec 3, 2009
    United States
    I understand that. I'm just saying don't do ftp with exfat or you likely to get corruption right out of the gate. When I file transferred with windows 10 and ejected the card before removing from my pc I had no issues.
     
  4. Asia81

    Asia81 In my Ecchi World <3

    Member
    13
    Nov 15, 2014
    France
    Albi
    Use the sys-ftpd background module.
    I also had problems with the homebrew version (not corrupting, just files not transferring and stuck at 0%), but the background module work just fine with hekate, 5.1 and exFAT.
     
  5. kikongokiller

    kikongokiller GBAtemp Advanced Fan

    Member
    8
    Jan 12, 2017
    Australia
    I knew that exfat was an issue from the get-go but I still continue using it, FTPD has been giving me a bit of grief as of late too.
     
  6. Asia81

    Asia81 In my Ecchi World <3

    Member
    13
    Nov 15, 2014
    France
    Albi
    Lile th1t you can transfer files directly from the homemenu or while in a game, you don't even need to open the homebrew launcher and ftpd itself.
     
  7. Unleanone999

    Unleanone999 GBAtemp Regular

    Member
    3
    May 15, 2018
    Togo
    Been using ftp like for a month as well and no issues here.

    But I've also avoided ftping really large games like botw or xenoblade because it was too slow and would rather just transfer it directly to my pc.
     
    Last edited by Unleanone999, Aug 10, 2018
  8. AdamFX990

    AdamFX990 Confused Humanoid

    Member
    3
    Jan 22, 2017
    United Kingdom
    Santraginus V
    Likewise, 64gig exfat formatted with gnome disks on fedora 28 and not a single issue thus far.
     
  9. Thetoto

    Thetoto GBAtemp Advanced Fan

    Member
    4
    May 10, 2018
    France
    I use ftpd to transfert only small files to my switch, and no problem since Day one with ftpd and exfat.
     
  10. AdamFX990

    AdamFX990 Confused Humanoid

    Member
    3
    Jan 22, 2017
    United Kingdom
    Santraginus V
    Largest I've done is 14GB. :D
     
  11. smf

    smf GBAtemp Addict

    Member
    7
    Feb 23, 2009
    That doesn't really address the issue seen by the OP.

    It's easy to include bugs in software that will corrupt any particular file system. When you find software that does this, don't run it.

    It could be a hardware problem. Flash memory is pretty unreliable, the cpu inside the card are supposed to fix issues before you notice them. Sometimes the failures catch the cpu out.
     
    Last edited by smf, Aug 10, 2018
  12. kokkie20

    kokkie20 Advanced Member

    Newcomer
    3
    May 7, 2008
    United States
    Is there a way to fix the corrupted sd card?
    I have same problem ftped with ftpd and now my sd card has a shit ton of corruption on it.
    Its still 'repairing' with chkdsk (at least scanning) but i hope it will uncorrupt it.
    Is it better to format after corruption or before corruption?
     
  13. hippy dave

    hippy dave BBMB

    Member
    12
    Apr 30, 2012
    United Kingdom
    OP did you use the latest build of ftpd? Did you format the card using the Switch, or your computer, or did you leave it formatted as it came out of the packet?
    I have a theory that ExFAT works best if you format with the Switch from the settings menu, but I need data from other people.
     
    lordelan likes this.
  14. NoNAND

    NoNAND No NAND allowed here hehehe

    Member
    6
    Aug 22, 2015
    Ireland
    The Void
    Ftpd doesn't even work for me lmao
     
  15. lordelan

    lordelan GBAtemp Psycho!

    Member
    9
    Jan 4, 2015
    Germany
    So sys-ftpd + exFat is cool?
    Good to know.
     
  16. wurstpistole

    wurstpistole Proud TX supporter

    Member
    10
    Nov 19, 2015
    Gambia, The
    Works for me with exfat but errors out on larger files. I usually only use it for savegame or small homebrew apps, not for whole games. Haven't had a problem with that.
     
  17. Asia81

    Asia81 In my Ecchi World <3

    Member
    13
    Nov 15, 2014
    France
    Albi
    Yes, it is
     
    lordelan likes this.
  18. Biff627

    Biff627 GBAtemp Advanced Maniac

    Member
    7
    Aug 15, 2015
    United States
    People have had so many issues with exfat and im just sitting here doing everything everyone else is having issues with. 0 Issues with my samsung evo + 256 gb sd card with exfat...
     
  19. Clapmaster
    OP

    Clapmaster Advanced Member

    Newcomer
    2
    Dec 3, 2009
    United States
    I did use the latest version of ftpd. I first formatted the card with the default settings in windows 10 and then put it in my Switch and ran a format from the Switch itself before I started using it.

    My data started to become corrupt when I was trying to transfer over the newest stable build of Retro NX with ftpd. I noticed after I transferred the files and tried to run retro nx from homebrew launcher it was crashing my Switch so I put the card back in my PC and Windows said I had errors on the card. So I tried running the error scanner but it would just freeze about 1/4 way in. I then tried moving all the data from the card to my pc and it was successful except some of those retro nx files and a few files from installed nsp games were corrupt so I had to wipe the card, reformat it in my Switch and reinstall everything.

    I will continue using exfat for now but I won't touch ftpd with it. Like I said before I've been doing homebrew transfers using the card plugged into my pc and making sure to eject the card before removing and turning off the Switch before removing for a month now and saw no problems at all.
     
    hippy dave likes this.
  20. mezz0

    mezz0 Member

    Newcomer
    2
    Mar 10, 2009
    Belgium
    ::1
    Been using 2 different 256GB exfat Samsung evo's for months, 1 card is almost full, the other 3/4th... I Don't use the sys-ftp kernel module (or whatever it is) I use ftpd for everything and have no issues whatsoever. (on sx os btw.. sometimes on rajNX+sys-netcheat.)
     
Loading...