Jump to content
Sign in to follow this  
Gordoni

_FTP_FilePut - Problem

Recommended Posts

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...