Sign in to follow this  
Followers 0
ulosok

Download a file from the FTP-command

2 posts in this topic

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



#2 ·  Posted (edited)

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

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                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  
Followers 0