This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Final Approach's profile picture

ComputerCraft FTP

Started by Final Approach, 03 February 2014 - 11:22 PM
Final Approach #1
Posted 04 February 2014 - 12:22 AM
So I can connect to my NAS and escape from Pastebin!
Add a FTP API
ftp.command(command)
ftp.copy(wtever)
ftp.login(wtever)
etc.
PS. Anyone want my NAS Model?
1. I want to use it to connect to my FTP server for ComputerCraft Program downloading, It's way easier to download and I don't know how to link to something outside htdocs.My NAS's sys partition is 2G Raid…
Edited on 04 February 2014 - 07:13 PM
theoriginalbit #2
Posted 04 February 2014 - 12:25 AM
… well based on the extremely little amount of information you've provided — way more is needed when writing a successful suggestion — you can write your own program and web interface to do this…
Lyqyd #3
Posted 04 February 2014 - 12:29 AM
This is already thoroughly possible. Simply direct the web request at an appropriate http service running on your NAS, as theoriginalbit mentioned. It's highly unlikely that game-external network I/O methods aside from the existing http calls will be added, I suspect.
Final Approach #4
Posted 04 February 2014 - 12:30 AM
… well based on the extremely little amount of information you've provided — way more is needed when writing a successful suggestion — you can write your own program and web interface to do this…
Edited
awsmazinggenius #5
Posted 04 February 2014 - 12:34 AM
You can still do this yourself.
theoriginalbit #6
Posted 04 February 2014 - 12:34 AM
… well based on the extremely little amount of information you've provided — way more is needed when writing a successful suggestion — you can write your own program and web interface to do this…
Edited
oeed #7
Posted 04 February 2014 - 04:18 AM
This was discussed fairly in depth here.
Final Approach #8
Posted 04 February 2014 - 07:29 AM
… well based on the extremely little amount of information you've provided — way more is needed when writing a successful suggestion — you can write your own program and web interface to do this…
Edited
Lol. Thanks.
ingie #9
Posted 04 February 2014 - 01:14 PM
So I can connect to my NAS and escape from Pastebin!

what is actually the thing you're trying to do?

if you're trying to use your NAS as a place to copy and edit programs from your CC session, and it's a home-server game or local SSP then you can directly edit the programs by browsing into the computer folder of your world…

if you're trying to back up all your computers' code to your NAS, you can just zip + copy the folder from the world above in the same way…

if you're trying to do something else… i'm not sure what it would be or why :)/>
oeed #10
Posted 04 February 2014 - 03:23 PM
… well based on the extremely little amount of information you've provided — way more is needed when writing a successful suggestion — you can write your own program and web interface to do this…
Edited
Lol. Thanks.

You're still being far top brief. Adding one line isn't 'way more'.
Try to actually describe what you want to do with it.
theoriginalbit #11
Posted 05 February 2014 - 08:09 AM
I did.
maybe take a look at other suggestions. 'cause if you think that what you've got here is enough then you're sorely mistaken.
Left4Cake #12
Posted 28 February 2014 - 02:31 AM
I think is suggetion is pretty clear, He wants FTP to be added to Computercraft so he can download stuff from his FTP server, but as long as it also as HTTP he could just use that.

Heck with PHP you could upload them too since computer-craft files tend to be very small and can be sent in post data.