Jump to content

Search the Community

Showing results for tags 'ftp help'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • Forum
  • AutoIt

Calendars

  • Community Calendar

Found 1 result

  1. I'm just kind of messing around with the FTP functionality in autoit, I did have it working once but the file was empty when it uploaded and now I am not getting any files uploaded what so ever. #include <FTPEx.au3> ftpTest("SERVER", "USERNAME", "PASSWORD") Func ftpTest($server, $username, $password) Local $open = _FTP_Open('FTP') Local $session = _FTP_Connect($open, $server, $username, $password) If $session == 0 Then MsgBox(0, "Error connecting", "could not connect") Else Local $upload = _FTP_FilePut($session, "./test.txt", "./htdocs/") MsgBox(0, "", "connected!") EndIf _FTP_Close($open) If $upload == 1 Then MsgBox(0, "FTP", "File Uploaded!") ElseIf $upload == 0 Then MsgBox(0, "Error", @ERROR) EndIf EndFunc It's not an error connecting to the server, its an error with the _FTP_FilePut function and the error I am getting is "0" so its not a very descriptive error...
×

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.