• FILE_DOWNLOAD

    From Frozen Fire@VERT/IMATRIX to Digital Man on Saturday, June 29, 2002 14:55:00

    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?

    Thanks!

    FF
    The Impact Matrix impactmatrix.dhs.org

    ---
    ■ Synchronet ■ The Impact Matrix - impactmatrix.dhs.org CALL TODAY!
  • From Digital Man@VERT to Frozen Fire on Monday, July 01, 2002 19:45:00
    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 in your file database.

    file_download str

    Remove "str" after "file_download" - file_download does not take any arguments.

    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 as 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 to put the full path to the filename in the "str" variable).

    digital man

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From Frozen Fire@VERT/IMATRIX to Digital Man on Wednesday, July 03, 2002 05:14:00
    Re: FILE_DOWNLOAD
    By: Digital Man to Frozen Fire on Mon Jul 01 2002 19:45:00

    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

    Does this function also check the alias.cfg?

    FF
    The Impact Matrix impactmatrix.dhs.org

    ---
    ■ Synchronet ■ The Impact Matrix - impactmatrix.dhs.org CALL TODAY!
  • From Digital Man@VERT to Frozen Fire on Wednesday, July 03, 2002 14:27:00
    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
  • From Frozen Fire@VERT/IMATRIX to Digital Man on Thursday, July 04, 2002 03:39:00
    Re: FILE_DOWNLOAD
    By: Digital Man to Frozen Fire on Wed Jul 03 2002 14:27:00

    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

    Yes, I was thinking of ftpalias.cfg (sorry). Thank you.
    FF
    The Impact Matrix impactmatrix.dhs.org

    ---
    ■ Synchronet ■ The Impact Matrix - impactmatrix.dhs.org CALL TODAY!