ahmeddzcom Posted June 11, 2023 Posted June 11, 2023 Hello i need download file from ftp with InetGet this code work fine : #include <FTPEx.au3> Local $hOpen = _FTP_Open('MyFTP Control') Local $hConn = _FTP_Connect($hOpen, '**********, '**********', '*********') If $hConn = 0 Then Exit MsgBox(0+16, "!", "Error Connecting To Server") _FTP_DirSetCurrent ( $hConn, '/Update/' ) _FTP_FileGet($hConn , 'MyFile.zip','MyFile.zip') So i need : #include <FTPEx.au3> Local $hOpen = _FTP_Open('MyFTP Control') Local $hConn = _FTP_Connect($hOpen, '**********, '**********', '*********') If $hConn = 0 Then Exit MsgBox(0+16, "!", "Error Connecting To Server") _FTP_DirSetCurrent ( $hConn, '/Update/' ) InetGet(..........) Tnx.
Solution Andreik Posted June 12, 2023 Solution Posted June 12, 2023 InetGet('ftp://username:password@servername/<filename>', '<filename>') ahmeddzcom 1
ahmeddzcom Posted June 12, 2023 Author Posted June 12, 2023 On 6/12/2023 at 12:10 AM, Andreik said: InetGet('ftp://username:password@servername/<filename>', '<filename>') Expand Tnx , its work So : InetGet('ftp://username:password@servername/Update/MyFile.zip','MyFile.zip')
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