Jump to content

Browse files on an ftp server?


mads3n
 Share

Recommended Posts

Is there a way to get a FileList from an ftp server?

i want to get a filelist so i can put the list into a listbox so the file can be downloaded directly from there :whistle:

http://www.autoitscript.com/forum/index.php?showtopic=34470

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

now im using this ftp command to get the whole list of file in that specific dir.

how do i seperate the list of files to get them all into my ListView?

the code looks something like this:

$server = '***'
$username = '***'
$pass = '***'
    
$Open = _FTPOpen('mftp')
$Conn = _FTPConnect($Open, $server, $username, $pass, 1)
$setdir = _FTPSetCurrentDir($Conn, '/')
$Fileslist = _FTPFilesListToArray($Conn, 2) 
; I WANT TO PUT THE FILE NAMES INTO THE LISTVIEW HERE... how?  :unsure: 
$Ftpc = _FTPClose($Open)
Mads3n.dk
Link to comment
Share on other sites

now im using this ftp command to get the whole list of file in that specific dir.

how do i seperate the list of files to get them all into my ListView?

read the help file sections about arrays.

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...