The Daily Click ::. Forums ::. Klik Coding Help ::. File transfer in MMF
 

Post Reply  Post Oekaki 
 

Posted By Message

chrilley

Insane Beaver

Registered
  05/01/2002
Points
  704

Game of the Week WinnerVIP Member360 Owner
23rd November, 2005 at 13:53:02 -

Possible to make a program that transfer a file between 2 computers? Without using ActiveX object that is...

If so... give me some direction please

 
Image

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
23rd November, 2005 at 14:17:40 -

Making a screenshot with screenshot sender, then uploading it and downloading it?

 
Old member (~2004-2007).

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
23rd November, 2005 at 16:39:22 -

I think he means, something like AIM's File Transfer, only between 2 MMF games, without using the ActiveX object.

I recall hearing its possible if you use the binary object and MooSock, but I'm not sure. Anyone else?

 
http://www.facebook.com/truediamondgame

chrilley

Insane Beaver

Registered
  05/01/2002
Points
  704

Game of the Week WinnerVIP Member360 Owner
23rd November, 2005 at 18:03:22 -

I have no idea what you're talking about Davince.
Yeah Brandon, like the AIM File transfer.

It should be possible, since files is just strings of code. One object reads the file and copying the code, while the MooObject sends the data and the reciever gets it and saves a file of it...? I just can't get the theory to work.

 
Image

Liquixcat

Administrator
Lazy Coder

Registered
  08/12/2002
Points
  201

VIP MemberLikes TDCKitty
23rd November, 2005 at 19:01:47 -

You'd have to use the binary object on the server and client. Switch the file to binary with the Binary object, send the LONG string to the client, then the client reassembles the binary code to a file. The client would need to know when to reconstruct the file so directly after send a string to inform the client it's time to reconstruct the binary.

At least, I'd assume so.

 
thinking is like pong, it's easy, but you miss sometimes.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
23rd November, 2005 at 19:03:08 -

Uhhh... FTP object and SUPA SUPA download object?

 
n/a

Keatontech!

Possibly Insane

Registered
  10/07/2005
Points
  2720
23rd November, 2005 at 21:36:37 -

I wrote an article on objects that do that kind of thing. You can find it at http://www.create-games.com/article.asp?id=1611

 
Happily Using Mac Now

I Officially Leave-d !

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
24th November, 2005 at 01:58:36 -

Use the binary object.
I think someone made a tutorial over at CT Forums on how to download files from a HTTP server using the binary object - it basically got all the code from a download and compiled it. You'd be able to send the code over via Moo and then compile it on the client I think. I'll try make an example later.

Or you can use FTP object and Supa Supa Download. You can upload file using FTP object, then download it using SSD. Although then you can be wasting webspace (unless you use FTP object to delete the file afterwards) and also you actually need an FTP server which will probably cost money. Your choice.

 
This is a signature. Have this one on me.

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
24th November, 2005 at 02:15:36 -

I recently found out about a really nice extention how ever, Webget. Supa Supa worked, but it just felt unstable in my oppinion. Webget just feels alot more stable and easier to use. I personally, would recommend it over SupaSupa Download.

 
http://www.facebook.com/truediamondgame

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
24th November, 2005 at 02:25:06 -

He means peer to peer though, so you can't use the SuperSuperDownload extension or webgrab. I think he would have to use moosock and send the binary over, or use the binary line sending in moogame?

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
24th November, 2005 at 08:35:54 -

Hm, strangely enough I thought he meant something like screen sharing...

 
Old member (~2004-2007).

Keatontech!

Possibly Insane

Registered
  10/07/2005
Points
  2720
24th November, 2005 at 10:53:16 -

It's called the WebGrab object, not the WebGet object. There is a link to it in my articlr, i'm too lazy to rewrite the link here

 
Happily Using Mac Now

I Officially Leave-d !

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
24th November, 2005 at 17:28:12 -

Yes its very possible, what liquixcat said is pretty much the way to do it.
I remember asking on the CT forums about this ages ago, as i was making a Chat application and wanted a feature like this. i never did get it to work as i dont know anything at all about MOOsock or Binary for that matter, but if you know what your doing its possible.
Search the CT forums for more help on how to do it, they are always the best for these things or even better re-ask about this there and if your lucky, someone might whip up an example for you.

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

Post Reply



 



Advertisement

Worth A Click