Is there anyway to upload files to an ftp server using cakephp?
PHP ftp_connect() Function$login = ftp_login($ftp_conn, $ftp_username, $ftp_userpass); // then do something... ftp_close($ftp_conn); ?>
The ftp_get() function is used to download a file from the FTP server. The ftp_get() function retrieves a remote file from the FTP server, and saves it into a local file. This function was introduced in PHP 4.
Well ultimately you'll be using php :p
Here's a cake component to get you started: http://bin.cakephp.org/saved/31521
and of course the old fashioned way: http://php.net/manual/en/book.ftp.php
There's a pretty solid plugin that will help out: CakeFTP
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With