Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2020, 09:18 AM
getoffmypatch getoffmypatch is offline
Registered User
 
Join Date: Feb 2013
Posts: 15
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
Reply With Quote
  #2  
Old 08-19-2020, 09:52 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
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
Reply With Quote
  #3  
Old 08-19-2020, 10:12 AM
getoffmypatch getoffmypatch is offline
Registered User
 
Join Date: Feb 2013
Posts: 15
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
Reply With Quote
  #4  
Old 08-19-2020, 10:47 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
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
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:31 PM.