View Single Post
  #1  
Old 03-01-2021, 05:42 PM
lenka lenka is offline
Registered User
 
Join Date: Mar 2021
Posts: 1
VCP command failure

I am trying to send userid and password as parameters using user's input to vcp command. Somehow it is not making connection to the server. This problem started after we upgrade secureCRT to 8.5 version.These command never had any problems in the past. Can you please help?

Here are the commands
Code:
cls
set /p uid=Enter Userid:

echo %uid%
cls
set /p pwd=Enter Password:

echo %pwd%


setlocal EnableDelayedExpansion
cls
echo Copying file to X: drive...

vcp -auth password -preserve -pw %pwd% %uid%@xxxxx.yy.zz.com:/folder3/%uid%/folder2/folder1/file1.* C:\localfolder\  || goto error

Last edited by cboyack; 03-02-2021 at 09:44 AM. Reason: Please use [CODE] and [/CODE] tags to denote areas of code
Reply With Quote