B4A Library New Net library - Android FTP, SMTP and POP3 - Erel    
Oct 6, 2025   
(25 reactions)The Net library supports FTP, SMTP and POP3 protocols. This library replaces the FTP library. Both... IPv6 clients.
V1.80 - SMTP, POP and FTP can be configured to use a custom trust manager. This allows... a configurable timeout parameter - FTP.TimeoutMs. Default timeout is set to 60000 (60 seconds).
V1...-library-ftp-smtp-pop-with-wait-for.84821/
SMTP.AdditionalHeaders map. Allows adding headers to...
link: V1.83 - Fixes an issue with SMTP and IPv6 clients.
Tip: B4A Net and B4J jNet libraries are identical. v1.83 will be included in next update of B4J (it is an internal library). You can also use the li...
B4A Library [B4X] FTP Server implemented with Socket and AsyncStreams - Erel    
Jul 18, 2022   
(41 reactions)https://www.b4x.com/images/ftp.gif
(Note that the FTP client above is not part of this solution. It only demonstrates how you can use a standard FTP client to communicate with the server...
link:
and I thought you could force the IP code but that's not the case
Is the IP address the (or on...
link: .DirInternal
server.Start
End Sub
I have an FTP server in my smartphone and simply know if...
link: What is exactly the problem that you are trying to solve?...
B4A Tutorial [B4X] Net library (FTP, SMTP, POP) with Wait For - Erel    
Feb 14, 2021   
(16 reactions).
This makes it simpler to manage multiple requests.
For example:
'ftp was previously initialized and its event name was set to ftp:
'ftp.Initialize("ftp", "your.server", 21, "user", "password")
Dim sf As Object = ftp.UploadFile(File.DirAssets, "somefile", False, "/somefile")
Wait For (sf) ftp_UploadCompleted (ServerPath As String...-net-library-android-ftp-smtp-and-pop3.10892/#content
Note that B4J and B4A libraries are identical....
B4A Tutorial Android FTP tutorial - Erel    
Aug 25, 2021   
(6 reactions)Old and irrelevant tutorial. Follow this one instead: Net library (FTP, SMTP, POP) with Wait For
This tutorial covers the FTP object which is part of the Net library.
The Net library is based... network operations should be done in the background.
The FTP library is built in such a way. All... tasks one after another. The FTP protocol supports a single task at a time so the tasks will be processed serially.
Using the FTP library is pretty simple.
The first step is to initialize the FTP...
B4A Tutorial [B4X] Tip: Always set FTP.PassiveMode to True - Erel    
May 29, 2018   
(9 reactions)I've just wasted an hour trying to understand why a desktop program that I'm using for many months failed to upload a file to a FTP server.
I realized that the only thing that was recently changed is that B4J was running with Java 10. Mistakenly I assumed that it is related to IPv6 handling... allow it.
The default mode for FTP is active mode. In active mode the server needs to make an incoming... if the firewall is not configured for this.
The solution is very simple:
FTP.Initialize(...)
FTP...
B4A Question [Code snippet] Transfer files from Android to ESP8266-ESP32 micro SD Card in plain TCP (no FTP) - max123    
Nov 17, 2022   
(4 reactions)Hi all,
this is a code snippet but even an help request to improve it, so I post here before move on code snippets section.
For my 3D printing app host I had necessity to transfer files from Android to ESP8266-ESP32 micro sd card (over network).
Because I don't wanted to use an FTP library on ESP side to just upload a file, I wrote a raw code that read a file in chunks and then
send one by one using a TCP socket.
Because I even want to pass some infos from Android to ESP before send...
B4A Question FTP Server Not enabled in the FTP-Bridge App? - Danamo    
Nov 22, 2022 on the PC saying "Make sure that the FTP Server is enabled in the FTP-Bridge App" whenever... I re-enable the FTP Server in the FTP-Bridge App?
And please; although I know enough to have made and...
link: Google forced old apps to be updated a month or two ago, with targetSdkVersion=31. This change made ...
link: Thanks for responding, Erel. The File Explorer, until very recently, was working on my Android 10 ph...
link: This feature is disabled on Android 10+ devices due to Android restrictions....
B4A Question FTP issues not loading list - tsteward    
Apr 17, 2025I am in the middle of changing hosting companies and I am struggling to get FTP to work.
I have set up a user and can access the files with notpad++ via ftp without issues
This code does return...
link: Hey figured it out. Changed this line
ftp.List("public_html/usersTools")
I had the path...
link: What do you get printed now? maybe you need to get something like f.getName() or f.getPath() (dont k...
link: Okay I changed code but still no folders or files
Private ftp As FTP
ftp.Initialize("ftp"...
B4A Question 550 error using FTP - Smee    
Apr 4, 2024 regular files
The download code is
Dim sf As Object = ftp.DownloadFile(ServerPathName, True ,Starter.gAppDirectory,"test.txt")
Wait For (sf) ftp_DownloadCompleted (ServerPath...
link: to add the filename itself
It should have been
Dim sf As Object = ftp.DownloadFile(Starter...
link: Thanks for the reply
The site(s) are FTP dedicated sites, I have used a regular site, no change...
link: ftp error 550 means insufficient permissions OR so such file or folder. we don't know what...
B4A Question FTP download of Graphic files with NET library error - GiovanniPolese    
Aug 30, 2023)
Dim sf As Object = ftp.DownloadFile(Fname, True,dir , Fname.SubString(p+1))
res=False
Wait For (sf) ftp_DownloadCompleted (ServerPath As String, Success As Boolean...
Page: 1  
2  
3  
4  
5  
6  
7