binarydigit0101 Posted July 5, 2011 Share 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? Link to comment Share on other sites More sharing options...
sleepydvdr Posted July 5, 2011 Share 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> Link to comment Share on other sites More sharing options...
binarydigit0101 Posted July 5, 2011 Author Share 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? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now