Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Copying files to a remote host (https://www.kinook.com/Forum/showthread.php?t=4700)

fmiranda 10-05-2010 01:29 PM

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?

kinook 10-05-2010 02:01 PM

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


All times are GMT -5. The time now is 02:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.