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

[Request] Can someone make me a file transfer?

Started by LDDestroier, 05 November 2014 - 09:46 PM
LDDestroier #1
Posted 05 November 2014 - 10:46 PM
I was searching the CC forums for a good file transfer program to use on lualand, but came up short of what I was expecting. I found some programs that had both client and server as separate applications, which I found unappealing. I found something called 'Bluetooth' which functioned well, but it had sleep() delays that bogged it down, and it sent lines of code one at a time, slowing it down drastically.
Could someone make me a rednet file transfer program that:

1. Uses arguments for send/receive
2. Can run in the background when receiving
3. Sends all of the information at once, rather than each line
4. Allows broadcasting files, so you don't need to send to a specific id
5. Allows not accepting files from certain ids, to prevent spamming
TurtleHunter #2
Posted 05 November 2014 - 10:58 PM
3. You shouldnt send all the information in one message, if its too big it can cause problems
Agent Silence #3
Posted 05 November 2014 - 11:03 PM
Didn't I make you a program for this?
LDDestroier #4
Posted 05 November 2014 - 11:16 PM
Didn't I make you a program for this?

You did? Could you point me to it? I must've forgotten.
theoriginalbit #5
Posted 05 November 2014 - 11:26 PM
3. You shouldnt send all the information in one message, if its too big it can cause problems
incorrect. you're more likely to 'cause problems for a server by sending lots of little messages, than by sending one large message
oeed #6
Posted 06 November 2014 - 04:46 AM
I know you've been asking for a standalone version of Transmit, which, for the reference, I won't be doing. Quite honestly, I'd just try making your own. You'll learn a lot by doing it and you'll be able to get exactly what you want.
MKlegoman357 #7
Posted 07 November 2014 - 03:35 PM
Or you could use my RedFile program which has kind of all the features you need plus a file browser. It has a command-line interface if you want that and it works with both: normal and advanced computer, which means that you can either use your mouse or keyboard buttons to navigate. Anyway, if you have Oeed's AppStore installed (probably through OneOS) you can just download RedFile from here.
LDDestroier #8
Posted 07 November 2014 - 03:42 PM
Or you could use my RedFile program which has kind of all the features you need plus a file browser. It has a command-line interface if you want that and it works with both: normal and advanced computer, which means that you can either use your mouse or keyboard buttons to navigate. Anyway, if you have Oeed's AppStore installed (probably through OneOS) you can just download RedFile from here.

I think I tried RedFile before, but to be honest, I didn't really go very deep. I'll try it again.
LDDestroier #9
Posted 07 November 2014 - 07:34 PM
Or you could use my RedFile program which has kind of all the features you need plus a file browser. It has a command-line interface if you want that and it works with both: normal and advanced computer, which means that you can either use your mouse or keyboard buttons to navigate. Anyway, if you have Oeed's AppStore installed (probably through OneOS) you can just download RedFile from here.

Wait a minute, I looked at it and it said under 'Coming Soon':
New features coming! Including:

Remote file server and client system
Copy, Move, Paste
Run, Run with arguments
Open with
Delete
Send, Receive files
Create new Folder, File
Check Program for errors
Show error when program errors
Double-click support
Customize colors
Default folder setting
New function that will pop a new window in which you will be able to select a folder, file or a specific file.

…of which it said Remote file server and client system. You HAVE added that aspect, right? Like, I could transfer files over to another rednet device with RedFile?
MKlegoman357 #10
Posted 07 November 2014 - 10:24 PM
I made this program for the "Code Wars - Reloaded" contest. The first challange was to make a rednet file sender and receiver. That's why I made RedFile. The file sending and receiving was its main idea, I only added the file browser feature for easier usage. So you can actually send and receive files with this one program. The remote file server and client was supposed to be a FTP-alike system. Sadly I never updated it..
oeed #11
Posted 07 November 2014 - 11:37 PM
I made this program for the "Code Wars - Reloaded" contest. The first challange was to make a rednet file sender and receiver. That's why I made RedFile. The file sending and receiving was its main idea, I only added the file browser feature for easier usage. So you can actually send and receive files with this one program. The remote file server and client was supposed to be a FTP-alike system. Sadly I never updated it..

Oh right I completely forgot about that. I'll see if I've still got the entries somewhere. I think my entry ended up turning in to Transmit.
Edited on 07 November 2014 - 11:16 PM
Kouksi44 #12
Posted 07 November 2014 - 11:54 PM
Uhm does it have to be a program or would be an API that offers similar functionality okay too ?

I posted an API for this some time ago although it was pretty basic and did not have any features than sending an receiving files :D/> but I have been working on it for a days after I found the project again and now it could fit your needs pretty well.
Creator #13
Posted 16 February 2015 - 10:29 PM
Hey,

soon I will be uploading my FTPclient/server program to the forums. In the mean time just ckeck the installer.