Jump to content

help with sending to ftp


 Share

Recommended Posts

Iv tryed jsut about any thing btw this is just a simple thing for silkraod so wehn ur boting you can see how ur doing from woork or school or waht ever

I need a working ftp uploader and it allso has to beable to replace them to

#include <ScreenCapture.au3>
#include <ftp.au3>

HotKeySet("{End}","end")
hotkeyset("{pause}","pause"); press to pause, and unpause
$pause=-1
sleep(100)
$pause= NOT $pause

$answer = InputBox("Wait time","Min's Inbetween updates")


While 1
WinActivate("SRO_Client","")
WinWaitActive("SRO_Client","")
Sleep ($answer*60000)
_ScreenCapture_Capture(@ScriptDir & "/Images/Location.jpg",1153,0,1277,45)
_ScreenCapture_Capture(@ScriptDir & "/Images/Xp & Sp.jpg",242, 976,464, 1020)
_ScreenCapture_Capture(@ScriptDir & "/Images/LvL.jpg",165, 11,210, 29)
WEnd

Func pause()
$pause=NOT $pause
While $pause
tooltip("Paused",0,0)
sleep(10)
WEnd
Tooltip("")
EndFunc

Func end ()
    Exit
EndFunc

Func Upload ()
    While 1
$server = 'myhost'
$username = 'username'
$pass = 'password'

$Open = _FTPOpen('MyFTP Control')
$Conn = _FTPConnect($Open, $server, $username, $pass)
$Ftpp = _FtpPutFile($Conn, "\Images\", 'www/status1.freehostia.com/Images/')
$Ftpc = _FTPClose($Open)
WEnd
EndFunc
Edited by omfg2007
Link to comment
Share on other sites

  • Moderators

Dosent any one know how ??

Many know how... but bumping your thread 20 minutes after you posted is only going to get it locked and the answer to remain a mystery.

You should wait at least 24 hours before bumping.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...