Guys, I am new to this. Thus, really need your expert advice.
I want to transfer file from C:/inetpub/vhosts/domain.com/subfolderA from Server 1 in location A
into
E:/inetpub/vhosts/domain.com of server 2 in location B (not in the same network)
automatically.
Both are win server 2008.
How possible izzit?
Use vbscript call to copy all files/folders is definitely not a problem.
But how about transfer of files/folders from server 1 to server 2 in a remote location?
Zip it first? Shell? FTP? Security of the files when being move to remote location?
Any example scripts or similar reference? in vbscript or php.
-
Use whatever you are familiar to.
People normally are using rsync.
From Andrejs Cainikovs -
Rsync is good, however an alternative would be to use Secure FTP:
Which you can script via a GUI
i need help : seems to be a good one, but its not free version.i need help : thanks, your secure ftp lead me to google around this keyword, and finally found my own solution, which is vbscript to invoke winscp dos command line for file transfer. thanks again!From Phil Hannent -
I just tried with WinSCP command prompt.
The transfer from local win xp to remote win2008 server works fine.
But when transfer directly from remote server to remote server, it fail at the command= put stage.
The ms dos keep on hanging after I issue a command to upload files from the original remote server to the destination remote server.
Guys, any idea?
i need help : ok, fixed. It hang there due to windows firewall doesn't allow program full features to be invoked. after I add winscp into firewall exception, it work fabulously.From i need help