Possible to have a persistent FTP connection?

ghostbitxd

Well-Known Member
OP
Newcomer
Joined
May 1, 2020
Messages
79
Trophies
0
Age
40
XP
227
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?
 

ghostbitxd

Well-Known Member
OP
Newcomer
Joined
May 1, 2020
Messages
79
Trophies
0
Age
40
XP
227
Country
United States
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?
 

Gamerjin

No emulator code questions
Member
Joined
May 25, 2016
Messages
2,949
Trophies
1
XP
6,955
Country
United States
option 1) use telsa's Sysmodules plugin to turn it on

option 2) use kosmos toolbox background services to turn it on.

my opinion: option 1 as it allow for flexibility
 
  • Like
Reactions: binkinator

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,192
Country
United States
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.
 

ghostbitxd

Well-Known Member
OP
Newcomer
Joined
May 1, 2020
Messages
79
Trophies
0
Age
40
XP
227
Country
United States
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

Gamerjin

No emulator code questions
Member
Joined
May 25, 2016
Messages
2,949
Trophies
1
XP
6,955
Country
United States
: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,

ghostbitxd

Well-Known Member
OP
Newcomer
Joined
May 1, 2020
Messages
79
Trophies
0
Age
40
XP
227
Country
United States
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,

alfonsovin

Well-Known Member
Member
Joined
Nov 4, 2022
Messages
128
Trophies
1
Age
49
XP
379
Country
Spain
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?
 

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
10,212
Trophies
2
XP
34,043
Country
United Kingdom
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.
 

Gamerjin

No emulator code questions
Member
Joined
May 25, 2016
Messages
2,949
Trophies
1
XP
6,955
Country
United States
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.)
 

alfonsovin

Well-Known Member
Member
Joined
Nov 4, 2022
Messages
128
Trophies
1
Age
49
XP
379
Country
Spain
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

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I don't often isten to Eminem, but when I do, I use the mute button.
  • K3Nv2 @ K3Nv2:
    Except when kid rock comes on
  • BigOnYa @ BigOnYa:
    Only when I'm drinking bud light
    +1
  • K3Nv2 @ K3Nv2:
    You only like grandfather music
  • ZeroT21 @ ZeroT21:
    the music you heard while growing up will still be the most memorable, but sounds like dogshit listening through studio quality headwear
  • BigOnYa @ BigOnYa:
    I like gangster grandpa rap
  • K3Nv2 @ K3Nv2:
    You label me
  • ZeroT21 @ ZeroT21:
    i hate meself turning into audiophile addict
  • K3Nv2 @ K3Nv2:
    At least you didn't turn into a mj type of phile
  • ZeroT21 @ ZeroT21:
    ruined me childhood memories
  • ZeroT21 @ ZeroT21:
    mj's music didn't get ruined luckily
  • K3Nv2 @ K3Nv2:
    Just the tabloids ruined him
  • ZeroT21 @ ZeroT21:
    his vocals were just that gud
  • BigOnYa @ BigOnYa:
    He was an awesome dancer, nobody can deny that.
  • ZeroT21 @ ZeroT21:
    no comment on dat part

    :rolleyes:
  • BigOnYa @ BigOnYa:
    Ken just upset he wasn't molested by him
  • K3Nv2 @ K3Nv2:
    Vote for trump
  • BigOnYa @ BigOnYa:
    I'm voting for Kanye. Yeet Yeet mofo.
  • K3Nv2 @ K3Nv2:
    Until info gets leaked Kanye was at a diddy party
    +1
  • BigOnYa @ BigOnYa:
    Wasn't Trump, Kanye, and Diddy all friends? What a freak show that would be.
  • K3Nv2 @ K3Nv2:
    Probably in the woods some place
    +1
  • Domestica @ Domestica:
    A surprising amount of mods on. Something about to happen?
  • BigOnYa @ BigOnYa:
    Its Bantober....
    BigOnYa @ BigOnYa: Its Bantober....