Making an FTP connection

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Making an FTP connection

Post by JayBird »

How woud i go about connecting to an ftp, login in with my username and password, then getting a list of files in a certain directory.

This will be run from the windows command prompt.

Could you point me in the right direction.

Thanks

Mark
User avatar
devork
Forum Contributor
Posts: 213
Joined: Fri Aug 08, 2003 6:44 am
Location: p(h) developer's network

Post by devork »

php has ftp support
try this link
http://www.php.net/manual/en/ref.ftp.php
Post Reply