Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to connect to ftp using Eclipse for PHP Developers?

Tags:

php

eclipse

I just want to know how to connect through ftp using Eclipse for PHP Developer.

like image 201
pacificindio Avatar asked Dec 14 '11 07:12

pacificindio


People also ask

How do I enable FTP support in Eclipse?

Eclipse provides FTP support through an FTP plugin. Try going to Help>Install New Software, and add http://download.eclipse.org/releases/neon (you can replace "neon" with the Eclipse release you have). From there, you should see the PHP, XML, Web Development, and Remote System Explorer plugins. Installing RSE will give you ftp support.

How do I connect to an FTP server in PHP?

So, again, you need to connect to an actual FTP server and you connect to it via the ftp_connect () function. Next, you need a username and password to gain access into the FTP server and this is done via the PHP ftp_login function.

How to connect to a remote server using PHP?

Being a server side language, PHP can connect to remote servers such as FTP servers to allow for transferring of files. PHP has an ftp_connect function which allows for connection to an FTP server.

How do I use FTP_login in PHP?

This PHP function only works if the address is an FTP server. That's the first thing. The next PHP function ftp_login allows you to log into the FTP server (assuming it was able to connect to the server). You need a username and password to get access into the FTP server. Otherwise, you won't be able to transfer files or do anything.


1 Answers

Eclipse provides FTP support through an FTP plugin. Try going to Help>Install New Software, and add http://download.eclipse.org/releases/neon (you can replace "neon" with the Eclipse release you have). From there, you should see the PHP, XML, Web Development, and Remote System Explorer plugins. Installing RSE will give you ftp support.

like image 108
Huey Avatar answered Sep 18 '22 06:09

Huey