Visualizzazione dei risultati da 1 a 8 su 8

Discussione: wexlite

  1. #1

    wexlite

    Ciao ragazzi, stò usando wexlite ed ho un problema.
    non ho fatto altro che estrarre il file zip originale e caricarlo.
    Ho settato config.asp come segue, e online lo vedo e sembra funzionale,
    ma non posso: caricare file, creare cartelle o nuovi file..

    qualcuno sa dirmi se ho sbagliato qualcosa o altro?
    Grazie!


    <%

    ' - Constants ------------------------------------------------
    ' For disabling password security set wexPassword = ""
    Const wexPassword = "tester"
    ' Root folder, it can be a physical or virtual folder: "c:\test", "/test"
    ' Beware that you will not have web access(no web browsing of files/folders) if you use a physical folder like "c:\test"
    ' If you want to have web access with a physical folder, you should create a virtual folder(IIS alias like "/folder") for that physical folder and use it instead.
    Const wexRoot = "/wexlite"
    ' Show files and folders that have hidden attribute set?
    Const showHiddenItems = true
    ' Calculate total size of the current folder? Disable if it takes long time with huge folders.
    Const calculateTotalSize = true
    ' Calculate total sizes of the folders in the listing? Disable if it takes long time with huge folders.
    Const calculateFolderSize = true
    ' List of file extensions which are showed with the "T" icon and can be edited by clicking the icon.
    Const editableExtensions = "htm,html,jpg,asp,asa,txt,inc,css,aspx,js,vbs,shtm ,shtml,xml,xsl,log"
    ' List of file extensions which are showed with the "P" icon and can be viewed by clicking the icon.
    Const viewableExtensions = "htm,html,jpg,asp,asa,txt,inc,css,aspx,js,vbs,shtm ,shtml,xml,xsl,log"
    ' Display full physical path of the current folder? Set it to false for hiding your server path structure.
    Const displayPath = true
    ' List of file extensions to be monitored during Upload, Rename, Editor Save and Create New File actions.
    ' Allowance or denial is due to the value of denyMonitored constant. Extensions should be separated by comma.
    Const monitoredExtensions = "htm,html,asp,jpg,asa,txt,inc,css,aspx,js,vbs,shtm ,shtml,xml,xsl,log"
    ' True means monitored extensions are denied and false means only monitored extensions are allowed but not any other.
    Const denyMonitored = true
    ' ------------------------------------------------------------

    ' - Variables ------------------------------------------------
    ' Set script timeout value to higher values (in seconds) if the script fails when uploading large files
    Server.ScriptTimeout = 300
    ' Preferred character set, default value is "ISO-8859-1" (Western European character set)
    ' Don't bother to change it unless you are having problems with handling text in your language
    ' Character sets and supporting code pages can be found at
    ' http://msdn.microsoft.com/library/de...s/charset4.asp
    Response.CharSet = "ISO-8859-1"
    ' Preferred code page, default value is 1252 (Western European codepage)
    ' Don't bother to change it unless you are having problems with handling text in your language
    Session.CodePage = 1252
    ' Preferred locale identifier, default value is 1033 (English - United States)
    ' Locale ID (LCID) Chart can be found at
    ' http://msdn.microsoft.com/library/de.../vsmscLCID.asp
    Session.LCID = 1033
    ' ------------------------------------------------------------

    ' - Plugins --------------------------------------------------
    ' File transfer plugin
    %><%
    ' ------------------------------------------------------------

    %>

  2. #2
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Le cartelle in ci fai operazioni con i file devono avere i permessi di scrittura.

    Roby

  3. #3
    é normale che con un hosting windows di aruba non si possano cambiare i permessi??

  4. #4
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Si.
    I permessi sono solo nelle cartelle mdb-database e public.

    Roby

  5. #5
    Allora, io sposto la cartella in mdb-database e non me la apre,
    in public invece si e magicamente mi spariscono i file di configurazione ecc che invece prima visualizzavo.

    Quindi ho la lista vuota,ma non posso creare cartelle o importare file..

    Sai aiutarmi anche qui?

  6. #6
    Moderatore di ASP e MS Server L'avatar di Roby_72
    Registrato dal
    Aug 2001
    Messaggi
    19,559
    Non ho capito cosa hai fatto.
    Ad ogni modo non devi spostare tutta l'applicazione in quelle cartelle ma far in modo di "agire" sui file SOLO in quelle cartelle modificando opportunamente i percorsi.

    Roby

  7. #7
    Su aruba hai permesso in scrittura di modifica file solo nella cartella public.

    Su mdb-database solo i file con estensione .mdb, nella quale poi è impossibile scaricare i file.


    Sposta tutto in public

  8. #8
    Ciao Ragazzi, ho alcune domande.
    1-in wexlite, mi sapete dire dove decido la cartella in cui carico i file, creo ecc?
    se cambio wexRoot non mi funziona più, ed allo stasso tempo ho necessità di cambiarlo perchè altrimenti sono visibili e cancellabili i file di sistema(default, config ecc..)

    2-avete un codice per fare aprire a tutto schermo la prima pagina?(default)

    3-posso creare una seconda password al codice che segue?che è la pagina di config..

    grazie Ragazzi!!


    <%

    ' - Constants ------------------------------------------------
    ' For disabling password security set wexPassword = ""
    Const wexPassword = "tester"
    ' Root folder, it can be a physical or virtual folder: "c:\test", "/test"
    ' Beware that you will not have web access(no web browsing of files/folders) if you use a physical folder like "c:\test"
    ' If you want to have web access with a physical folder, you should create a virtual folder(IIS alias like "/folder") for that physical folder and use it instead.
    Const wexRoot = "/wexlite"
    ' Show files and folders that have hidden attribute set?
    Const showHiddenItems = true
    ' Calculate total size of the current folder? Disable if it takes long time with huge folders.
    Const calculateTotalSize = true
    ' Calculate total sizes of the folders in the listing? Disable if it takes long time with huge folders.
    Const calculateFolderSize = true
    ' List of file extensions which are showed with the "T" icon and can be edited by clicking the icon.
    Const editableExtensions = " htm,html,jpg,asp,asa,txt,inc,css,aspx,js
    ,vbs,shtm,shtml,xml,xsl,log"
    ' List of file extensions which are showed with the "P" icon and can be viewed by clicking the icon.
    Const viewableExtensions = " htm,html,jpg,asp,asa,txt,inc,css,aspx,js
    ,vbs,shtm,shtml,xml,xsl,log"
    ' Display full physical path of the current folder? Set it to false for hiding your server path structure.
    Const displayPath = true
    ' List of file extensions to be monitored during Upload, Rename, Editor Save and Create New File actions.
    ' Allowance or denial is due to the value of denyMonitored constant. Extensions should be separated by comma.
    Const monitoredExtensions = " htm,html,asp,jpg,asa,txt,inc,css,aspx,js
    ,vbs,shtm,shtml,xml,xsl,log"
    ' True means monitored extensions are denied and false means only monitored extensions are allowed but not any other.
    Const denyMonitored = true
    ' ------------------------------------------------------------

    ' - Variables ------------------------------------------------
    ' Set script timeout value to higher values (in seconds) if the script fails when uploading large files
    Server.ScriptTimeout = 300
    ' Preferred character set, default value is "ISO-8859-1" (Western European character set)
    ' Don't bother to change it unless you are having problems with handling text in your language
    ' Character sets and supporting code pages can be found at
    ' http://msdn.microsoft.com/library/d...ts/charset4.asp
    Response.CharSet = "ISO-8859-1"
    ' Preferred code page, default value is 1252 (Western European codepage)
    ' Don't bother to change it unless you are having problems with handling text in your language
    Session.CodePage = 1252
    ' Preferred locale identifier, default value is 1033 (English - United States)
    ' Locale ID (LCID) Chart can be found at
    ' http://msdn.microsoft.com/library/d...l/vsmscLCID.asp
    Session.LCID = 1033
    ' ------------------------------------------------------------

    ' - Plugins --------------------------------------------------
    ' File transfer plugin
    %><%
    ' ------------------------------------------------------------

    %>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.