Y
yawnmoth
I'd like to periodically backup the content of a certain computer on a
periodic basis, via password protected ftp, and am having some
difficulty doing so. I'd like to use a batch file and make the
schedular in windows run it once a week or something, but the ftp part
kinda has me stuck.
I can place "ftp domain.tld" in the batch file to log into the ftp, but
how do I log in and how do I download from it?
I thought maybe creating a text file ftp.txt:
username
password
....and then doing "ftp domain.tld < ftp.txt" might do it but it doesn't
seem to. Any ideas as to why it doesn't?
Also, mget *.* only seems to work for the current directory and
requires a confirmation each time. Is there a way to make it work
recursively and not ask for a confirmation each time?
Finally, is there maybe a better - free - command line ftp client
that'd better suite my needs? Even if there were, I still wouldn't
mind answers to my other two questions...
periodic basis, via password protected ftp, and am having some
difficulty doing so. I'd like to use a batch file and make the
schedular in windows run it once a week or something, but the ftp part
kinda has me stuck.
I can place "ftp domain.tld" in the batch file to log into the ftp, but
how do I log in and how do I download from it?
I thought maybe creating a text file ftp.txt:
username
password
....and then doing "ftp domain.tld < ftp.txt" might do it but it doesn't
seem to. Any ideas as to why it doesn't?
Also, mget *.* only seems to work for the current directory and
requires a confirmation each time. Is there a way to make it work
recursively and not ask for a confirmation each time?
Finally, is there maybe a better - free - command line ftp client
that'd better suite my needs? Even if there were, I still wouldn't
mind answers to my other two questions...