Jump to content

_FTP_FilePut - Problem


Gordoni
 Share

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)

Link to comment
Share on other sites

  • 6 years later...

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...