Results 1 to 2 of 2

Thread: ftp upload only

  1. #1
    Join Date
    Sep 2003

    ftp upload only


    i am using share hosting account, and want to know is it possible to make the directory for upload file only, but not able to download? it apply to anonymous.

  2. #2
    Join Date
    Feb 2004
    Hai friendzone,

    Simplex will always place uploaded files in datacgi/files/YourFile/tables/files directories, arranged into a series of subdirectory slots. So, unfortunately, it is not possible to upload to a particular directory with the usual set up.

    If you really need to upload to a specific directory with specific file names, you would need to edit the Perl code to do so. If you're familiar with Perl, this shouldn't be too difficult, and you can check the datacgi/libs/simpsubs.cgi script from line 940 to 1000, and datacgi/libs/adminsubs.cgi from line 361 to 424 for the relevant code. The first code segment is used when uploading files through a form, and the second when uploading files through a table datasheet from the admin system.

    Bright Info Solutions

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts