Can I use FTP client in my plugin?
-
hi,
My client’s website are hosted by WordPress.com and it’s business plan which allowed to install plugins.
I am developing an plugin for them which is used to integrate to third party shipping service, the way to do it is using FTP file exchange.
I’ve try PHP ftp_connect function and it shows this function doesn’t exist, then I got the other way by including class-ftp-pure.php, it is contained in WordPress’s file pack.
It implements FTP protocol by socket.
But I still got an error to connect to remote FTP server.
Is server allowed to connect to FTP remote ?
Is there another way to do that?
Thank you. -
Hi there,
Regarding FTP, please see our guides at
https://wordpress.com/support/ftp-access/
https://wordpress.com/support/sftp/If those guides don’t answer your questions, since your client has the Business upgrade on their WPcom website, they are also eligible to contact Support directly via LiveChat or email from their account rather than needing to post here in the community forums.
Regardless, I’ve also flagged this thread for Staff attention and assistance.
-
- The topic ‘Can I use FTP client in my plugin?’ is closed to new replies.