Jump to content
Sign in to follow this  
ulosok

Download a file from the FTP-command

Recommended Posts

ulosok

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

Share this post


Link to post
Share on other sites
Jos

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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×