Jump to content

_FTP_FileGet to InetGet


Go to solution Solved by Andreik,

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...