Sign in to follow this  
Followers 0
13lack13lade

dircopy with server filepath

3 posts in this topic

Hi All,

Does DirCopy work with server filepath? im trying to do a simple script to copy files a location in sydney to our london office and i'm trying to use the following code but it doesnt seem to do anything.

Just wondering if im missing something or if its not possible due to the connection or what.

dircopy("\\fsydcl2\fcgp\PRO\Procurement\15-16\Supplier Contracts\Europe - GTA","\\flonh02.uk.fcl.internal\data$\Department\Product\FCGP EUROPE PROCUREMENT\CONTRACTS\15-16\GTA")

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

so that failed because i missed the 1 even though the last part is optional?

I don't understand why it didn't work especially since it did not exist and in the function help remarks it states:

Remarks

If the destination directory structure doesn't exist, it will be created (if possible).
 

Anyway, works now just because of the missing 1.

Edited by 13lack13lade

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0