Subj : FILE_DOWNLOAD
To   : Frozen Fire
From : Digital Man
Date : Wed Jul 03 2002 02:27 pm

 Re: FILE_DOWNLOAD
 By: Frozen Fire to Digital Man on Wed Jul 03 2002 04:14 am

>  >  > Please correct any errors in the following code
>  >  >
>  >  >     setstr "C:\\MYDIR\\MYFILE.ZIP"
>  >
>  > Remove the path information - change to "MYFILE.ZIP", and the file must b
>  > your file database.
>  >
>  >  >     file_download str
>  >
>  > Remove "str" after "file_download" - file_download does not take any argu
>  >
>  >  > I did not see a matching list of arguments for file_download. It looks
>  >  > though it HAS to be used in conjunction with the get file string funct
>  >
>  > No, file_download just always uses the string stored in the "str" variabl
>  > the filename to search for and download to the user.
>  >
>  >  > Would file_send be a better option?
>  >
>  > Only if the file is not in your file database (in which case you would ne
>  > put the full path to the filename in the "str" variable).
>  >
>  >                                                     digital man
>
> Does this function also check the alias.cfg?

alias.cfg is used for e-mail name/address aliases. Are you thinking of
ftpalias.cfg? If so, the answer is no, that file is only used with the FTP
server.

                                                   digital man

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net