blitz2190 Posted June 12, 2009 Share Posted June 12, 2009 i have been looking forever for an answer to this problem but can not seem to find anything. I know populating a drop down box has been covered. What i need to do is somehow through port 22, either by ssh or sftp, populate a dropdown box with the files names in a directory on a remote server. i have successfully done so on the local machine using code found modified from http://www.webmasterworld.com/php/3757097.htm . I am fairly new to php and would welcome any help. Thank you Link to comment https://forums.phpfreaks.com/topic/161984-solved-populating-drop-down-through-ssh-or-sftp/ Share on other sites More sharing options...
ToonMariner Posted June 12, 2009 Share Posted June 12, 2009 ? straight forward enough? ftp_ssl_connect() that creats your connection... and ftp_nlist() will give you the contents of a given directory... Link to comment https://forums.phpfreaks.com/topic/161984-solved-populating-drop-down-through-ssh-or-sftp/#findComment-854685 Share on other sites More sharing options...
blitz2190 Posted June 13, 2009 Author Share Posted June 13, 2009 thank you as i said i am new to php and this is a big help Link to comment https://forums.phpfreaks.com/topic/161984-solved-populating-drop-down-through-ssh-or-sftp/#findComment-855204 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.