Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
The Lone Programmer
23
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 16th Nov 2003 21:13
Sup,
I have made something where as it uploads to my forum. Well its all nice but there is one small thing that has stumped me.

I know how to save stuff onto my hard drive and I know how to check and see if it exists.

Well how do I see if it exists on the FTP?

See this is going to be for a future online multiplayer game but I dont want people to register and have it delete someone elses.

For if it were on the hard drive of the user I would do something like this:


Well how do I do a code like this but for FTP?

If you know what I am talking about please respond. If you dont know what I am trying to say please let me know and I will be more descriptive.

Thanks
Nicolas

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
http://www.blazing-fire.tk
Ariel
23
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Fort Mitchell, KY
Posted: 19th Nov 2003 00:11
Search for "RFC" on the Internet and read the RFC's concerning the FTP protocol.
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 19th Nov 2003 00:19
TCA has a MySql plugin, you could use the ftp controls within DBP to access an online MySql database and ammend the data in a similar way to a website or forum.


To Survive You Must Evolve... This Time Van Will Not Escape His Fate!
900mhz | 256mb | FX5200Ti 52.16 | Dx9 | WXP-Pro
The Lone Programmer
23
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 19th Nov 2003 01:01
Um.....
Arial,
Whats an RFC?

Raven,
How do I get this plugin? Is it free? Probably not right, everyone is trying to wipe my money out. I like storage like forums. Its easier to maintain.

Well get back to me..

BTW: Something is up with my dbp.... whenever I try to save it supposively saves but later in the day everything is messed up.. Say I deleted something like maybe 3 hours ago.. It will come back up under the file I open.... Its really making me mad because everything I do is disappearing... Hard hours of coding. I save with both the SAVE ALL command and the regular SAVE SOURCE command. I click on them both like 10 times and still it happens.

Well get back to me.

Thanks
Nicolas

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
http://www.blazing-fire.tk
Ralen
23
Years of Service
User Offline
Joined: 22nd Jul 2003
Location:
Posted: 19th Nov 2003 05:00
Smokie,

An RFC is a document that explains how a protocol works.


This link is the RFC for FTP.
http://www.w3.org/Protocols/rfc959/Overview.html

There is an RFC for every protocol that you could probably think off.

What you would do is try to get the file. If it returns a 550 error that means it couldn't find the file.

You would use these commands
FTP GET FILE
GET FTP FAILURE
GET FTP ERROR

Login to post a reply

Server time is: 2026-07-26 20:16:23
Your offset time is: 2026-07-26 20:16:23