Use ftp to get a whold folder

  • Thread starter Thread starter DX
  • Start date Start date
D

DX

I am writing a command-line script. One of the step is to
use ftp command to get a folder (this folder contains
folders, files) from a ftp deamon.

But looks like "ftp" command doesn't support getting a
folder.

I tried:
ftp *
ftp *.*
ftp FolderName

but none of them work, obviously.

I've done lots of Googling, but couldn't find an answer.

I just hope I get lucky if someone happen to know a way to
do this using ftp command or maybe another method.

Thank you very much.
 
I am writing a command-line script. One of the step is to
use ftp command to get a folder (this folder contains
folders, files) from a ftp deamon.

But looks like "ftp" command doesn't support getting a
folder.

First, turn off prompting, with the "prompt" FTP command, or by running ftp
with the "-i" parameter. Then use the "mget" (Multiple GET) command on your
wildcard specification.

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]
 
Back
Top