Gordoni

_FTP_FilePut - Problem

4 posts in this topic

#1 ·  Posted (edited)

nvm

Edited by Gordoni

Share this post


Link to post
Share on other sites



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