|
#1
|
|||
|
|||
VCP syntax to send filesonly
Hi Guys -
Is there a way to specify to send files only using vcp.exe. Currently we only have ability to send a folder with files within. I can send an example if needed. Thanks Shane |
#2
|
|||
|
|||
Hi Shane,
Yes, we would need to know more specifics. What version of vcp? So it's an upload? This would be the basic syntax to upload one file: vcp C:\SomeFile.txt user@host Of course you would probably want --log and other options in there. ![]() What is the command-line you use presently? (Redact any sensitive data or open a ticket by writing support@vandyke.com.)
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
Hi Brenda,
Example below "C:\Program Files\VanDyke Software\VShell\vcp.exe" "-r --pw <password> <path>\20160321_095443 <user>@<host>#22:/User/bms\MSPS" In this case, its sending the folder "20160321_095443" to the target but could we send the contents of the folder but not the folder itself? Thanks, Shane |
#4
|
|||
|
|||
Hi Shane,
Make your source specification "folder\*.*" (it overrides -r for recursive) and I think you will be all set: "C:\Program Files\VanDyke Software\VShell\vcp.exe" "-r --pw <password> <path>\20160321_095443\*.* <user>@<host>#22:/User/bms\MSPS"
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Thread Tools | |
Display Modes | |
|
|