Sign in to follow this  
Followers 0
NELyon

"Send to Abyss"

2 posts in this topic

#1 ·  Posted (edited)

This is a small script i use to update my website after i reformatted. It takes the cmdline file and copies it to the Abyss Web Server htdocs directory.

What i do is i keep a compiled version in the "Sendto" folder so i can easily copy all files to my server.

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.2.0
 Author:         Codemyster/D-Generation X/Senton-Bomb WOW i have alot of names...

 Script Function:
    Sends any file to the Abyss Web Server htdocs directory
    
 Requires:
    Abyss Web Server

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

If $CmdLine[0] = "" Then
    InvalidParam()
Else
    For $i = 1 to $CmdLine[0]
        FileCopy($CmdLine[$i], _AbyssGetDir() & "\htdocs\")
    Next
EndIf

    

Func _AbyssGetDir()
    local $installdir
    $Installdir = RegRead("HKEY_CURRENT_USER\Software\AbyssWebServer", "Install_Dir")
    Return $InstallDir
EndFunc

Func InvalidParam()
    If not $CmdLine[0] = "" Then
        Return -1
    Else
        MsgBox(0, "Error", "Invalid Param or No Param Passed. Please Correct")
    EndIf
EndFunc
Edited by Senton-Bomb

Share this post


Link to post
Share on other sites



I'm not sure why, But i licensed this under a Creative Commons license. Anybody can build off it and release it.

(http://creativecommons.org/licenses/by/3.0/us/)

So why not make it compatible with Apache too. I don't use apache but I'm sure many of you do :whistle:

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