Jump to content


Photo

U.y.ftp V1.2 Update


  • This topic is locked This topic is locked
148 replies to this topic

#1 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 16 January 2004 - 06:04 PM

well i made an ftp dll called U.Y.ftp v1, i dont know why someone hasnt allready made one it wasent really too difficult to do unless they dident want to make one without a status indicator (i dont really get how that works, ill probly make a status indicator in a future release of this dll)

heres what U.Y.ftp v1 can do:
upload
download
renamefile on ftp
deletefile on ftp
deletedir on ftp
createdir on ftp
setworkingdir on ftp

and a few other ones that im probly forgetting


To download, go to: http://www.angelfire...ak2/censored4u/
Then, paste this to your address bar: http://www.angelfire.../U.Y.ftp_v1.zip


ps: something i just thought of: to give your passwords/usernames more protection from prying eyes, try encrypting them in a file and including that with your game. then read the file and decrypt it within gm that way your username/password shouldent be readable easyly i coulda done it but im too lazy plus i wanted people to be able to log in to the example server with the angelfire web shell to see that yes this dll does work.


also Richard if you read this could you put a link to U.Y.ftp v1 under my name in the pinned topic? thanks <_<
  • 0

#2 Sockets

Sockets

    GMC Member

  • New Member
  • 4 posts

Posted 16 January 2004 - 06:17 PM

Well done. Its your first DLL that is actually useful. <_<
  • 0

#3 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 16 January 2004 - 06:20 PM

syscolorz was usefull if you were making a sub os or whatever and the internal speaker one would have been more usefull if ms had never made windows xp.
  • 0

#4 Guest_juju1828_*

Guest_juju1828_*
  • Guests

Posted 16 January 2004 - 11:50 PM

One function you should make is the DIR function or have the DLL return a list on the the current files on the logged on server.

EDIT: Are you ever going to release the source code?

Edited by juju1828, 16 January 2004 - 11:50 PM.


#5 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 17 January 2004 - 02:51 AM

yeah i think a dir function to get a list would be good, its just that thats another thing thats kind of complex-- either that or i just think so because i have an old SDK and its not documented....

the main reason i dident release source is because the download function could very easyly modifyed be made to allow a "stealth" download that is a download that could download without the user knowing, save it to some obcure place on the hard drive, and then run it.

so anyway 2 things ill look into is getting a list of files/using a status bar for a next version if i get around to figureing those things out. glad ya tryed it :angry:
  • 0

#6 Yani

Yani

    GMC Member

  • New Member
  • 48 posts

Posted 18 January 2004 - 12:46 AM

I think you made a serious mistake when you decided to add the question dialog for the download function. There is another dll that works completely silent. What if I made a game that depends highly on internet. The player would get frustrated really quick if he gad to click ok all the time. It's up to the author how he uses your dll. It's ok if you don't want people to use your dll to damage someones computer, but this way hardly no one would use it in a game!
  • 0

#7 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 18 January 2004 - 01:14 AM

well a dll really shouldent have to download from the internet very often though (at least not in a well made gm game, in a very complex game maybey)... just for like updates or maybey get a highscore table now and then. ill change it though to get rid of the message box to make it download quietly if no one has anything against it.....
  • 0

#8 Flawed

Flawed

    GMC Member

  • New Member
  • 90 posts

Posted 22 January 2004 - 09:51 PM

I'm using this .dll to let people upload text files to my wesite, so I have to log in with my account name and password. The code I'm using looks like this:
server="name of server"
username="My account name"
password="mypassword"

Is this safe, or do you think I need to encrypt my info like you said above. If so do you have and example
  • 0

#9 PJ Games

PJ Games

    NUFC Rulz!

  • New Member
  • 38 posts

Posted 22 January 2004 - 10:07 PM

You should encrypt as it has to be written as a text file before upload, so it could be alterd. There are plenty of DLLs around to do that
EDIT : Sorry wrong thing, but you need to encrypt them as they are just variables in the RAM otherwise

Edited by PJ Games, 22 January 2004 - 10:09 PM.

  • 0

#10 Flawed

Flawed

    GMC Member

  • New Member
  • 90 posts

Posted 22 January 2004 - 10:25 PM

Thx, anyone have any examples...I could probably make one but it would be easy to crack..I need someone who knows what they're doing
  • 0

#11 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 22 January 2004 - 10:44 PM

well my idea was that you could encrypt your info and then save it as a variable, then decrypt it with your program. even if it turned "username", "password" into !@#$%&#@!@$@(@(()@$*@ or something it would be a ton safer no one who knows how to get the decription algoritim from your program isnt going to care about getting in your server for malicious reasons anyway... i spose i could try and come up with something tonight in gml if i have enough time (a lot of times gml takes me longer than c++ to do certain things because im so used to c++ now :blink: )
  • 0

#12 Guest_M2k3_*

Guest_M2k3_*
  • Guests

Posted 22 January 2004 - 10:59 PM

What exactley does FTP stand for?

#13 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 22 January 2004 - 11:02 PM

ftp stands for
File Transfer Protocol


its a wonder no one has asked what U.Y. stand for... unless everyone downloaded it and saw it in the readme :blink:
  • 0

#14 Flawed

Flawed

    GMC Member

  • New Member
  • 90 posts

Posted 23 January 2004 - 02:43 AM

I found an encryption example, and got my program working...thx for the help
  • 0

#15 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 23 January 2004 - 02:44 AM

could you post the example so people can use it too? change it from the version you used so it encrypts differently so your program is more secure. and remember the license you have to e mail me a link to your program when your done ::lmao::
  • 0

#16 Flawed

Flawed

    GMC Member

  • New Member
  • 90 posts

Posted 23 January 2004 - 03:37 AM

Here's a link to the topic about encryption:

CLICK HERE


As soon as I put it on my web site I'll send you a link. I'm not sure that I'm ready to realease it yet

It may take awhile. I'm working on some new features

Edited by Flawed, 23 January 2004 - 08:12 PM.

  • 0

#17 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 03 April 2004 - 05:18 PM

allright cause of all the complaints i have updated the dll to 1.2 and gotten rid of the confirmation messagebox before download, i have updated U.Y.ftp to allow for "stealth" downloads. the readme's are slightly updated and i would like users to re- read them and especialy pay attention to this part

so now
your programs can stealth download. but because of this be warned-
some antivirus companys dont take too well to stealth downloads.
please note that there is an older version of this dll that is slightly
larger and has a confirmation messagebox before a download at
http://www.angelfire...U.Y.ftp.v10.zip it would
be best if you used this one to make certain your program isnt
considered a virus by any antivirus people.

another upside to this update is the dll is now smaller. (not because of the messagebox- because i compiled it with debug info last time and i figured out how to get that out) so now the dll is about a third of the size it was with all the same functions, and the overall download of the dll package is around half the size (like 31k)

next few updates when i finaly get around to figureing them out: (no specific order)

dir function to get list of all files in directory
progress function -to get the progress of a download/upload
read a file directly from ftp without downloading it first
write a file directly on ftp without a need for upload

by the way since this was only a minor update, the dll link is the same, however there is now a link(up in the quote from the readme) in case anyone doesnt want there games to possibly be seen as possible viruses by antivirus companys.

Edited by ih8censorship, 03 April 2004 - 05:29 PM.

  • 0

#18 samnoon93

samnoon93

    samn00b93

  • New Member
  • 73 posts

Posted 07 April 2004 - 07:30 PM

I think I might use this DLL to make a free file hosting service like Microtech but with a limit on number of files and file size.
  • 0

#19 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 07 April 2004 - 08:40 PM

oh yeah? well its not an ftp server,its more like an ftp client without the more advanced things like progress bars, which i really should work on..... but good luck anyways ::lmao::
  • 0

#20 Guest_jammymacster_*

Guest_jammymacster_*
  • Guests

Posted 07 April 2004 - 09:43 PM

i think the download function will be useful for checking for updates and downloading updates.

It could download and read a file from your web space and check it to se if there are any updates then download the update from the address given in the file.

You need to be careful tho because trying to add updates to a game can mess it up if not done carefully




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users