Jump to content
Sign in to follow this  

Question depending FTPex.au3

Recommended Posts


Hey out there,

I try to code a small script which does nothing else than downloading all files from a given remote path on a ftp server.

This is what I already did:

#include <FTPex.au3>

$server = 'www.myserver.de'
$i_Passive = '0'
$port = '0'
$username = 'username'
$pass = 'password'

$Open = _FTP_Open('myserver.de')
$Conn = _FTP_Connect($Open, $server, $username, $pass,$i_Passive,$port)
$dir = _FTP_DirGetCurrent($Conn)
MsgBox(0,"Test","Test: " & $dir)

I tried the UDF _FTP_FindFile but I don't understand it correctly. Can anybody explain me what to do that the script will download all the files from my backup-dir? I know how to download a single file with _FTP_FileGet but not for a large amount of files.

Thanks in advance.


Share this post

Link to post
Share on other sites

EDIT!!!<div><br></div><div>Figured it out a few min's ago&nbsp;

#include &lt;FTPex.au3&gt;</div><div><br></div><div>$server = ''</div><div>$i_Passive = '1'</div><div>$port = '21'</div><div>$username = ''</div><div>$pass = ''</div><div><br></div><div>$Open = _FTP_Open('FTP')</div><div>$Conn = _FTP_Connect($Open, $server, $username, $pass,$i_Passive,$port)</div><div>_FTP_FilePut($Conn,"procexp.exe","/Data/procexp.exe")</div><div>_FTP_Close($Open)
<br></div> Edited by xJSLRx

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

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