Re: does LispWorks have a function for copying files?
Hmm, what about
http://www.cl-http.org:8000/cl-http/lispdoc?package=HTTP&symbol=COPY-
FILE&type=FUNCTION&apropos=copy%2Bfile
Or (http::apropos* '(copy file) :http 'function)?
FTP-COPY-FILE [function]: (FROM-URL TO-STREAM &KEY)
WITH-COPY-FILE-ENVIRONMENT [macro]: ((FROM TO STREAM &OPTIONAL (BLOCK-
NAME (QUOTE COPY-FILE))) &BODY BODY)
FILE-URL-COPY-FILE-TO-HTTP-STREAM [function]: (FILE-URL-OR-PATHNAME
HTTP-STREAM &KEY CONTENT-TYPE URL ADDITIONAL-HEADERS USER-ID USER-PW)
COPY-FILE [function]: (SOURCE DESTINATION &KEY COPY-MODE REPORT-
STREAM REQUEST-HEADERS USER-EMAIL-ADDRESS &ALLOW-OTHER-KEYS)
CONDITIONAL-COPY-FILE [function]: (FROM-PATHNAME TO-PATHNAME &KEY
&ALLOW-OTHER-KEYS)
FILE-URL-COPY-FILE [function]: (FILE-URL-OR-PATHNAME TO-STREAM &KEY
ELEMENT-TYPE USER-ID USER-PW)
On Nov 14, 2006, at 4:15 PM, Mark Klein wrote:
>
>
> Could you point me to the right function? I couldn't find one in
> the documentation. Or do I need to write my own? If the latter,
> would a loop that calls read-char and write-chare do the job
> correctly for arbitrary files (i.e. nor just text files, but also
> Excel Word etc)?
>
> Thanks,
>
> Mark
>
>
> --
> Mark Klein
> Principal Research Scientist
> Massachusetts Institute of Technology
> 77 Massachusetts Avenue, NE20-336
> Cambridge MA 02139 USA
> m_klein@mit.edu
> http://ccs.mit.edu/klein/
>
On Nov 14, 2006, at 4:15 PM, Mark Klein wrote:
>
>
> Could you point me to the right function? I couldn't find one in
> the documentation. Or do I need to write my own? If the latter,
> would a loop that calls read-char and write-chare do the job
> correctly for arbitrary files (i.e. nor just text files, but also
> Excel Word etc)?
>
> Thanks,
>
> Mark
>
>
> --
> Mark Klein
> Principal Research Scientist
> Massachusetts Institute of Technology
> 77 Massachusetts Avenue, NE20-336
> Cambridge MA 02139 USA
> m_klein@mit.edu
> http://ccs.mit.edu/klein/
>