From: Tom Abernathy on 7 Jan 2010 16:09 1) Make sure you have write access to the directory by using some other FTP tool to create a file there. 2) Getting rid of the CD= option and including the path in the quoted filename. 3) Your error message mentions Windows perhaps you need to use \ instead of / in your path. On Jan 7, 2:27 pm, bgji...(a)GMAIL.COM (baogong jiang) wrote: > Hello: > > I tried to create a file (test.dat) using FTP method and can not figure out > what's wrong with the code, please help. > > 14 filename x ftp 'test.dat' cd='/omf/he/sas' > 15 host='10.12.81.251' > 16 user='dhh\bjiang02' pass=XXXXXXXXXXXXXXXXXXXXXX recfm=v; > 17 data _null_; > 18 file x; > 19 do i=1 to 10; > 20 put i=; > 21 end; > 22 > 23 run; > > NOTE: 220 Microsoft FTP Service > ERROR: Physical file does not exist, test.dat. > NOTE: The SAS System stopped processing this step because of errors. > NOTE: DATA statement used (Total process time): > real time 0.00 seconds > cpu time 0.01 seconds > > thanks, > baogong
|
Pages: 1 Prev: SAS Online Training Next: Next NYASUG Meeting Is January 14, 2010 |