Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.41 KB | None | 0 0
  1. #include <Misc.au3>
  2. #include "FTPEx.au3"
  3.  
  4. $serv = "xxx"
  5. $user = "xxx"
  6. $pass = "xxx"
  7.  
  8. $FTP = _FTP_Open("FTP Client by mir")
  9.  
  10. $FTPServer = _FTP_Connect($FTP,$serv,$user,$pass,1)
  11. If @error Then
  12.     MsgBox(0,"","error")
  13. EndIf
  14. MsgBox(0,"", $FTPServer)
  15. $x = _FTP_FilePut($FTPServer, "C:\Benutzer\xxx\Desktop\log.txt", "")
  16.  
  17. If @error Then
  18.     MsgBox(0,"","error2 " & @error & " und " & $x)
  19. EndIf
  20.  
  21. _FTP_Close($FTP)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement