Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_FTP_FindFileFirst Help Please

$
0
0
I'm trying to use function _FTP_FindFileFirst, but I'm not having any luck. I'm using the example code from the AutoIt Help. I've searched the forums with no success on finding an answer. I keep getting "$Filename = . attribute = 16  -> Error code: 0" for my results

[ autoit ]      
#include <FTPEx.au3> Local $server = 'ftp.*****.com' Local $username = '*****@*****.com' Local $pass = '*****' Local $Open = _FTP_Open('MyFTP Control') Local $Conn = _FTP_Connect($Open, $server, $username, $pass) Local $h_Handle Local $aFile = _FTP_FindFileFirst($Conn, "/", $h_Handle) ConsoleWrite('$Filename = ' & $aFile[10] & ' attribute = ' & $aFile[1] & ' -> Error code: ' & @error & @CRLF) Local $FindClose = _FTP_FindFileClose($h_Handle) Local $Ftpc = _FTP_Close($Open)

If anyone could help me, I'd really appreciate it.
Thanks

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>