Jump to content

FTP Fileput


 Share

Recommended Posts

I have inputted correct code for FTP but I get nothing on my server.

#include <FTPEx.au3>

Local $sServer = 'ftpserver'
Local $sUsername = 'username'
Local $sPass = 'pass'

Local $hOpen = _FTP_Open('MyFTP Control')
Local $hConn = _FTP_Connect($hOpen, $sServer, $sUsername, $sPass)
_FTP_FilePut ( $hConn, @ScriptDir & '\FTP.au3' , '/FTP.au3' ,0 ,0 )

How can it be wrong?

My server is can use port default 0(20) and can use Filezilla to upload on that.

I have researched on this forum but still cannot fix this.

 

Thank you for your attention.

Link to comment
Share on other sites

  • 2 weeks 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

×
×
  • Create New...