|
Answer» hello,
I would like to KNOW if the following tasks are possible from within a batch file:
1) Open an SSH connection on a 'typical' computer with WinXp, and have this computer connect to a Mac computer. (this step I'm able to do in the cmd, it's the next 3 I don't know how to do)
2) Copy files within the SSH transfer window from a large group of subfolders on the WinXP computer to a specific path on the Mac.
3) Run a program on the Mac to decompress these files (a program that can only be run on a Mac, and thus the SSH requirement).
4) And finally copy the decompressed files back through the SSH window to the same folder on the WinXP computer.
I hope this has made some sense! There are ALOT of iterations to be done.This is going to depend on your SSH client. Which SSH program are you using? Does your SSH program support file transfer?my SSH client is SSHSecureShellClient-3.2.9 and yes it SUPPORTS file transfers
I have preformed transfers before. The way it is set up at the moment is I just open the ssh program and click a profile then put in a password. From here I can transfer files, ect between the two computers.read the manual that comes with your version of SSH client. when you INSTALL, you should have command line version of SCP/SFTP. they can be used for file transfer automation.
|