|
Hi all, as the subject says... maybe off topic,
but I'm sure some of you experts know the answer
to this....
We want to tranfer some SAS datasets from one NT
server to anohter using FTP. I know we should use
proc copy or proc datasets with the copy option,
but for reasons outside the scope of this posting
we decided to also evaluate the FTP way.
We have a .bat file with the following ftp command
ftp -s:ftp_commands.txt 123.456.789.012
where 123.456.789.012 is the server IP address.
ftp_commands.txt contains commands to login, put
files and disconnect when finished, something like
user
password
binary
cd dest_dir
lcd origin_dir
put test_file.sas7bdat
close
quit
Now... is there an environment variable or something
similar that I can check to see if the ftp put was
successful? Has anyone done this before?
Thanks in Advande for your help.
Francesco Marelli
Nemesi Ltd. UK
|