Possible to have a persistent FTP connection?

  • Thread starter Thread starter ghostbitxd
  • Start date Start date
  • Views Views 4,823
  • Replies Replies 17

ghostbitxd

Well-Known Member
Newcomer
Joined
May 1, 2020
Messages
79
Reaction score
26
Trophies
0
Age
42
XP
247
Country
United States
I have ftpd installed on my system and it works great. The only thing is that you have to leave the app up in order for the FTP connection to stay alive.

Is there any way to basically always have FTP open and connectable even with the app closed? If not, is there an alternative method or app that serves this same purpose?

The ftpd app works great, but it's only able to be connected to while the app is open.

Is there a way to have ftpd always running and connectable even if the app is not open? If not, is there an alternative app or method that achieves the same thing?
 
Thanks for the recommendations. I'm running into some issues with ftpd-light however. Is there anything you need to do to "turn it on"? I left the configuration file all default, and when I attempt to connect, I'm unable to. However I'm still able to connect just fine when launching the ftpd app. I uploaded the contents of the sys-ftpd-light-1.0.4.zip file to the SD card and rebooted the Switch, and still not able to connect. Any ideas?
 
is your new client connection set up with port 5000? That one gets me every time…

e: also set up a username password in the config.ini file…since it will be always on…just to be safe.

e2: test connection with an command line ftp client so you can set flags (username password port) and see errors.
 
option 1) use telsa's Sysmodules plugin to turn it on
Thanks for suggesting this. Did not know about this overlay. Installed it and it's working great - it even sees the ftpd-light sysmodule and it shows it as enabled. So I'm not sure what I'm doing wrong. Again, I didn't change anything in the default configuration file. I should just be able to connect to the Switch via its IP:5000 correct?

Code:
Status:    Connecting to 192.168.86.163:5000...
Status:    Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:    Could not connect to server
Status:    Disconnected from server
 
  • Like
Reactions: binkinator
:unsure:
in the config file, did you set this?(and this is my current config file at "/config/sys-ftpd/config.ini")
Code:
[User]
user:=

[Password]
password:=

[Port]
port:=5000

[Anonymous]
anonymous:=1 <-- this part here
#if anonymous:=1 no login and password needed !
#if anonymous:=0 must set user:= and Password:= !

Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
the only time i got this error, was when the module was turned off. make sure the module is turned on.
 
Last edited by Gamerjin,
I adjusted my configuration file to allow any user to be able to connect, but still getting the same issue. I also changed the port from 5000 to 6000 as to not interfere with the other ftpd service I have running on the console, and disabled the option to allow a key combo to accidentally disable the service from running.

proof i can connect via ftpd on the same IP

NhsArqF.jpg


ftpd-light sysmodule enabled

ogGLiqF.jpg


configuration file for ftpd-light

Code:
[User]
user:=

[Password]
password:=

[Port]
port:=6000

[Anonymous]
anonymous:=1

[Pause]
disabled:=1
keycombo:=PLUS+MINUS+X

[LED]
led:=1

error when connecting to ftpd-light

Code:
Status:    Connecting to 192.168.86.163:6000...
Status:    Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error:    Could not connect to server

I'm out of ideas because there's really nothing else I can think to look at or troubleshoot.
 
Last edited by ghostbitxd,
Hello. I’m using ftpd-sys-light and running good.
The question is that when I start to save files and I don’t use switch transfer stops after some minutes, I guess that the time that switch put in stand by mode

Could be a option to force the switch to no stand by during transfer process?
 
Hello. I’m using ftpd-sys-light and running good.
The question is that when I start to save files and I don’t use switch transfer stops after some minutes, I guess that the time that switch put in stand by mode

Could be a option to force the switch to no stand by during transfer process?
I believe that could be done by modifying the source for the sysmodule, pretty sure libnx has a function to disable auto sleep as is used for media players etc.
 
Hello. I’m using ftpd-sys-light and running good.
The question is that when I start to save files and I don’t use switch transfer stops after some minutes, I guess that the time that switch put in stand by mode

Could be a option to force the switch to no stand by during transfer process?
ive had situations like that: im saving, say the main exefs of a game, and then its stop transferring. depending on who your client is, in my case, FileZilla, i just restart and it restores the connection and continues (of course, i do tell it to re-download the trouble file, and it does pull thru.)
 
ive had situations like that: im saving, say the main exefs of a game, and then its stop transferring. depending on who your client is, in my case, FileZilla, i just restart and it restores the connection and continues (of course, i do tell it to re-download the trouble file, and it does pull thru.)
O use FileZilla but I can’t reconnect up to I turn on the screen
I need do more proofs

Maybe it is worth get a Homebrew app for not sleep the switch
 

Site & Scene News

Popular threads in this forum