The Daily Click ::. Forums ::. Klik Coding Help ::. Sending Files
 

Post Reply  Post Oekaki 
 

Posted By Message

Zapper



Registered
  05/02/2003
Points
  435
19th February, 2004 at 13:01:18 -

Hi

Is there a way for one application to send a file to another application through MooClick or something

And if so, how do you do it?

I have a good online game up and running but I would like to put in file sending/receving

Thanks very much,

Zapper

 
n/a

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
19th February, 2004 at 15:40:08 -

this is how i'd do it:

using the FTP object, you could have one application upload it to some FTP space. then use moo to send the location of the file to the other machine, which could then use the FTP object to download the file (deleting from the server if necessary).

 
www.thenatflap.co.uk

Rycon



Registered
  20/09/2002
Points
  996
19th February, 2004 at 23:03:08 -

Too bad FTP object doesnt work for everybody.. including me..

 
We are the music makers, we are the dreamers of dreams...

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
20th February, 2004 at 02:30:17 -

doesnt work for me either, it just crashes.
i hope someone makes a better FTP object that actually works

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
20th February, 2004 at 07:21:41 -

I'd use MooSock to set up a server for the person sending the file, and send a message (via MooClick) to the guy you want to send to with your IP (get that from the MooSock object). He connects to the sender and the sender sends the file.

 
n/a

Mr Icekirby



Registered
  18/12/2003
Points
  846
25th February, 2004 at 23:07:12 -

why doesn't the ftp work very well?

 
Mr Icekirby says so!
OBEY ME!

Kramy



Registered
  08/06/2002
Points
  1888
26th February, 2004 at 17:31:41 -

Once I used the Binary Object to send binary over a mooclick channel, and have the other side reassemble it.

Too bad it was limitted to about 1250bytes/sec.

 
Kramy

Mr Icekirby



Registered
  18/12/2003
Points
  846
28th February, 2004 at 10:17:03 -

that is a good idea! load it as text and fix it on the other side! i never would have thought of that! be glad the file goes faster then dial up!

 
Mr Icekirby says so!
OBEY ME!

Kramy



Registered
  08/06/2002
Points
  1888
28th February, 2004 at 19:12:15 -

Dialup is about 5000bytes/sec.

Edit: It works well for a small ini file though. Just load it up and send it to other people.

Image Edited by the Author.

 
Kramy

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
28th February, 2004 at 21:17:55 -

I'd be inclined to use MOO, though it does require a lot more work. Simply set a specific amount of data at a time, get confirmation from the receiver once the data has been completely received, then send the next part. Dont send the information based on lines, because if you're sending something like an executable then you'll find that sometimes you get files that go for megabytes without a line break, so you'll sit there for ages and it will appear as if nothing is happening.

Mike

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Kramy



Registered
  08/06/2002
Points
  1888
29th February, 2004 at 00:21:49 -

Break it up into 250 char strings and number them(001,002,003....029, etc.) then sort them in a list and reassemble in proper order.

Then you can send them out at the fastest possible speed, and not have to wait for "send next" confirmation.

 
Kramy
   

Post Reply



 



Advertisement

Worth A Click