Find the answer to your Linux question:
Results 1 to 4 of 4
I had a doubt on how to ftp the complete directory on linux. Normally, we do mput for files. But, mput does not work for a directory. What command can ...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    33

    Mput for directory

    I had a doubt on how to ftp the complete directory on linux. Normally, we do mput for files. But, mput does not work for a directory. What command can be used for this?

    I hope, my question is clear.

    Please, help in solving the doubt.

    regards

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    That is up to the ftp version you are running. There are a number of them available for linux. Determine which ones will meet your needs and configure that to run when an ftp connection request is received by your server.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    33
    thanks, for your answer. But, I wanted to know, what is command to be given from command prompt to mput a directory.

    I hope, my question is clear.

    regards

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by ran_sushmi View Post
    thanks, for your answer. But, I wanted to know, what is command to be given from command prompt to mput a directory.

    I hope, my question is clear.
    Not particularly. Are you referring to the system command line, or the FTP client command line? And for a client to use mput on a directory, it has to support that operation. AFAIK, recursively copying directory structures with FTP was not part of the original protocol. I'll check the White Book later when I have some time to be sure, but I don't recall that it was when I implemented the FTP/TELNET stack from the specs about 18 years ago.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...