Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
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
set /p uid=Enter Userid:

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

echo %pwd%

setlocal EnableDelayedExpansion
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

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 05:00 PM.