Recursive Directory Transfer from Between Servers?


Author
Message
tlockhart
tlockhart
Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)
Group: Forum Members
Posts: 11, Visits: 36
Is it possible in FortressSSH Enterprise  Version 5.0 to transfer directories between servers?  This is similar to the way mget and mput can transfer files, but I need to transfer a whole directory structure, including files.  Any assistance would be greatly appreciated.
Replies
tlockhart
tlockhart
Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)Supreme Being (119 reputation)
Group: Forum Members
Posts: 11, Visits: 36
I tried the following at the command line, and it worked, but it does not work in my test script(see below).

%SSHPATH%\ssh.exe -A password username@255.255.255.255

cd C:
cd C:\sample_data
deltree -F TEST
mkdir TEST

I don't believe my script is waiting until after I login to the SSH Session before it continues execution.  I am receiving the following error, before the ssh session opens.  Can anyone advise?

008:ERROR: %SSHPATH%\ssh.exe deltree -F is an unsupported command
Pragma Tech Rep
Pragma Tech Rep
Forum Member (42 reputation)Forum Member (42 reputation)Forum Member (42 reputation)Forum Member (42 reputation)Forum Member (42 reputation)Forum Member (42 reputation)Forum Member (42 reputation)Forum Member (42 reputation)Forum Member (42 reputation)
Group: Forum Members
Posts: 4, Visits: 12
try this as deltree is in the same directory where ssh.exe is located:

%SSHPATH%\deltree -F TEST

or more fully

%SSHPATH%\ssh.exe -A password username@255.255.255.255 "\program files\pragma\clients\deltree -F TEST"

You should also try to put "\program files\pragma\clients"n directory in the system environment "path"  variable. deltree.exe and ssh.exe are all copied there during install of our software.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
tlockhart - 13 Years Ago
Ken - 13 Years Ago
tlockhart - 13 Years Ago
Pragma Tech Rep - 13 Years Ago
tlockhart - 13 Years Ago
                         Try the following: ssh -l username -A password remotehost...
                             I tried the following at the command line, and it worked, butit does...
tlockhart - 13 Years Ago
                                 try this as deltree is in the samedirectory wheressh.exe is located:...
Pragma Tech Rep - 13 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search