Access your computers from FTP

Discussion in 'Programming' started by sk89q, Feb 23, 2013.

  1. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    You can access your ComputerCraft computers from FTP!
    1. Set an FTP access key on your forum preferences page.
    2. On the computer that you want to access, run the program skcraft-authorize in shell and follow the instructions.
    3. Login to the FTP server at address ftp.skcraft.com, port 24000 with your forum username and your FTP access key.
    2013-02-23_19.13.03.png
    Note: You may have to re-login to FTP for changes to take effect if you adjust authorization settings on a computer.

    [h2]Access from your editor[/h2]

    Users of Notepad++ can use the NppFTP plugin to instantly edit Lua files and upload them immediately.

    editor.png
     
    Chaeris, gknova61 and Ali like this.
  2. Neonbeta

    Neonbeta Person who did stuff and things

    Joined:
    Mar 2, 2012
    Messages:
    2,603
    Likes Received:
    757
    Dammmnnnn sk, you've been busy!
     
    Punkandgoth and Chaeris like this.
  3. shields42

    shields42 Systems Architect

    Joined:
    Jan 14, 2013
    Messages:
    67
    Likes Received:
    20
    Very impressed.
     
  4. gknova61

    gknova61 Farbes Lover

    Joined:
    Mar 17, 2012
    Messages:
    1,238
    Likes Received:
    350
    :eek: you did it.

    Edit: Won't let me login either
     
  5. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    Oct 26, 2012
    Messages:
    479
    Likes Received:
    116
    It doesn't let me log into FTP://alice.sk89q.com:24000
    D:
    Code:
    220-Welcome to the SKCraft files server! Login with your SKCraft FTP access key (NOT your forum password).
    220 
    -> USER DoomCommando  
    331 Username ok, send password.
    -> PASS *HIDDEN*
    530 Sorry, incorrect credentials. remember, your ftp access key, not your password.
    Unable to connect
    Disconnected
    
    (And yes. I used the key I set.)
     
  6. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    OK I fixed it I think.
     
  7. LeiserGeist

    LeiserGeist Gamer, Software Developer

    Joined:
    Oct 26, 2012
    Messages:
    479
    Likes Received:
    116
  8. gknova61

    gknova61 Farbes Lover

    Joined:
    Mar 17, 2012
    Messages:
    1,238
    Likes Received:
    350
    Doesn't work again D:
     
  9. 0070071

    0070071 Too many arguments with Neon/Shad, or about GT.

    Joined:
    Jan 21, 2012
    Messages:
    210
    Likes Received:
    14
    Connection closed without indication. :(
     
  10. xXSHREKKIDXx

    xXSHREKKIDXx chaosdev.us

    Joined:
    Jul 4, 2012
    Messages:
    20
    Likes Received:
    0
    Hey i get a Failure retrieving contents of directory
     
  11. xXMadNessXx

    xXMadNessXx Beware of the MadNess

    Joined:
    Jan 28, 2012
    Messages:
    1,219
    Likes Received:
    496
    It's offline atm, afaik. Wait for sk to have more time so he can fix it again.
     
  12. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    I think it's fixed now.
     
  13. Kris214

    Kris214 Highnerd Kris

    Joined:
    Dec 27, 2012
    Messages:
    14
    Likes Received:
    6
    Aye, Confirmed, (username is caps sensitive >.<)
    Uploaded, Browsed to, and run.
    Note: the program should be located in the folder with the computers name, NOT the .skcraft folder.
    Also: i was only able to login with google chrome and filezilla, NOT NP++, or Fireftp.
     
  14. 0070071

    0070071 Too many arguments with Neon/Shad, or about GT.

    Joined:
    Jan 21, 2012
    Messages:
    210
    Likes Received:
    14
    550 not enough priveldges, looks like the files are read-only, I will try with a different program
     
  15. TripleDogDare

    TripleDogDare New Member

    Joined:
    Jan 23, 2013
    Messages:
    10
    Likes Received:
    0
    I've gotten two computers to authorize and work with FTP and no luck with others. Tried relabeling, reauthorizing, etc.
    Been using FileZilla and NppFTP. Both connect and access files just fine.

    Possibly FTP doesn't work with Advanced Computers.
     
  16. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    Works with both, as they are practically the same. I need the numbers of the computers (os.getComputerID() in Lua) that don't work.
     
  17. TripleDogDare

    TripleDogDare New Member

    Joined:
    Jan 23, 2013
    Messages:
    10
    Likes Received:
    0
    The only one that I still haven't gotten working is ID# 180.
     
  18. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    OK I fixed the problem with computers not showing.
     
  19. Tonius

    Tonius 555 Eternal Server Error

    Joined:
    Jan 30, 2012
    Messages:
    480
    Likes Received:
    392
    Nice work SK! Can you also tell us what was exactly the problem? :3
     
  20. sk89q

    sk89q Administrator
    Staff Member

    Joined:
    Dec 1, 2011
    Messages:
    2,490
    Likes Received:
    1,504
    Hard limit of 20 computers checked before it aborted and pretended the others didn't exist. The order wasn't defined so anything could disappear at any point in time.
     
    Roken and tonius11 like this.