Solved

copy ftp files to another server

Posted on 2015-01-13
3
93 Views
Last Modified: 2015-01-19
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?
0
Comment
Question by:johnnyg123
  • 2
3 Comments
 
LVL 79

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 total points
ID: 40547835
map the share to a drive and retest
0
 

Accepted Solution

by:
johnnyg123 earned 0 total points
ID: 40548928
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
 

Author Closing Comment

by:johnnyg123
ID: 40557316
Thanks for the response!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question