I'm trying to copy files across server, but the problem is the server names are almost the same, the different char is on ninth place. So, copy file action won't work. Which action I should use?
Thanks a lot for your help!
Dos copy command only recognize till the eighth char of the name, right? Thanks!
Robocopy works great, both locally and over the network.
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
How to make it only copy all the files in the directory without the subdirectories by using robocopy?
Thanks!
I tried with . for source path at the end, but got "Invalid Parameter: “source path*.*”
I tried it with robocopy, it couldn’t distinguish either if the first 8 chars are the same for the server names. Also, I still don’t know how to only copy files in the directory which contents subdirectory by using robocopy action. Any suggestions? I appreciate it!
Hi There,
Here’s the latest update. I put “/lev:1” in Extra Command Line Options text box. Then, it resolved copy files only issue.
But, the server name issue still exists. I used DOS command line to do the robocopy is fine, even the first 8 chars are the same for the server names. But it doesn’t work for Robocopy action in FB4. Please advise! Thanks a lot!
the problem is the server names are almost the same, the different char is on ninth place.
If it's just the server names which are different, one solution may be to use the "Map Network Drive" action to map each of the servers as a drive letter (ie \\ServerAB1 becomes Y:).
However, it's still very odd if Robocopy works from the DOS command prompt and not from inside FinalBuilder. Is the command line you used the same as the command line shown in the "Using command line" log output from Robocopy?
Thanks a lot for the advice. You are right. If robocopy command line is ok, then robocopy action shoule be ok as well. It turned to be windows authorization problem. Thanks again for your help.