B4A Library [B4X] FTP Server implemented with Socket and AsyncStreams - Erel    
Jul 18, 2022   
(41 reactions)   
tags: B4A B4J, FTPhttps://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)   
tags: FTP, SMTP, POP.Net, B4X Net ftp smtp pop wait.
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...
link:
Where to download the NET library to use ftp?
Tip: FIRST use the forumsearch.
If you do not find...
link: Where to download the NET library to use ftp? I just installed B4A and it does not appear in...
link: There is no such library. SMTP is included in the Net library....
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...
B4i Question [SOLVED] - iNET - ftp issue - Jmu5667    
Feb 4, 2021   
(1 reaction)Hello
I have implemented the ftp component for the purpose of uploading a log file to a FileZilla server. I have already done this on b4a with much success. However on B4i as I am unable to close...
link: I changed the connection timeout to 10 seconds on FileZilla and it appear to be working fine now, ju...
link: Ok, thanks will look into it....
link: send_logs_ftp should return a ResumableSub....
B4A Tutorial [B4X] FTP Server code update for multi-network card hosts - OliverA    
Oct 17, 2017   
(5 reactions)   
tags: B4X FTP Server to the FTP Server code posted here (https://www.b4x.com/android/forum/threads/b4x-ftp-server-implemented-with-socket-and-asyncstreams.74320/#content).
@Sergio83 discovered an issue with the FTP server...
link: 1) Add a new variable in Class_Globals (same as Post #1)
Private IPAddress As String
2) Add the foll...
link: This code will work with B4A and B4J (the tag suggests that it will also work with B4i which is not...
B4J Tutorial [B4X] Resumable Subs - Sleep / Wait For - Erel    
Feb 22, 2018   
(50 reactions)   
tags: Reference, Comm, download, Resumable Subs, Code, Wait For, 10, "Marker")
End Sub
A bit more complicated example with FTP:
Listing all files in a remote folder and then downloading all the files:
Sub DownloadFolder (ServerFolder As String)
FTP.List(ServerFolder)
Wait For FTP_ListCompleted (ServerPath As String, Success As Boolean, Folders... Files
FTP.DownloadFile(ServerPath & f.Name, False, File.DirApp, f.Name)
Wait For FTP_DownloadCompleted (ServerPath2 As String, Success As Boolean) '<-----
Log...
B4i Question File Name issue when loading to ftp - ilan    
Apr 29, 2020hi
i am using b4x ftp server implementation and when i upload a file with hebrew characters it arrives like this on my ftp server:
????? ???? ????.mp4
is there a way that it will arrive correctly...
link: Your FTP client probably uses an encoding other than UTF8.
Dealing with non-ASCII file names in FTP...
link: (FileNameWithHebrewChars .GetBytes("utf8"))
Changing the FTP client encoding: https://www...
link:
Your FTP client probably uses an encoding other than UTF8.
its the b4j.net library, can i set...
B4i Question FTP work fine first time - MarcoRome    
Apr 29, 2018 FTP
Dim Out As OutputStream
Out = File.OpenOutput(File.DirTemp, filenameresize &...)
'ftp was previously initialized And its event name was set To ftp:
ftp.Initialize...
link: Please start a new thread for this....
link: Hello,
I have exactly the same problem, works fine the first time but nothing after for the second ...
link: Hard to say. Try to close it after each transfer and then initialize it again.
If it doesn't wo...
B4i Question iNet , FTP upload Problem - tufanv    
May 2, 2018
when I try to upload a file to my server using ftp. I have initialized the ftp with correct port...
link: Hard to say without more information. Make sure that your FTP server is open for regular FTP...
link: Have you set PassiveMode to true?
yes
ftp.Initialize("ftp", "serverip", 21...
B4i Question ftp.list error with B4i - Alex.Gi (first post)    
Jun 11, 2024
Hard to say what causes it. Might be more information in the server logs.
this is the vsftpd.log o...
link: Hard to say what causes it. Might be more information in the server logs....
link: /android/forum/threads/b4x-ftp-server-implemented-with-socket-and-asyncstreams.74320/#content
Make sure...
link: /android/forum/threads/b4x-ftp-server-implemented-with-socket-and-asyncstreams.74320/#content
Make sure to...
Page: 1  
2  
3  
4