Jump to content

[solved] FTP Firewall Problem. INetGet() is OK, IExplore.exe fails.


Exit
 Share

Recommended Posts

I'm using my FTP server as software update server. This is realized with the INetGet() function and works very well.

Now I wanted to distribute the software by sending the URL to the customers instead of a ZIP file.

Unfortunately, this method works only, if the "Windows firewall" is disabled on my server.

I have opened port 20 and 21, but no luck.

This is a little script to demonstrate the behavior.

$FTPname = "ftp://autoit@anonym.dyndns.org/AutoItTest.txt" ; altered to a non exsistend address
$LOCname = @TempDir & "\~AutoIt.txt"
$RC = InetGet($FTPname, $LOCname, 1)
If $RC = 0 Then Exit MsgBox(0, "FTP Test", "Server is down. Try later.", 30)
ShellExecuteWait($LOCname) ; browse the text file.
FileDelete($LOCname)
ShellExecuteWait("iexplore.exe", $FTPname)

Just let it run and you will see, that IEXPLORE.EXE will get a time out.

Belive me or not: If I disable the firewall, the browser shows the result like INETGET.

What can I define in my firewall to allow the browser to get the file?

TIA forumer100

Edited by forumer100

App: Au3toCmd              UDF: _SingleScript()                             

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