B4J Question Check if file exists on a server not DirApp

megaB4x

Member
Licensed User
Longtime User
Hi everyone,

I am diving into the world for B4J so please bear with me.

I would like to check if the file exists on server using UNC path.
\\someServer\someFolder\someFile.txt

B4X:
If File.Exists(File.?, "someFile.txt") Then ...

How can I check if the file exists on a server from any platform and if it exists then read the content line by line.

Thanks for your help!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…