binarydigit0101 0 Posted July 5, 2011 hi all! I have to connect to an ftp folder for get list of file. i try to connect with _ftp_connect and i connected. now I don't know how can I use _filelisttoarray for get this filelist. #Include <File.au3> #Include <Array.au3> #Include <FTPEx.au3> $openstorage = _FTP_Open("storage") $connessione = _FTP_Connect($openstorage, "ip", "username", "password") $folder = _FileListToArray($connessione & "restofthepath") ; I tried. ; for trying. MsgBox(0, "", UBound($folder)) _ArrayDisplay($folder) I've tried in this way. Thank you! ehi ehi ehi, what is your name? Share this post Link to post Share on other sites
sleepydvdr 8 Posted July 5, 2011 Try this. It worked for me: #Include <File.au3> #Include <Array.au3> #Include <FTPEx.au3> $openstorage = _FTP_Open("storage") $connessione = _FTP_Connect($openstorage, "ip", "username", "password") $folder = _FTP_ListToArray ($connessione, 2) MsgBox(0, "", UBound($folder)) _ArrayDisplay($folder) #include <ByteMe.au3> Share this post Link to post Share on other sites
binarydigit0101 0 Posted July 5, 2011 thank you! I didn't know that command. and now, I would need to show a form where there are the file: isn't there a showdirectoryform? then I have to allow users to upload only file with specific extensions. thank you so much! ehi ehi ehi, what is your name? Share this post Link to post Share on other sites