We have successfully used the FTP engine as in the program below to send zipped files to an external FTP site. However, with files
larger than about 200MB we have sometimes found that the final file is corrupted and unusable. Does anyone have experience with this or
suggestions of what might be going wrong?
Note: We can send the files just fine using the Windows FTP client.
filename ofile ftp
"TEST.ZIP"
binary
lrecl=32767
debug
host="XXX.XXX.XXX.XXX"
user="USER" pass="&pass";
filename ifile "d:\staging\TEST.ZIP" recfm=f lrecl=32767;
data _null_;
infile ifile _infile_=var IGNOREDOSEOF;
input ;
file ofile;
put var;
run;