Jump to content

Problem with ftp.au3


sensalim
 Share

Recommended Posts

I have (username).freehostia.com

It's not great but it works and it's free.

When I do ftp from start > run > cmd

It works fine... but when I use ftp.au3

(found on example scripts section),

ftpopen() works (returns non zero) but

ftpconnect() does not. It returns 0.

I ensure the password and username

are all correct.

My code:

$server = ...

$username = ...

$pass = ...

$Open = _FTPOpen('MyFTP Control')

$Conn = _FTPConnect($Open, $server, $username, $pass)

^this one returns zero

How do I fix this?

Thanks!

Edited by sensalim
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...