Assuming you know the FTP info (username/password) how can you access and write to a text file on your server??
Assuming you know the FTP info (username/password) how can you access and write to a text file on your server??
c++->visualc++->directx->opengl->c++;
(it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)
technicaly you should be able to! in fact you could even if you didn't have a user/password, they call it hacking!
if a contradiction was contradicted would that contradition contradict the origional crontradiction?
select like:view file, or something... write, then save changes -> ur done....yes
I ment from a dos exe ..
not from an actual ftp program. geese.
c++->visualc++->directx->opengl->c++;
(it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)
This can be done, but probably not the way you're thinking. You write a cgi program that does whatever you want it to and then it writes to a text file on the server. That program could also take the data and turn it into a web page if you so wished. But if you want a program on your hard drive to do this then you're pretty much out of luck unless you know how to program with sockets.
-Prelude
My best code is written with the delete key.
If your thinking you can just connect and then use fopen() and all that stuff, hackers would have already taken over the world by now...Originally posted by dbgt goten
I ment from a dos exe ..
not from an actual ftp program. geese.
I dont want to connect and use fopen.. I want to ftp to my web site and write to files. I know the routines to do it with windows, but i NEED to do it with dos, for my dos game. I really didnt want to port to directx but looks like ill have to.
c++->visualc++->directx->opengl->c++;
(it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)
then use sockets, sockets arent just for windows you know. Try using fcntl.Originally posted by dbgt goten
I dont want to connect and use fopen.. I want to ftp to my web site and write to files. I know the routines to do it with windows, but i NEED to do it with dos, for my dos game. I really didnt want to port to directx but looks like ill have to.