Jump to content


Photo

No Delay Ftp Upload Dll


  • Please log in to reply
36 replies to this topic

#1 GearGOD

GearGOD

    Deus Verus

  • GMC Member
  • 2153 posts

Posted 31 May 2006 - 08:48 AM

This dll can be used to run an FTP connect and upload on a sepperate thread, allowing your program to keep running while the upload takes place. There are provided downloading and directory-changing functions, but they are not threaded, or even tested. This thing comes as-is.
I also provided a mechanism that tracks running uploads and allows to enqeue new ones which will be processed after the current ones are done. All this happens quietly and leaves your game to do whatever the hell it wants in the meantime.

download

Edited by GearGOD, 23 May 2008 - 11:49 PM.

  • 0
Engineers are not programmers. Stop thinking that you can save a few bucks by writing code yourself instead of hiring a programmer. Your code sucks.

#2 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 31 May 2006 - 07:48 PM

really nice one.
many people were asking for this and I wonder why there are no replies.
  • 0
GM 8.1 / GM:HTML5 User

#3 Chirantha

Chirantha

    GMC Member

  • New Member
  • 502 posts

Posted 01 June 2006 - 04:34 AM

Nice work geargod!

I wonder why no replies. Funny :|

NIce work 10/10 :)
  • 0

#4 Verruckt

Verruckt

    GMC Member

  • New Member
  • 54 posts

Posted 17 June 2006 - 01:05 AM

I finally got the upload part to work. But I can't get the "download" part of it to work. Can anyone help?

Edited by Verruckt, 20 January 2009 - 06:03 PM.

  • 0

#5 Timmo

Timmo

    GMC Member

  • New Member
  • 558 posts
  • Version:GM:HTML5

Posted 17 June 2006 - 07:02 AM

Is it secure, i mean can someone capture the password and data when he or she is playing that game.
  • 0

Posted Image Posted Image


#6 GearGOD

GearGOD

    Deus Verus

  • GMC Member
  • 2153 posts

Posted 17 June 2006 - 07:24 AM

Is it secure, i mean can someone capture the password and data when he or she is playing that game.

Sure why not. Anyone can capture anything, that's why you don't give your games access to non-public sections of your webspace.
  • 0
Engineers are not programmers. Stop thinking that you can save a few bucks by writing code yourself instead of hiring a programmer. Your code sucks.

#7 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 17 June 2006 - 11:52 PM

I was looking for something along these lines, seeing as DOS upload was not sufficient in most cases. I now have an Upload button in all my file right click menus. :-)
  • 0
Posted Image LateralGM is an IDE for editing GM files on Linux, Mac, and Windows.
We also house the GM File Format Documentation and other projects of that nature.
IsmAvatar.com | Examples | Scripts | Particles | DLLs | Credit Me
Email | Registered

#8 ih8censorship

ih8censorship

    GMC Member

  • New Member
  • 165 posts

Posted 18 June 2006 - 07:40 AM

Sure why not. Anyone can capture anything, that's why you don't give your games access to non-public sections of your webspace.

unless something has changed, anyone with a packet scanner should be able to get your username and password and log in manuelly with it and have access to whatever that name does. but ya you could control what the program itself accesses i guess...
  • 0

#9 Verruckt

Verruckt

    GMC Member

  • New Member
  • 54 posts

Posted 18 June 2006 - 08:27 AM

I can't get the "download" part of it to work. Can anyone help?

<{POST_SNAPBACK}>

Anyone, please? So far all I've managed to do is somehow create a 0kb file that disappears after about 3 seconds.

Edited by Verruckt, 20 January 2009 - 06:03 PM.

  • 0

#10 Verruckt

Verruckt

    GMC Member

  • New Member
  • 54 posts

Posted 20 June 2006 - 02:45 AM

Why am I being ignored?
  • 0

#11 ChIkEn AtE mY dOnUtS

ChIkEn AtE mY dOnUtS

    Pwner of barcodes

  • GMC Member
  • 2410 posts

Posted 20 June 2006 - 02:50 AM

"There are provided downloading and directory-changing functions, but they are not threaded, or even tested. This thing comes as-is."

Did you read?
  • 0
I've moved away from GM. If you want to contact me, feel free to email ryanwebdev@gmail.com.

Thanks,
Ryan.

#12 Verruckt

Verruckt

    GMC Member

  • New Member
  • 54 posts

Posted 20 June 2006 - 05:27 AM

"There are provided downloading and directory-changing functions, but they are not threaded, or even tested. This thing comes as-is."

Did you read?

<{POST_SNAPBACK}>

What, so that means that they simply do not work? ... Or that no-one knows how to work them?
  • 0

#13 freaky_entertainment

freaky_entertainment

    GMC Member

  • GMC Member
  • 457 posts

Posted 20 June 2006 - 01:36 PM

Why am I being ignored?

<{POST_SNAPBACK}>

Cause you are ugly :P

Btw . Nice DLL ^_^
  • 0

Cxn8eVf.pnggVywn2c.pngckddPHm.png


#14 GearGOD

GearGOD

    Deus Verus

  • GMC Member
  • 2153 posts

Posted 20 June 2006 - 01:50 PM

So has someone tested the dirchange/download functions?
  • 0
Engineers are not programmers. Stop thinking that you can save a few bucks by writing code yourself instead of hiring a programmer. Your code sucks.

#15 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 06 September 2006 - 11:06 AM

I tried to upload something to my server and it didn't work...

here's my code:


ftp_start("62.1.232.12","webuser","*mypassword*")

it connects to the server, the connect status is green, but how do I use this

ftp_addFile("from (with or without working dir)","to")

I tried:

ftp_addFile("gg.txt","62.1.232.12/movein/alx")

but nothing appears on my server directory. ;)

Edited by Sindarin, 06 September 2006 - 12:53 PM.

  • 0
GM 8.1 / GM:HTML5 User

#16 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 06 September 2006 - 03:43 PM

most servers use a linux filestructure, so you'd leave out the IP and just type the home directory. For me, it is something like this:

"/public_html/"
so if I wanted to upload a zipped dll to my dlls folder, i'd do this:

ftp_addFile("volume.zip","/public_html/dlls/volume.zip")
  • 0
Posted Image LateralGM is an IDE for editing GM files on Linux, Mac, and Windows.
We also house the GM File Format Documentation and other projects of that nature.
IsmAvatar.com | Examples | Scripts | Particles | DLLs | Credit Me
Email | Registered

#17 sloik2000

sloik2000

    GMC Member

  • New Member
  • 92 posts

Posted 03 January 2007 - 01:56 AM

Awesome! I've been looking for this for a long time.
Is there any way I could get a status indicator whilst uploading? If not, I'm sure I could just write a PHP script to do it for me.

Thanks for this!

Sorry about the bump, by the way...

Edited by sloik2000, 03 January 2007 - 02:36 AM.

  • 0

#18 andrewmc

andrewmc

    GMC Member

  • New Member
  • 440 posts

Posted 03 January 2007 - 03:16 AM

Is it secure, i mean can someone capture the password and data when he or she is playing that game.

<{POST_SNAPBACK}>


easily.
  • 0

#19 Fedor

Fedor

    GMC Member

  • New Member
  • 294 posts

Posted 03 January 2007 - 03:25 AM

Am I dreaming??? ;)
  • 0

#20 SioxerNic

SioxerNic

    Phara main programmer

  • New Member
  • 320 posts

Posted 05 January 2007 - 05:58 PM

I have tryid for some time :D

I have done any of the stuff you have in here and the upload still doesn't work.
  • 0

#21 DefuzionGames

DefuzionGames

    GMC Member

  • GMC Member
  • 1460 posts
  • Version:Unknown

Posted 30 January 2007 - 06:20 AM

great thanks.

maybe you should letpeople know that if they change room after starting the ftp it will not work..

so if you start an ftp upload...

the ftsp start,add and status check obs have to be run in the same room otherwise it wont work..

yes if you want to upload to specific use ftp_addFile("uploadpath","/dirname/filename")

Edited by DefuzionGames, 30 January 2007 - 03:23 PM.

  • 0

#22 benoit.rouleau

benoit.rouleau

    GMC Member

  • GMC Member
  • 1637 posts
  • Version:GM:Studio

Posted 30 January 2007 - 07:14 PM

Amazing DLL. However the coding to check if transfer worked and all that stuff was pretty complicated to me. <_<
  • 0

#23 ds.bloodbath

ds.bloodbath

    GMC Member

  • GMC Member
  • 383 posts

Posted 09 April 2007 - 08:04 PM

Can somebody help with with uploading???
  • 0
To the world, you might be one person, but to one person, you might be the world.

MyGMGame.com - Voted Best GMC user created website (Retired)

#24 jflecool2

jflecool2

    GMC Member

  • New Member
  • 17 posts

Posted 25 March 2008 - 12:30 AM

Sorry fot that post,i asked you a question you just answered

Edited by jflecool2, 25 March 2008 - 01:00 PM.

  • 0

#25 tigmon

tigmon

    GMC Member

  • New Member
  • 16 posts

Posted 23 September 2008 - 05:24 PM

this dll is no longr availiable for download :)
  • 0

#26 boelensman1

boelensman1

    GMC Member

  • GMC Member
  • 6 posts

Posted 24 January 2010 - 06:14 PM

Nice dll!

Is there any possibility to control how fast he uploads?
I don't want it to take the whole bandwidth.

Edited by boelensman1, 24 January 2010 - 06:26 PM.

  • 0

#27 Recreate

Recreate

    Furry

  • GMC Member
  • 2992 posts
  • Version:GM:Studio

Posted 25 January 2010 - 06:07 AM

You'll just take longer to take the whole bandwidth.
  • 0

If the post that you are reading was created prior to 2011. For the safety of the general public, It is not to be regarded under any circumstances.
Please don't ask me to join your group at anything.


#28 boelensman1

boelensman1

    GMC Member

  • GMC Member
  • 6 posts

Posted 25 January 2010 - 10:01 PM

If I want it to upload with, uhm about 10kb/s, how can I do this?
  • 0

#29 Sindarin

Sindarin

    Indie Game Developer

  • New Member
  • 1644 posts
  • Version:GM:HTML5

Posted 27 January 2010 - 08:31 AM

What this DLL needs is settings for changing the mode to passive/active and a function to limit concurrent connections.
  • 0
GM 8.1 / GM:HTML5 User

#30 ga05as

ga05as

    GMC Member

  • GMC Member
  • 881 posts

Posted 28 March 2010 - 04:08 PM

Awesome. Works like a charm :)
  • 0


#31 borut

borut

    Courage Wolf Productions

  • GMC Member
  • 1457 posts
  • Version:GM:Studio

Posted 28 March 2010 - 04:13 PM

omg this dll is easy and it kicks ass!!! 100/10

keep it in good standing!
  • 0

#32 Recreate

Recreate

    Furry

  • GMC Member
  • 2992 posts
  • Version:GM:Studio

Posted 28 March 2010 - 04:31 PM

If I want it to upload with, uhm about 10kb/s, how can I do this?

Cap the upload speed to 10kb/s on the server.
  • 0

If the post that you are reading was created prior to 2011. For the safety of the general public, It is not to be regarded under any circumstances.
Please don't ask me to join your group at anything.


#33 tomkraze69

tomkraze69

    GMC Member

  • New Member
  • 32 posts

Posted 30 June 2010 - 04:58 PM

I have a problem. The program uploads the file to the correct directory with the correct name. But it doesn't upload any of the file. The file size is always zero. Does anyone know why this is happening?
  • 0

#34 Spreeadhaz

Spreeadhaz

    GMC Member

  • New Member
  • 32 posts
  • Version:GM8

Posted 11 July 2012 - 01:19 AM

the link doesn't work, can you make another new link?
  • 0

#35 PrinceOthman

PrinceOthman

    GMC Member

  • GMC Member
  • 490 posts
  • Version:GM:Studio

Posted 17 July 2012 - 05:20 AM

Link doesn't work. Can someone re-upload or please fix it?
  • 0

Try pressing this rep_up.png button next to my post, and tell me what happens.  :)
add.png


#36 Whymes

Whymes

    GMC Member

  • GMC Member
  • 23 posts

Posted 05 March 2014 - 04:53 PM

Please update download link


  • 0

#37 Razon

Razon

    GMC Member

  • GMC Member
  • 268 posts
  • Version:GM:Studio

Posted 29 March 2014 - 05:40 PM

Here's a mirror link for the DLL.

 

http://www.mediafire...647zi6i1hq6aeq0


Edited by Razon, 29 March 2014 - 05:40 PM.

  • 0