ECIQue
asked on
FTP folder file backukp
I have a ftp server.
I update the data there from different locations.
Each user has their directory.
I want to write a script which I can schedule to backup my data.
I am on a windows XP box.
My Server is 2003.
The answer that can provide me with the scirpt will get the points.
-------------------------- ---------- ---------- ---------- ---------- -
Hyperlinks do not count as answers.
It is not possible does not count as an answer.
-------------------------- ---------- ---------- ---------- ---------- -
Thanking You
Smit.
I update the data there from different locations.
Each user has their directory.
I want to write a script which I can schedule to backup my data.
I am on a windows XP box.
My Server is 2003.
The answer that can provide me with the scirpt will get the points.
--------------------------
Hyperlinks do not count as answers.
It is not possible does not count as an answer.
--------------------------
Thanking You
Smit.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
btw, xxx.xx.xx.xx stands for the IP address of the remote server
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
adonis1976
Your script gets files only from that folder
It does not do a recursive ftp.
_nn_
Your program works.
I like it,
but then, I try avoiding third party softares.
So, if adonis cant come up with a script by tommorrow,
You will have the points.
Your script gets files only from that folder
It does not do a recursive ftp.
_nn_
Your program works.
I like it,
but then, I try avoiding third party softares.
So, if adonis cant come up with a script by tommorrow,
You will have the points.
ok.. try this..
replace the line
mget *.*
with
get -r *.*
replace the line
mget *.*
with
get -r *.*
that is get space -r *.*
ASKER
ftp> get -r *.*
Error opening local file *.*.
> *.*:Invalid argument
ftp> bye
221
Error opening local file *.*.
> *.*:Invalid argument
ftp> bye
221
ASKER
i did type in
ftp> get [space] -r *.*
thanks.
ftp> get [space] -r *.*
thanks.
i just looked at the MAN pages for ftp and it is not possible since the subdirectories are dependent on the file structure of the OS. So cany copy sub directories using ftp. so you can award -nn- if you wish.
ASKER
You get Partial credits atleast for an honest answer.
Thank you experts
Always
Smit.
Thank you experts
Always
Smit.
spend some money on software. (if its worth doing right)
I recommend handy-backup.
I recommend handy-backup.