Hello,
I would like to know if it is possible to edit an existing file on a network.
My code so far:
Is this even possible or do i need to download the file first, then edit and copy back?
Hope some one can help.
regards,
Ray
I would like to know if it is possible to edit an existing file on a network.
My code so far:
B4X:
'Check if file exsits'
smb1.Initialize("smb1")
smb1.SetCredentials("xx","xx","xx.local")
smb1.ListFiles("smb://xxx.xxx.x.xx/C/Test/Logfile/","Log.dat")
Wait For SMB1_ListCompleted (Url As String, Success As Boolean, Entries() As SMBFile)
If Not(Success) Then
'write compleet file' and copy to directory
Else
'edit file on server'
'This giving me error to much characters'
TextWriter1.Initialize(File.OpenOutput("smb://xxx.xxx.x.xx/C/Test/Logfile/","Log.dat",True)
End if
Is this even possible or do i need to download the file first, then edit and copy back?
Hope some one can help.
regards,
Ray