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 ...
- 05-08-2009 #1Just 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
- 05-09-2009 #2Linux Guru
- 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!
- 05-11-2009 #3Just 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
- 05-11-2009 #4Linux Guru
- 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
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!


Reply With Quote
