Android Question su command and ftp ?

Devv

Active Member
Licensed User
Longtime User
hi
is their is a problem in the following ?

B4X:
su.SuCommand("/system/bin/screencap -p " & File.DirInternal & "/scrsh")
fttp.Initialize("fttp","ftp.mysite.com",21,"user","pass")
fttp.UploadFile(File.DirInternal,"scrsh",False,"/htdocs/scrsh.png")

im always getting unsuccessful ftp upload any ideas ?
 

Devv

Active Member
Licensed User
Longtime User
ok i found the solution it was because of the permition i had to make it manually rwx rwx rwx
 
Upvote 0
Top