Hallo my friends, I'm programming in c++ under an UNIX machine and I would like to get the name of the machine and put it in a variable of type char*. How can I do it?
I know I can do: system("hostname") but the return value is an integer and I would want to get the name.
Thanks...
I would like to make a script which for each file of the directory, put the name of the file in a variable and then get variable. I can not use mget * because I will only need newer files and I have to know the name of the file. I wish you can help me. Thanks a lot. Jose.
for each file of the...
Hallo, I want to make a mput via ftp but if there is a newer version of the file in the receiver already I do not want to transmit the file and I will start with the transmission of the next file. Can anybody help me? Thanks in advance. Jose.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.