Jump to content
Sign in to follow this  

FTP - problem with uploading

Recommended Posts


Hello, I am Polish so I have little problem with spelling words in English

I have a problem with this script:

#Include <FTP.au3 >

$server = 'server.pl'
$username = 'username'
$pass = 'haslo'
        $Hand = _FTP_Open('MyFtp')
        $hSession =  _FTP_Connect($Hand, $server, $username, $pass)
        If @error Then
        TrayTip("Error", "Connection Failed/Check Firewall",5)
        TrayTip("Connected", "Connection via FTP was successful.", 5)
_Ftp_PutFile($Hand, @DesktopDir & "\AutoIt\GDIPlus_Image1.jpg", '\hh.jpg')

If @error Then
   TrayTip("Uploaded", "No.", 5)
        TrayTip("Uploaded", "Yes.", 5)

Do not send the file, not even connected to the FTP (writes)

Spr. Several times this page and the file is not: /


Edited by ulosok

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.