copy ftp files to another server

Trying to execute a batch file that will copy all files with a .xml extension from ftp server to a file share on another server

open ftp.xxxx.com 
xmlfiles
xxxxxxxx
Prompt
lcd \\gvcintranet1\MarketingFollowUpVisitSurveyXMLFiles$
mget *.XML
quit

I am able to get to ftp server ok but when it executes the lcd command I get a
\\gvcintranet1\MarketingFollowUpVisitSurveyXMLFiles$: File not found

assuming the reason is because it is a file share

any ideas as to work around?
johnnyg123Asked:
Who is Participating?
 
johnnyg123Connect With a Mentor Author Commented:
Actually, I found a work around

For some strange reason, you can't do an lcd to the root of the share

You have to go to a folder under the root and then do an lcd .. to back up to the root

Goofy but it works
0
 
David Johnson, CD, MVPConnect With a Mentor OwnerCommented:
map the share to a drive and retest
0
 
johnnyg123Author Commented:
Thanks for the response!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.