Jump to content

Download a file from the FTP-command


 Share

Recommended Posts

What is the command derives the image. Jpg with FTP?

Because the file transfer from computer to the server that is the code:

#Include <FTP.au3 >
$server = ''
$username = ''
$pass = ''

$Open = _FTPOpen('MyFTP Control')
$Conn = _FTPConnect($Open, $server, $username, $pass)
$Ftpp = _FtpPutFile($Conn, @ScriptDir & '\win2809129576458932.jpg', '/obr.jpg')

$Ftpc = _FTPClose($Open)

Please answer fast, thanks in advance

Link to comment
Share on other sites

  • Developers

What is the command derives the image. Jpg with FTP?

Because the file transfer from computer to the server that is the code:

#Include <FTP.au3 >
$server = ''
$username = ''
$pass = ''

$Open = _FTPOpen('MyFTP Control')
$Conn = _FTPConnect($Open, $server, $username, $pass)
$Ftpp = _FtpPutFile($Conn, @ScriptDir & '\win2809129576458932.jpg', '/obr.jpg')

$Ftpc = _FTPClose($Open)

_FtpPutFile() uploads a file NOT Download.

Please answer fast, thanks in advance

Why would that be necessary?

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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