Jump to content
Gordoni

_FTP_FilePut - Problem

Recommended Posts

Gordoni

nvm

Edited by Gordoni

Share this post


Link to post
Share on other sites
Yashied
harmor

If anyone else is looking for help with FTP command this is what I use and it works.

#include <FTPEx.au3>
$server = 'ftp.server.com'
$username = 'username'
$pass = 'password'
$Open = _FTP_Open('MyFTP Control')
$Conn = _FTP_Connect($Open, $server, $username, $pass, 1)
$upload = _Ftp_FilePut($Conn, "C:\test.txt", "/public_html/subdomain/test.txt")
$Ftpc = _FTP_Close($Open)

Share this post


Link to post
Share on other sites
algiuxas
On 10/17/2010 at 2:04 AM, Yashied said:

 

$Conn = _FTP_Connect($Open, $server, $username, $pass, 1)

 

I know this is old, but this really helped me :)


42783.png

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

×