How to delete a specified saved file linked with the same file on a ftp server

Asmoro

Active Member
Licensed User
Longtime User
Hi all,

I'm using a scrollview that show an image(file) that is saved on a sdcard.

I know about the standard way to delete a file, but don't know exactly
how to delete an image displayed on a scrollview from the sdcard and
simultaneously deleting the same file on the Ftp server.

Anyway, attached a testprog that I've made for you all to look at it.
Hopefully you can help me out with the issue.

note. there is no ftp connection in the code as it's working well.
It's just the deleting part coding what I'm curious about.

Thanks for now.
 
Last edited:

Asmoro

Active Member
Licensed User
Longtime User
Thanks Erel for your feedback.

I was afraid of that.

So, how a user can determine which image belongs to him among the other
users image files on the server then, avoiding manually deleting an image by accident.

If it's possible, is there any snippet code where I can work with.
 
Upvote 0

Asmoro

Active Member
Licensed User
Longtime User
Hmm, Your example means hundreds of folders created by unique users:sign0148: or perhaps finding a ftp client which does the job perfectly.;)
 
Upvote 0
Top