File copy task with spaces in the folder name - VisualCron - Forum

Community forum

samkenny
2010-10-12T03:19:53Z
How do I copy files from one folder to another if there are spaces in the name? I am using a UNC path.

e.g. \\mydomain.com\namespace\my folder1 to \\mydomain.com\namespace\my folder2

I have tried surrounding the path with a " but then I get an error: illegal characters in path. if I use ' then the error is path not found. I even tried %20 in place of the space.
Support
2010-10-12T07:59:55Z
Spaces should not be a problem. You should not use " in the path. What error do you get when using the normal path with spaces and without "?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
samkenny
2010-10-12T15:47:41Z
Could not find a part of the path '\\mydomain.com\myfolder A'.

If I copy this path into Windows Explorer it works fine.
Support
2010-10-12T18:18:44Z
The problem is that you need to use a Credential. VisualCron is running as SYSTEM account and has by default no access to network drives. Add a Credential that matches a user that has access to that server.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
samkenny
2010-10-13T03:06:26Z
Thanks, please consider this closed.

There was a Credential and it could see other folders in the parent directory - but it was coincidental these all did not have spaces in them. The folder in question needed the correct permissions so that the set Crednetial could access it, which resolved the issue.

Sorry for the confusion.
Scroll to Top