Jump to content

InetGet ftp issue


bruceguag
 Share

Recommended Posts

Hi

I encouter a problem using inetget.

I run as administrator on windows 7(64bit).

Local $hDownload = InetGet("ftp://ftp.mozilla.org/pub/mozilla.org/README", @DesktopDir & "\Mozilla-README.txt", 1, 1)
Do
   Sleep(250)
Until InetGetInfo($hDownload, 2)
; Check if the download is complete.
Local $nBytes = InetGetInfo($hDownload, 0)
InetClose($hDownload)
; Close the handle to release resources.
MsgBox(0, "", "Bytes read: " & $nBytes)

but it can not work. if use http protocol, it will works ok.

How to resolve the problem, or detect the issue?

Any reply is appreciated!

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...