B4i Question MakeDir not working - Alexander Stolte (first post)    Jul 30, 2020
Take a look File.ListFiles for File DirLibrary
ahh it is case sensetive...
this is working:
If File.Exists(File.DirLibrary,"Caches") = False Then
File.MakeDir(File.DirLibrary,"Caches")
End If
Dir = File.DirLibrary & "Caches/"
Thanks again!... B4A Question Cant delete files written with B4XObject - techknight    Jun 8, 2018 .HomeFile)) However, if I do this: File.MakeDir(File.DirInternal, "testfile"...I am writing objects into files using the WriteB4XObject from randomaccessfile library. Trouble is, I cant delete any files created this way! I am using the DirInternal location. If I do Log(File.Delete) I get false. File.Exists returns true. This is the part that returns false: Log(File.Delete(File.DirInternal & "/rosterV2/home/", GameDataBasketball.HomeFile)) However... B4J Code Snippet Create PNG File for Map Markers - Harris    Jan 30, 2021   (3 reactions) becomes visible. Private Sub B4XPage_Created (Root1 As B4XView) File.MakeDir(File.DirApp...I needed a method to create .png files "on the fly" - to be used as custom map markers in... from many examples found on this forum, I managed this. These files are just temporary in the app, and are periodically cleaned out (deleted). The B4XMainPage Class file... Sub Class_Globals...)&" )" Dim ret As String = Makelabel(t,rand) Log(" File created... B4J Question Transfer file from Downloads folder to Music folder in internal storage using B4J - mohsen programmer (first post)    Apr 6, 2024 ) End Sub Sub Copy(DirSource As String, FileSource As String, DirTarget As String, FileTarget As String,First As Boolean) If File.IsDirectory(DirSource, FileSource) Then If First Then File.MakeDir(File.Combine(DirTarget, FileTarget),FileSource) DirTarget=File.Combine(DirTarget, FileTarget) FileTarget=FileSource End If... is not accessible File.MakeDir(DirTarget, FileTarget) For Each name As String In... B4A Question DirInternal [SOLVED] - DonManfred (first post)    Nov 11, 2021 https://www.b4x.com/android/help/files.html#ListFiles https://www.b4x.com/android/help/files.html#file_makedir... B4J Question Problem with Httpjob and Java.io.FileNotFoundException - edgar_ortiz (first post)    Jan 26, 2021 Does the temp folder exist ( C:\FEL_Server\bin\httptemp) ? Yes If File.Exists(File.DirApp, "httptemp") = False Then File.MakeDir(File.DirApp, "httptemp") End If ... B4J Question Linux - MediaPlayer Cannot be created - Wrong URI: - hatzisn    Jul 10, 2023 ("user.home", "") If File.Exists(sHomeFolder & "/" & savefolder, "") = False Then File.MakeDir(sHomeFolder , savefolder) End If Dim sFolder As String = sHomeFolder & "/" & savefolder If File.Exists(sFolder,"PleaseWaitProcessing.mp3") = False Then File.Copy(File.Dirassets...I am getting this error when I try to play an mp3 file in MediaPlayer object in linux... B4A Question Access all files in a selected DirRootExternal folder (SOLVED!) - Cadenzo (first post)    Jul 2, 2024 .GetSafeDirDefaultExternal("TalkingToy") Log(sTest) 'File.MakeDir(sTest, "Dir1") Dim sDir As String = sTest & "/Dir1" Dim li As List = File.ListFiles(sDir) Dim sFile As String = li.Get(0) MP.Load(sDir, sFile) MP.Play ...Okay, I solved it. Creating my directory "TalkingToy/Dir1". You can find it on "...\Android\data...\files\TalkingToy\Dir1", copy your files to the given folder and then access... B4A Library [class] FileProvider - share files - Erel    Aug 16, 2021   (47 reactions)   tags: B4A Class FileProvider, share email file, share, File provider, email, WP SHARE Edit: FileProvider is included as an internal library now. After investigating several issues with the current FileProvider code that you can find in the forum, I decided to make some improvements and implement it in a class. Starting from Android 7 (API 24) you cannot directly share file uris with other applications. You need to use FileProvider. The FileProvider class should work on all Android versions (4+). Instructions: 1. Add a reference to FileProvider library. 2. Add to... Italian [ SOLVED ] B4J Server Ftp - Xfood (first post)    Jun 29, 2020
File.MakeDir(Masterdir, "")
File.MakeDir(Masterdir, "Admin1")
File.MakeDir(Masterdir, "Admin2")
andrebbe modificata?
Grazie sempre per il vostro prezioso aiuto...Ultimissima cosa, @Star-Dust funziona tutto egregiamente, se io volessi utilizzare il file generato MyftpServer.jar per e lanciarlo su linux, devo apportare delle modifiche?
mi riferisco alla... Page: 1   2   3   4   5   6   7   |