Jump to content
Sign in to follow this  
sensalim

Problem with ftp.au3

Recommended Posts

sensalim

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

Share this post


Link to post
Share on other sites
ficofico

I've tried many ftp script here without success................ I know that it's not the same, but if you want a simple freeware ftp program, you can download this,it works perfectly. With autoit you can create a script to upload a file using the tool in "hide" mode.

ftp utility

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.