FTP problem

w^rl0rdw^rl0rd Member Posts: 329
I'm trying to write a batch script that ftp's the Favorites folder on one machine to another machine, but I'm having problems.

I have not figured out how to tell ftp to move entire directories.
I figured I would use the "mput" command, and it works for multiple files, but not folders.

Any ideas?

Comments

  • TranscenderMichaelTranscenderMichael Member Posts: 187
    Not 100% sure, but have you tried:

    ftp put /recursive *

    Edit: Do a Google search on ftp mput recursive... looks like you might need an advanced ftp utility or something like lftp.
    TranscenderMichael (at hotmail.com)
    MCSE+I, MCDST, MCDBA, OCP, CCNP, CCDP, CNE, CCSA, Security+, Linux+, Server+, A+
    Kaplan IT
    Powering Transcender and Self Test Software
    Served proudly, USArmy, 98C, '89-'92
Sign In or Register to comment.