Blueforcer Well-Known Member Licensed User Longtime User Jan 1, 2021 #1 im using the B4X FTP Server, but i have several problems: Im using the example to start it: B4X: server.Initialize(Me, "FTPServer") server.SetPorts(51041, 51042, 51142) server.AddUser("Test", "test") 'server.AddUser("anonymous", "") 'anonymous access 'server.ForcedServerIp = "127.0.0.1" 'local access server.BaseDir = File.DirApp server.start i can connect and i see all folders and files. But i cant do anything. No upload, no delete, no folder change. I always get: B4X: Status: Retrieving directory listing of "/Apps"... Command: CWD / Response: 450 Invalid path: Error: Failed to retrieve directory listing the FTPServer log only outputs: client: CWD /
im using the B4X FTP Server, but i have several problems: Im using the example to start it: B4X: server.Initialize(Me, "FTPServer") server.SetPorts(51041, 51042, 51142) server.AddUser("Test", "test") 'server.AddUser("anonymous", "") 'anonymous access 'server.ForcedServerIp = "127.0.0.1" 'local access server.BaseDir = File.DirApp server.start i can connect and i see all folders and files. But i cant do anything. No upload, no delete, no folder change. I always get: B4X: Status: Retrieving directory listing of "/Apps"... Command: CWD / Response: 450 Invalid path: Error: Failed to retrieve directory listing the FTPServer log only outputs: client: CWD /
Xfood Expert Licensed User Jan 1, 2021 #2 some time ago I created an ftp nserver in b4j I am attaching the source Attachments serverFtp.zip 127.8 KB · Views: 226 Upvote 0
Blueforcer Well-Known Member Licensed User Longtime User Jan 2, 2021 #3 Xfood said: some time ago I created an ftp nserver in b4j I am attaching the source Click to expand... @Xfood I get the same error with your program.. @Erel Where can i find the sources? Last edited: Jan 2, 2021 Upvote 0
Xfood said: some time ago I created an ftp nserver in b4j I am attaching the source Click to expand... @Xfood I get the same error with your program.. @Erel Where can i find the sources?
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2021 #4 Inside the b4xlib file. Unzip it. Upvote 0
Xfood Expert Licensed User Jan 3, 2021 #5 Blueforcer said: @Xfood I get the same error with your program.. @Erel Where can i find the sources? Click to expand... hello, I use it without any problem, maybe your firewall is blocking transmissions? Upvote 0
Blueforcer said: @Xfood I get the same error with your program.. @Erel Where can i find the sources? Click to expand... hello, I use it without any problem, maybe your firewall is blocking transmissions?
Blueforcer Well-Known Member Licensed User Longtime User Jan 3, 2021 #6 Xfood said: hello, I use it without any problem, maybe your firewall is blocking transmissions? Click to expand... Connection is working. But for any reason every CWD command gives a parameter of "/". Doesnt matter wich folder i want to open. I also tried a different computer with a different FTP client Upvote 0
Xfood said: hello, I use it without any problem, maybe your firewall is blocking transmissions? Click to expand... Connection is working. But for any reason every CWD command gives a parameter of "/". Doesnt matter wich folder i want to open. I also tried a different computer with a different FTP client
Xfood Expert Licensed User Jan 3, 2021 #7 i use it to send data from android terminal to b4a and everything works Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 4, 2021 #8 I made the following test: 1. Downloaded the B4J FTP server example. 2. Changed the base dir to File.DirApp and ran it. 3. Connected with a FTP client: Note the port and PASV. 4. It works. Upvote 0
I made the following test: 1. Downloaded the B4J FTP server example. 2. Changed the base dir to File.DirApp and ran it. 3. Connected with a FTP client: Note the port and PASV. 4. It works.