Sign in to follow this  
Followers 0
mads3n

Browse files on an ftp server?

5 posts in this topic

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:


Mads3n.dk

Share this post


Link to post
Share on other sites



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 *

Share this post


Link to post
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

Share this post


Link to post
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 *

Share this post


Link to post
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
Sign in to follow this  
Followers 0