DATA Step, Macro, Functions and more

Batch Files Readin

Reply
Occasional Contributor
Posts: 9

Batch Files Readin

My Batch.bat file :

 

ftp -i -s:source.txt IP Address Of FTP

 

My Source.txt :

 

Username

Password

cd Path

lcd Path

binary

mget FileName

 

In brief, i want to establish a connection to ftp and download the file. When I run this batch file, it's executing.

 

I want to code in SAS to open Batch.bat and execute. Tried using x command. Did not work out.

Super User
Super User
Posts: 9,617

Re: Batch Files Readin

Posted in reply to Konakanchi

What "Did not work out."?

Did it produce errors?

Did it run but not produce a result?

Did a chicken not appear?

What code did you run?

Ask a Question
Discussion stats
  • 1 reply
  • 37 views
  • 0 likes
  • 2 in conversation