ahmeddzcom Posted June 11, 2023 Share 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. Link to comment Share on other sites More sharing options...
Solution Andreik Posted June 12, 2023 Solution Share Posted June 12, 2023 InetGet('ftp://username:password@servername/<filename>', '<filename>') ahmeddzcom 1 When the words fail... music speaks. Link to comment Share on other sites More sharing options...
ahmeddzcom Posted June 12, 2023 Author Share Posted June 12, 2023 16 minutes ago, Andreik said: InetGet('ftp://username:password@servername/<filename>', '<filename>') Tnx , its work So : InetGet('ftp://username:password@servername/Update/MyFile.zip','MyFile.zip') 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