Homebrew Question FTp Application

radrom

Content Creator
Member
Joined
Oct 18, 2014
Messages
165
Trophies
0
Age
36
XP
2,111
Country
United States
I have an update for anyone experiencing the "stat '/license-request.dat' : 2 No such file or directory" issue. Try scanning your microSD card from your PC and repairing any errors.

I've been transferring files manually all day and randomly my PC decides to tell me there's an error with the drive LONG after I started having issues with FTP. I thought, alright sure, scan - repair. Cool. Kept doing normal homebrew stuff. Then it hit me that this rando file everyone keeps talking about was probably the source of the corruption. Even now for all I know it might not have been, but one of the next things I tried was FTPD and it just works out of the blue... So... Maybe an alternative to formatting the entire drive is to just repair the drive.

I'd love to hear if this works consistently with anyone else experiencing the issue.
 
Last edited by radrom,

phonz

Well-Known Member
Member
Joined
May 1, 2018
Messages
278
Trophies
0
XP
1,868
Country
Canada
Just updated to that new file and am still getting the same error -

I was just telling my FTP client to goto specific folder instead of root, ie "/switch" to get around this.
Eventually I just popped the SD back into a PC and deleted the license-request file in Windows 10.
Glad to hear that Error Scan fixes it as well for those phantom files.
 
  • Like
Reactions: Specker and radrom

ichibaka

Well-Known Member
Newcomer
Joined
Jul 4, 2018
Messages
80
Trophies
0
Age
38
XP
196
Country
United States
Any method for stay connected without online?

You can put in an unused ip address from your LAN in the DNS box. So if your router is 192.168.1.1 and your Switch is 192.168.1.3 , you can put 192.168.1.254 as the DNS entry assuming no other devices had already leased the address. Basically you force your Switch to use a nonexisting or nonresponsive gateway to the internet, without any ability to translate long urls to correct ip addresses. The end result is your Switch is stuck inside the LAN without a real entry to the internet, being force to continue knocking on a closed door when it wants to get out.
 

cricket

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
121
Trophies
0
Age
36
Website
unreal-solutions.org
XP
574
Country
United States
I just published a new build of ftpd that contains a fix by WinterMute and Hikari-chin to show the ip address, and a fix by DavidBuchanan314 to work around a send() bug in libnx. You can get it at https://github.com/shahmirn/ftpd/releases

All I did was fork existing code and merge in the fixes and then compiled it. None of the code is my own.
 

morrison22

Well-Known Member
Member
Joined
Nov 26, 2005
Messages
618
Trophies
0
XP
1,898
Country
United States
I just published a new build of ftpd that contains a fix by WinterMute and Hikari-chin to show the ip address, and a fix by DavidBuchanan314 to work around a send() bug in libnx. You can get it at https://github.com/shahmirn/ftpd/releases

All I did was fork existing code and merge in the fixes and then compiled it. None of the code is my own.
Curious, does it include the fix that is in this release which fixes the error on large file transfers as well?

Side note: Is SwitchBrew the main site to keep track of all the latest and greatest homebrew, or is there a more updated site?
 

sj33

Well-Known Member
Member
Joined
Oct 22, 2013
Messages
4,072
Trophies
2
XP
4,726
Country
Japan
You can put in an unused ip address from your LAN in the DNS box. So if your router is 192.168.1.1 and your Switch is 192.168.1.3 , you can put 192.168.1.254 as the DNS entry assuming no other devices had already leased the address. Basically you force your Switch to use a nonexisting or nonresponsive gateway to the internet, without any ability to translate long urls to correct ip addresses. The end result is your Switch is stuck inside the LAN without a real entry to the internet, being force to continue knocking on a closed door when it wants to get out.
Unfortunately this doesn’t seem to work on the Switch because it refuses to save a connection if it cannot connect to the internet.

It’s annoying because I would personally want the ability to use FTP with no ability to connect to the internet.
 

cricket

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
121
Trophies
0
Age
36
Website
unreal-solutions.org
XP
574
Country
United States
Curious, does it include the fix that is in this release which fixes the error on large file transfers as well?

Side note: Is SwitchBrew the main site to keep track of all the latest and greatest homebrew, or is there a more updated site?

I think that release is just a recompile with the latest libnx, so it should, but I'm not 100% certain.

I did push out a new release that basically disables logging, so it should be much faster.
 
  • Like
Reactions: hippy dave

morrison22

Well-Known Member
Member
Joined
Nov 26, 2005
Messages
618
Trophies
0
XP
1,898
Country
United States
Just recompiled try it

I just want to let you know that I have been using this version of FTPd that you compiled since you posted it and it has not crashed once in docked or handheld mode. Great job man. If you happen to update it in the future to help with an increase in transfer speed (I get about 5-8MB sec now) or to display the IP, please let me know. Thank you for your work.
 

sirAnger

Well-Known Member
Member
Joined
Dec 4, 2002
Messages
481
Trophies
0
Age
40
Location
Michigan
XP
605
Country
United States
That is expected for this homebrew. This app seems to be mostly abandoned. There is a patched version on page 5 you can use (posted by m4xw), but mostly people have been using the sys-ftpd module that's packaged with TomGer's SDFiles.
 

Ashura66

Well-Known Member
Member
Joined
Feb 1, 2016
Messages
1,766
Trophies
0
Age
37
Location
Under my bed
XP
1,682
Country
Portugal
That is expected for this homebrew. This app seems to be mostly abandoned. There is a patched version on page 5 you can use (posted by m4xw), but mostly people have been using the sys-ftpd module that's packaged with TomGer's SDFiles.

And how does that one work? Is it a homebrew app like FTPD?
 

sirAnger

Well-Known Member
Member
Joined
Dec 4, 2002
Messages
481
Trophies
0
Age
40
Location
Michigan
XP
605
Country
United States
And how does that one work? Is it a homebrew app like FTPD?

It's an option in the most recent version of TomGer's files. You will boot with Hekate, then further down in the CFW list, you'll see CFW + FTP. Choose that and the FTP server will be always on in the background waiting for a connection.
 

Ashura66

Well-Known Member
Member
Joined
Feb 1, 2016
Messages
1,766
Trophies
0
Age
37
Location
Under my bed
XP
1,682
Country
Portugal
It's an option in the most recent version of TomGer's files. You will boot with Hekate, then further down in the CFW list, you'll see CFW + FTP. Choose that and the FTP server will be always on in the background waiting for a connection.

Ah, interesting, i'l have to have a look
 

bad361

Well-Known Member
Member
Joined
Jun 18, 2018
Messages
1,168
Trophies
0
Location
Moscow
XP
2,447
Country
Russia
i have a router that is capable of wifi ac on 5hz, and im using it on a daily basis.. but recently i tried connecting to my switch via ftpd and the connection just hangs at "Connection established, waiting for welcome message..." It connects fine when i switch back to wifi type n, but i dont want to change the router configs everytime i want to connect to switch. Cant seem to find the problem.. I use filezilla as my ftp client. Any thoughts?
 

Drejj

Well-Known Member
Newcomer
Joined
Dec 31, 2006
Messages
55
Trophies
1
XP
501
Country
Can anyone port any other FTP program to the Switch? This ftpd build has very slow transfer speeds (sometimes bytes per second).
 

bottmint

Well-Known Member
Newcomer
Joined
Oct 28, 2017
Messages
91
Trophies
0
Age
31
XP
385
Country
United States
I just published a new build of ftpd that contains a fix by WinterMute and Hikari-chin to show the ip address, and a fix by DavidBuchanan314 to work around a send() bug in libnx. You can get it at https://github.com/shahmirn/ftpd/releases

All I did was fork existing code and merge in the fixes and then compiled it. None of the code is my own.

I tried out your ftpd build, and it's not much faster than the build from m4xw. It did work with a large file transfer, though, so there's that. Got my switch hooked up to a 5ghz ac access point.
 

bad361

Well-Known Member
Member
Joined
Jun 18, 2018
Messages
1,168
Trophies
0
Location
Moscow
XP
2,447
Country
Russia
I tried out your ftpd build, and it's not much faster than the build from m4xw. It did work with a large file transfer, though, so there's that. Got my switch hooked up to a 5ghz ac access point.
what cfw are you on? how large file exactly? and what sd do u use? i have sandisk 64gb, it doesn't seem to be faulty, i ran some tests and they didn't show any errors.. im on reiNX now but i had this libnx error before when i was on hekate as well... also using 5ghz ac wifi. Every time i try to transfer a large file or multiple files 300+mb i get this error 2345-0021. Tried hard reformatting, didnt work. Im surprised everything works for you since ive seen a lot of ppl have the same problem as me
 

bottmint

Well-Known Member
Newcomer
Joined
Oct 28, 2017
Messages
91
Trophies
0
Age
31
XP
385
Country
United States
Are you using the v2.2.0-6524da52-switch release, the one that has the console.log removed.

Yeah, that's the one I tried out.


what cfw are you on? how large file exactly? and what sd do u use? i have sandisk 64gb, it doesn't seem to be faulty, i ran some tests and they didn't show any errors.. im on reiNX now but i had this libnx error before when i was on hekate as well... also using 5ghz ac wifi. Every time i try to transfer a large file or multiple files 300+mb i get this error 2345-0021. Tried hard reformatting, didnt work. Im surprised everything works for you since ive seen a lot of ppl have the same problem as me

I'm using SX OS 1.4 atm. I don't remember how big the file was (larger than 500mb, at least), or what my sd is. Not gonna pull it, cause I don't want to have to reboot, but it's a 64gb card. I haven't had an error using the m4xw or this one.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: The mutated Axolotl was awesome