Please correct any errors in the following code
setstr "C:\\MYDIR\\MYFILE.ZIP"
file_download str
I did not see a matching list of arguments for file_download. It looks as though it HAS to be used in conjunction with the get file string function.
Would file_send be a better option?
Re: FILE_DOWNLOAD
By: Frozen Fire to Digital Man on Sat Jun 29 2002 01:55 pm
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 be i your file database.
file_download str
Remove "str" after "file_download" - file_download does not take any argumen
I did not see a matching list of arguments for file_download. It looks as though it HAS to be used in conjunction with the get file string function
No, file_download just always uses the string stored in the "str" variable a 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 need put the full path to the filename in the "str" variable).
digital man
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?
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 mus your file database.
file_download str
Remove "str" after "file_download" - file_download does not take any a
I did not see a matching list of arguments for file_download. It lo though it HAS to be used in conjunction with the get file string fu
No, file_download just always uses the string stored in the "str" vari 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 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
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 16 (0 / 16) |
Uptime: | 44:53:15 |
Calls: | 500,941 |
Calls today: | 4 |
Files: | 109,374 |
D/L today: |
4,530 files (952M bytes) |
Messages: | 304,044 |