B4A Question FTP delete not empty folder - Erel (first post) Sep 14, 2022 You will need to change the code that deletes a file or folder to recursively delete the folder: https://www.b4x.com/android/forum/threads/b4x-copyfolder-deletefolder.69820/#content
Be careful... B4A Library [B4X] FTP Server implemented with Socket and AsyncStreams - Erel Jul 18, 2022 (40 reactions) It sends or receives the data and then closes the connection. Note that a new method was added to AsyncStreams that allows closing the channel after the data was sent (SendAllAndClose). Clients expect the data socket to be closed after the data is sent. There isn't any other cue that tells the clien B4A Tutorial Android FTP tutorial - Erel Aug 25, 2021 (6 reactions) The ListCompleted event is raised when the data is available.
You can use code similar to the following code to get more information on the entries:
FTP.List("/")
...
Sub FTP_ListCompleted (ServerPath As String, Success As Boolean, Folders() As FTPEntry, Files() As FTPEntry)
Log(ServerPath)
Spanish [SOLUCIONADO] CIERRE DE LA APP - josejad (first post) Jun 05, 2023 (1 reaction) Hola Antón: Ese error indica que el evento (ftp_deletecompleted o sql_nonquerycomplete) se lanzan mientras la app está en background. Trabaja todo lo relativo al FTP en un servicio en vez de una actividad, o pásate a B4XPages Lo siento, sin un proyecto ya es jugar a adivinar hasta dar con la tecla B4A Question Help ! delete a file on an ftp server - mangojack (first post) Oct 13, 2019 (1 reaction) the code to write is ... drum roll ......... ;)
https://www.b4x./?query=ftp+Delete
see the first result , FTP Tutorial ... and the others B4i Question view a pdfV - toro1950 Oct 11, 2023 Sub remove fl = EditText1.text & ".pdf" ftp.Initialize("ftp", "ftp.mysito.it", 21, "addresses", "password") Dim sf As Object = ftp.DeleteFile("mysito.it/myfolder/" & fl) Wait For (sf) ftp_DeleteCompleted(ServerPath As String, Success As Boolean) If Success Then hd.ToastMe Share My Creation simple FTP server on esp8266 - candide May 07, 2021 (7 reactions) In Transfer Settings, check "Limit number of simultaneous connections" and set the maximum to 1 it is working in passive and active mode - MLSD OK - Delete OK - STOR OK - RETR OK tested with FTP windows10 client : it is working only in active mode (no passive mode on this one) - Italian Ftp : rename o copy - MARCO C. Apr 27, 2019 Buongiorno ,
sapete se esiste un comando o metodo per rinominare un file su un server FTP.
Mi spiego meglio :
tramite B4J
utilizzo il seguente metodo per importare un file
FTP.DownloadFile(pathOrder & filename, True, pathDest, filename)
e, una volta elaborato il file lo cancello con
FTP.Del B4A Question FTP Raise and Rel 7.01 - MarcoRome Aug 05, 2017 "xxxx", 21, "userxxxx", "pwuserxxxxx")
FTP.DeleteFile("/hotelguru/" & filenameresize )
Wait For FTP_DeleteCompleted(ServerPath As String, Success As Boolean)
If Success Then
Log("FTP_DELETE: " &ServerPath & ", Success=" & Success)
If Starte B4A Library Android SFTP based on JSch tutorial - Erel Apr 18, 2024 (11 reactions) The other methods work in the same way as the FTP object: Android FTP tutorial The library is attached. The open source project is embedded in the jar file. Updates: 1.31 - New Rmdir method - deletes empty folders. 1.30 - Based on the latest version of Jsch (0.1.54). Page: 1 2 3 4 5 6 7 Powered by ColBERT |