Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

copy ftp files to another server

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Cloud file services can fill many different roles for your business. Often, the use of cloud file services begins with employees using consumer products, like Dropbox, to share files with customers and each other. While sync-and-share can be an effe…
Files go missing when using DFS (Distributed File System) Replication and how to recover them and fix it.
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Suggested Courses

963 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