Jump to content
Sign in to follow this  
Genelia

Copy multiple files from one location and put on another location using batch script

Recommended Posts

Posted (edited)

Hi to All,

 

I am creating 1 batch script to automate my manual task. in this task i have to copy 5 csv files from 1 location server to another location( my filemaker server documents folder).

I am able to copy single batch file to put on another location but not able to copy multiple files and put all in single batch script even after googling.

 

Lets say my files name are A.csv, B.CSV, C.CSV, D.csv, E.CSV

 

Below is  my code. Please do  help/correct me  where i am wrong .

 

/log="D:\Program Files\FileMaker\FileMaker Server\Data\Documents\XYZ.log" /command "open XXX_Test" "get "/home/ge00/TEST_SFTP/A.csv  ""D:\Program Files\FileMaker\FileMaker Server\Data\Documents\A.csv""  "exit"

Thanks in Advance,

Edited by Genelia

Share this post


Link to post
Share on other sites

How do you execute this?  It doesn't look like any Windows OS scripting language.  Is it an FTP connection?

Share this post


Link to post
Share on other sites

Yes it is by SFTP login connection.

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  

×

Important Information

By using this site, you agree to our Terms of Use.