Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-05-2010, 01:29 PM
fmiranda fmiranda is online now
Registered User
 
Join Date: 10-05-2010
Posts: 1
Copying files to a remote host

I'm trying to copy files using XCOPY command.

The statement is:
%DOSCMD% XCOPY "\\network\Folder" \\hostvm\c$\Install\server" /i /s

The folder in "\\network\Folder" contains 4 files each one about 70 MB.

The issue is that when I run this command from VisualBuild Pro, it never ends. The files are copied, but since the command doesn't end, I need to terminate it manually.


The same command works for small files, but I have an issue with this big ones.

Any ideas?
Reply With Quote
  #2  
Old 10-05-2010, 02:01 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
If the step does not complete, it is likely still waiting for the xcopy process to exit. Is the xcopy.exe process still running (check with Task Manager or Process Explorer)? Is it possible that the command is still copying or scanning for files to copy?

I did a test here, copying some 70MB+ files from one network share to another like that with VBP 7.7, and it worked as expected.

Some things you could try:
1) Drop the %DOSCMD% prefix (xcopy is not an internal cmd.exe command, so that's not needed)
2) Configure the step to terminate after some period of time (More tab)
3) Use Robocopy instead: http://en.wikipedia.org/wiki/Robocopy
4) Use the Copy Files action instead: http://www.kinook.com/VisBuildPro/Ma...ilesaction.htm
Reply With Quote
Reply

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 Off
HTML code is Off



All times are GMT -5. The time now is 07:37 PM.


Copyright © 1999-2023 Kinook Software, Inc.