Is there a way to change the ftp password for a certain user programmatically?

Depends on the FTP server software, OS and the kind of security applied.

Please give us more info to help you.

I have a site with justhost.com, the only way I know how to change passwords for user accounts i've made is through cpanel. So i don't have access to their servers :(

Maybe you need to contact with justhost.com support in order to answer your question.

Cheers

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.