how to move files from windows server to linux server by script
I would like to move a directory from a windows box to linux box. Both have user names and passwords that we use. For example I use securecrt to ssh in the linux with a username/password and I use windows remote desktop to login to the windows box.
How do I do this and where do I run this script from?
Investigate NFS (network file system) usable by both OS's. This allows you to mount a remote directory the same way you would mount a cdrom, etc. It requires configuration at both ends, but once set up the commands are fairly simple and you should easily be able to write a script to mount the "share", copy, and dismount it.
Short answer: you can run the script from either Windows or Linux, and there are lots of ways to mount/map a network drive, or copy files. None are necessarily any better or worse than any other, without knowing alot more. What's your programming skill set like? What languages? How much scripting have you done? Do you know how to set up/map network services? How often is this done?
Analyze your requirements first.
|All times are GMT -5. The time now is 07:27 AM.|