Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ftp_server = "abc";
- $ftp_user = "xyz";
- $ftp_password = "123";
- $path = "/";
- if(ftp_login($conn,$ftp_user,$ftp_password))
- {
- $contents= ftp_nlist($conn, $path);
- echo implode("n",$contents) ;
- }
- ?>
- file1 file2 file3
- file1
- file2
- file3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement