Jump to content

php and ftp help


jasper182

Recommended Posts

well the list could probably be done with ftp_nlist  something like

[code]<?php

// set up basic connection
$conn_id = ftp_connect($ftp_server);

// login with username and password
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);

// get contents of the current directory
$contents = ftp_nlist($conn_id, ".");

// output $contents
var_dump($contents);

?> [/code]

however where to go from there I wouldn't be able to tell you without sitting there and tryign to do it for myself :)

this link may help you though http://au3.php.net/ftp it has a list of all the php ftp commands and describes in detail the usage of each

sorry if this wasn't much help but after you solved my issue for me I had to at least attempt to help :)




Link to comment
https://forums.phpfreaks.com/topic/26018-php-and-ftp-help/#findComment-118944
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.