Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

copy ftp files to another server

Posted on 2015-01-13
3
Medium Priority
?
103 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 84

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Over the past decade, as Internet security has become a chief concern of IT professionals, one of the most common questions administrators and users ask is, “Which is more secure, SFTP or FTPS?” In short, both file transfer protocols offer a high…
Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
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…
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…

578 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