shadesdude Posted August 6, 2007 Share Posted August 6, 2007 (edited) This utility allows you to add FTP upload ability to Scite, so whenever you are ready to release your next big version of whatever you are making it's a simple keyboard shortcut. Not too bad for a lazy Sunday's work. Pardon the messy code and the lack of comments I have the attention span of a hummingbird. Once I get some more time I will create a roll-back mechanism so you can fix the boo-boo's as well as a pre-processor to speed the scripts up.Features:Auto-Increments version number.Adds a copy of the curent source to the Upload directory. No more having to index source code.Adds _InetUpdate so you don't have to worry about creating your own update function (For now you are required to have _InetUpdate.au3 in your include folder).Uploads to a FTP server with a per-script server selection.Archives old versions of the program in your upload folder.Integrated for Scite use.Until I make an Installer I'll just throw up a How-To.User-InstallOpen Scite, Click Options - Open au3.PropertiesAfter Item #33 add # 34 Publish File and update version command.34.*.au3=$(SciteDefaultHome)\Publish\Publish.exe "$(FilePath)" command.name.34.*.au3=Publish File command.save.before.34.*.au3=1 command.shortcut.34.*.au3=Ctrl-W command.is.filter.34.*.au3=1 and save.Save the exe to \*autoitinstallpath*\SciTE\Publish\Publish.exeUse the shortcut Ctrl+W in Scite to start.Enter your FTP info *Note - Server field is simply "yoursite.com" and Directory Field does not require a trailing "\"Sit back and relax as all your users programs auto-updatePublish.au3Publish.exeCredit to all the UDF makers w0uter and such as well as all the Autoit Devs. Great job guys.P.S. Help me find a better shortcut than Ctrl-W Edited August 6, 2007 by shadesdude Link to comment Share on other sites More sharing options...
JRSmile Posted August 6, 2007 Share Posted August 6, 2007 please remove the ftp user and password. if this was a failture to show. $a=StringSplit("547275737420796F757220546563686E6F6C75737421","") For $b=1 To UBound($a)+(-1*-1*-1)step(2^4/8);&$b+=1*2/40*µ&Asc(4) Assign("c",Eval("c")&Chr(Dec($a[$b]&$a[$b+1])));''Chr("a")&"HI" Next ;time_U&r34d,ths,U-may=get$the&c.l.u.e;b3st-regards,JRSmile; MsgBox(0x000000,"",Eval("c"));PiEs:d0nt+*b3.s4d.4ft3r.1st-try:-) Link to comment Share on other sites More sharing options...
shadesdude Posted August 6, 2007 Author Share Posted August 6, 2007 I did and changed it on the server. I overlook the stupidest things. Link to comment Share on other sites More sharing options...
_Kurt Posted August 6, 2007 Share Posted August 6, 2007 Also, might want to change Line 172, "D:\Program Files" => @ProgramFilesDir Not everyone has a D drive, I have a C drive. Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
shadesdude Posted August 6, 2007 Author Share Posted August 6, 2007 (edited) Fixed it and am gonna change the behavior a little so that it doesn't insert the operating variables into the script. So no one else will forget and post thier FTP info Updated first post with fixes and if you already have the exe it should autoupdate. Edited August 6, 2007 by shadesdude Link to comment Share on other sites More sharing options...
shadesdude Posted August 7, 2007 Author Share Posted August 7, 2007 Any other bugs I need to fix? or feature requests? or comments. haha I need more friends. Link to comment Share on other sites More sharing options...
ineedh3lp Posted September 16, 2011 Share Posted September 16, 2011 I have a question. How to increase upload speed limits when using AutoIt to upload to FTP servers? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now