@minhajulhasan17 alternatively you might want to consider using the ftp extension
I just tested the ftp example app using the Kodular companion app together with a Samsung Galaxy A5 (2017) device running Android 8
- upload: works fine
- download: works fine
- delete remote filename: works fine
- renaming remote filename: works fine
- create remote directory: works fine
Taifun