1.

Solve : Loading From Server.?

Answer»

Say on my SERVER I have a file NAMED:
Connections.txt
Say for instance the address was:
http://runetown.007gb.com/Connections.txt

How would I modify this code to load that file.

Code: [Select]@echo off
title Server Connection RUN Test
:connect
cls
set /P online=<Connections.txt
set /a online=%online%+1
::-----------------------------------------------------------------------
echo Players Online At This Exact Moment: %online%
set /a online=%online%-1
echo %online% >Connections.txt
pause >nul
you're using two variables with the same name 'online' you need to change that. And for getting files from a server you need to use FTP (File Transfer Protocol) try Code: [Select]ftp /?
FBftp /? says unknown host.
But thank you.lol did you put it in a batch file? i meant TYPE it at the command prompt. check out this walkthough:

http://www.demon.net/helpdesk/technicallibrary/sdu/ftp/dosftp.html

FBHeya Jacob! Is this for the game? I did it through cmd.
and yes it is carbon



Discussion

No Comment Found