Homebrew Question FTp Application

luius

New Member
OP
Newbie
Joined
Jun 5, 2018
Messages
4
Trophies
0
Age
28
XP
90
Country
Togo
Are threre currently any FTp Apps for homebrew? its kinda annoying to shut down, sd in pc, reboot.. etc-
*I've found ftpD for Switch but thats not working properly, gives me an error as soon as I want to extract stuff to my PC, "inject" works just fine.
(error is -32 broken pipe) maybe there's a fix for this) already googled but I'ven't found a solution.

or other methods that don't require to go through this all the time.
 

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
I feel your pain. Now that hekate has working sleep mode I wish we had a stable ftp manager so that we wouldn't have to be powering off constantly to manage sd files. But everything is advancing so fast in this scene I'm sure something will come up anytime now.
 

Gnarmagon

Noob <3
Member
Joined
Dec 12, 2016
Messages
647
Trophies
0
Age
22
XP
794
Country
Germany
There already is an FTP app: FTPD
It's a ported version of the 3DS one.
before recommending you should test it -.-
for some reason ftpd is broken when running through hekate (may be related to the fw version)

--------------------- MERGED ---------------------------

1. Install devkitPro's devkitARM from Github.
2. Upon finished installation, navigate to installation folder.
3. Run msys2.
4. Type "pacman -Sl" (That's an lowercase L, not uppercase I)
5. Install all the packages you need using "pacman -Syyu [package 1 name] [package 2 name] [package 3 name] ...", with whitespaces in between each package name. All names must be fully matching the one shown in the list above.
6. Navigate to the devkitARM installation root folder.
7. Open templates folder.
8. Copy the "switch/templates/application/Makefile". You need this.
9. Paste your copied Makefile to a destination folder, the folder that you'll be working Switch homebrew apps with. We'll call this folder, [DESTINATION] for now.
10. In that same destination folder, create a new folder called "source".
11. In your "source" folder, this is where you put your C++ and C codes in.
12. Open Makefile. Use whatever text editing software you want to use. I preferably use Visual Studio 2017, because it supports a lot of things, and Linux libraries now, but all other editors are fine. Stick with it.
13. Edit the Makefile contents by following the instructions.
14. Open up a terminal / console.
15. Navigate to your modified Makefile through the terminal / console.
16. Type "make".
17. If all is successful, you should see 5 types of generated files with your destination folder as the names. You need your [DESTINATION].nro.
18. Power on your Switch.
19. Do whatever you need to do to get into Homebrew Launcher.
20. In the Homebrew Launcher, execute NXLink. It should now freeze, and is attempting to wait on you to send your NRO files over to the Switch.
21. Back to the terminal / console, run/launch "nxlink -ip [YOUR SWITCH'S IP ADDRESS, WITHOUT PORT NUMBER] [DESTINATION].nro".
22. See your NRO file booting and running.
23. Rinse and repeat. Total setup should take about 30 minutes to 1 hour, depending on how fast you access your Homebrew Launcher.

a bit complicated (intended for devs) but this should work fine if you have a good and stable internet connection ;)
taken from: https://gbatemp.net/threads/best-guide-to-get-into-programming-switch-homebrew.504367/
 
  • Like
Reactions: JJTapia19

SuinkaiVS

Well-Known Member
Member
Joined
Apr 3, 2017
Messages
154
Trophies
0
Location
Inside Hombrew
XP
2,160
Country
Spain
before recommending you should test it -.-
for some reason ftpd is broken when running through hekate (may be related to the fw version)
I already tested it today, FW 4.1.0, worked perfectly fine through FileZilla, used to transfer GBA roms. The only problem is that if you're idle for too long, the app crashes and you have to restart the console.
 

luius

New Member
OP
Newbie
Joined
Jun 5, 2018
Messages
4
Trophies
0
Age
28
XP
90
Country
Togo
I'v a older version of the ftpD, I'm going to test this one in a sec.

--------------------- MERGED ---------------------------

Filezilla -426 Connection broken during transfer
Switch send: -32 Broken Pipe

maybe a 5.1.x thing
 

JJTapia19

I fight for my friends.
Member
Joined
May 31, 2015
Messages
2,171
Trophies
1
Age
32
XP
2,438
Country
Puerto Rico
I already tested it today, FW 4.1.0, worked perfectly fine through FileZilla, used to transfer GBA roms. The only problem is that if you're idle for too long, the app crashes and you have to restart the console.
Size of files and if it's seding or receiving files seem to cause problems. Maybe sending small files work but try receiving files from the swich. I got errors all over the place on 5.0.2.
 

luius

New Member
OP
Newbie
Joined
Jun 5, 2018
Messages
4
Trophies
0
Age
28
XP
90
Country
Togo
did you put the 5000 port?
Yup, not the first time using it. Error is new

--------------------- MERGED ---------------------------

I can send files from PC to switch without problem but when grabbing stuff from switch to PC it gives me the error
Filezilla -426 Connection broken during transfer
Switch send: -32 Broken Pipe
 
  • Like
Reactions: BlastedGuy9905

Miqote

Well-Known Member
Member
Joined
May 2, 2018
Messages
259
Trophies
0
XP
822
Country
Macedonia, The Former Yugoslav Republic of
The person who ported it to 5.x said that you can send files to the switch but you can't send files from switch -> PC.
 
Last edited by Miqote, , Reason: Added the 5.x bit
  • Like
Reactions: BakerxXxFiona

Hondyn

Well-Known Member
Member
Joined
Jan 2, 2018
Messages
258
Trophies
0
Age
35
XP
617
Country
United Kingdom
before recommending you should test it -.-
for some reason ftpd is broken when running through hekate
Running flawlessly on 4.1 since ever

--------------------- MERGED ---------------------------

The person who ported it said that you can send files to the switch but you can't send files from switch -> PC
I do them both with no problem at all on the fw 4.1
 

m4xw

Ancient Deity
Developer
Joined
May 25, 2018
Messages
2,442
Trophies
1
Age
119
XP
6,958
Country
Germany
Here's the github: https://github.com/TuxSH/ftpd/tree/switch_pr

If you do fix it, remember to push your changes (or post it here so someone else can). Thanks!

Now thats interesting. I don't see anything indicating my observation.

This feels like the binary everyone's using is funky let me check

--------------------- MERGED ---------------------------

Works for me, would you confirm?`
Downloading 5mb file just fine, no code changes, just fresh build!

I feel like a typedef was off in the build that was used but thats speculation
 

Attachments

  • ftpd.zip
    133.1 KB · Views: 1,154
Last edited by m4xw,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Sak is a fishy pineapple