Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. josebravo

    Getting the hostname from the system

    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...
  2. josebravo

    How to do it with get instead of mget

    Oh, thanks a lot for your recommendation, but it was only an example, for knowing whether is a newer file I will us the newer command. newer file-name Get the file only if the modification time of the remote file is more recent that the file on the current system...
  3. josebravo

    How to do it with get instead of mget

    I wonder why I have problems with get command if I write for file in 'ls' do get $file done The error message is: We only support non-print format, sorry. ?Invalid command (remote-file) (local-file) usage: get remote-file [...
  4. josebravo

    How to do it with get instead of mget

    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...
  5. josebravo

    ftp: mput only newer files

    newer file-name Get the file only if the modification time of the remote file is more recent that the file on the current system. If the file does not exist on the current system, the remote file is considered newer. Otherwise, this command is...
  6. josebravo

    ftp: mput only newer files

    I thought that maybe with the command newer and one script we could approach to the final solution. The problem is that I want to do it for multiple files and I need the file name for the newer command.
  7. josebravo

    ftp: mput only newer files

    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.

Part and Inventory Search

Back
Top