Sign in to follow this  
Followers 0
omfg2007

help with sending to ftp

4 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



Dosent any one know how ??

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

well i want to know and iv looked and followed every thing it jsut dosent work!

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  
Followers 0