Directory listing server side
Hi,
I am looking to provide a list of files. These files exist on the application server (it is actually the image directory i wish to list). I have had a look at the package text_io which can read and write files to the server side, but there doesnt seem to be a way to list files.
Does anyone here know a way of doing this. I cannot do it via the database as the database and App server will exist on different boxes
As you have probably found out there is no native functionality to do this within PL/SQL Another alternative to those already suggested is to use JAVA
Tom Kyte has an excellent example here:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584
Similar Messages
-
Cascading lists drop downs in SharePoint Designer (no server-side code) without postback
I've created cascading drop downs populated from SharePoint lists, by following
this post by Lars in SharePoint designer without using code, it works fine, my issue is that the secondary drop down only populates if the main drop down causes auto-post-back, is there any way to make the secondary drop down populate without causing
post back and without using server-side code?
Since you are using the ASP:DropDownList, you will need the post-back since it's a server-side control that doesn't use a callback. The following JavaScript library provides for a way to creating cascading dropdowns on the client-side,
http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPCascadeDropdowns
Dimitri Ayrapetov (MCSE: SharePoint) -
Directory listing from my OS X 10.5.8 server into a text file
Does anyone know how I can get a directory listing from my server, which I can put into an Excel Spreadsheet?
ThanksDownload the free TextWrangler and drag the enclosing folder into it. Alternatively, open the AppleScript Editor in the /Applications/Utilities/ folder, paste the following in:
do shell script "ls -AR " & quoted form of POSIX path of ((choose folder) as alias) & " >> ~/Desktop/inventory.txt"
and run it as is.
(104088) -
How to disable the Directory listing for the whole server or a particular a
Please let me know how to disable the Directory listing for the whole server or a particular application.
Thank YouI want to disable the tab focusing( tab index) for a JTextField objectsLook through the API and find methods with the word "focus" in the method name.
Also can u tell me about how to change the tab index orders for JTextFields."How to Use the Focus Sub System":
http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html -
Prepopulating dropdown list on server side
We are preparing a PoC for a potential customer and they want to see how to prepopulate a dropdown list on server side. We found some useful samples from internet. But all of them are using roughly same method: get data from database and populate into a hidden text box then populate into dropdown list by javascript. But when I compare this solution with other LiveCycle utilies I believe that there must be another simple method. (Maybe came with ES2 so there is no documentation on internet yet. ) So we decided to consult you? Do you have any suggestions?
Thank in advance.
Here are sample links for the common solution on internet:
http://eslifeline.wordpress.com/2008/05/04/pre-populating-a-drop-down-list/
http://forums.adobe.com/thread/514138Hi Nitsan
What is your browser? Look like it is not WebDynpro compatible.
BR, Siarhei -
Pb Server-Sides inludes + Dynamic List Wizard with PHP 5.2
Hi
I include some Dynamic Lists in a master page with Server Side Include beahavior.
It was Ok in PHP 5.1 with any number of items (50 items per page).
But there is problem with PHP 5.2, it's OK with 20 items per page, nothing is displayed with 50 items per pages.
I've seen that there is a new memory manager for the Zend Engine with PHP 5.2...
SO I modified some parameters in php.ini (memory_limit...) with no result.
Is there somebody have the same problem, an idea ?
Thank you
MarieHi Marie,
I´m running PHP 5.2.2 with the Zend Memory Manager enabled as well, and so far I didn´t encounter such issues -- maybe you´ll just need to increase the currently defined "max_execution_time" value ?
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Lion Server: How can I enable directory listing for the Web Server?
The functionality was part of the Server App in Lion Server but was not included in Lion. Can anyone shed some light on how to enable Directory Listing. Any help is appreciated!
Go to /etc/apache2 and edit the file 000_any_80_.conf
using sudo nano command and replace "-Indexes" with "+Indexes".
Restart Apache with "sudo apachecrl restart"
Good luck,
Ricky
from Costa Rica -
FTP Server "Failed to retrieve directory listing"
I am setting up a new FTP site on Server 2012. I can access the site locally but when accessing using filezilla externally I get the error:
Status: Connecting to 203.109.232.97:21...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER ftptest
Response: 331 Password required
Command: PASS **********
Response: 230-Directory has 857,133,400,064 bytes of disk space available.
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (203,109,232,97,233,180).
Command: LIST
Response: 150 Opening BINARY mode data connection.
Error: Connection timed out
Error: Failed to retrieve directory listing
Have opened ports on firewall but still not working. Not sure what to try nextCheck : http://social.technet.microsoft.com/Forums/windowsserver/en-US/706e5104-325c-4c43-8c06-a20704569bf4/ftp-server-failed-to-retrieve-directory-listing?forum=winservergen
Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread. -
:( Manually bind server side List binding
I am using jdeveloper 11.1.1.5
Could any body pls tell me
how to Fix the server side ListBinding usage name in List binding metadata
As i am getting error as i explained in my previous post!!!
I am receving this error while i am trying to access my LOV which was manually binded
<Utils> <buildFacesMessage> ADF: Adding the following JSF error message: ListBinding definition :LOV_FyYear not found.
oracle.jbo.InvalidParamException: JBO-34009: ListBinding definition :LOV_FyYear not found.First you should create OV_FyYea and try to bind.
-
Directory Listing Using Weblogic Server
Hi all,
I need to be able to browse few directories via web page using Weblogic as WebServer ( on Linux RedHat 5.0)
for example the directory to be browsed are:
/home/oracle/swift
/home/oracle/payables
Please let me know how I can achieve this !!
Thanks
KSmaybe it's a bit overkill to use the JCA File Adapter
http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_file.htm#BABFGIEJ
which has a "directory listing" feature
but I think it's not very recommended to use directly the java.io.File class to perform this operation...
any other thoughts? -
server side activities updated... restart SPD to use latest activities"
pretty huh? I have been working with SP13 online and a custom list which I would simply like to add a workflow too,
When creating a workflow I receive this error, I have uninstalled SPD I have cleared/deleted cache files in the following locations:
<user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
< user profile>\appdata\local\microsoft\websitecache\<sitename>
restarted computer
reinstalled SPD
and...same message "server side activities updated... restart SPD to use latest activities"
Same Image as above
Now what else can I do, there aren't any language packages other than the default English, and a lot of people find this issue with no luck as to a resolution, need an answer that will workIn my case the solution to this problem was the following. I discovered that the contents of <user profile>\AppData\Local\Microsoft\WebsiteCache\<sitename>\<version> was empty aside from Activity.xml for the website in question. This directory
should actually download the following list of files from the server in order for the workflows to operate in SPD. This is not the case when things go wonky.
Microsoft.ReportingServices.SharePoint.UI.WebParts.Proxy.dll
Microsoft.SharePoint.WorkflowServices.Activities.Proxy.dll
Microsoft.Web.Design.Client.dll
Newtonsoft.Json.dll
ProxyAssembly.xml
System.Net.Http.dll
System.Net.Http.Formatting.dll
System.Net.Http.Formatting.xml
System.Net.Http.xml
System.Web.Entity.Proxy.dll
System.Web.Extensions.Proxy.dll
So I found that if I copied these from another websitecache directory that is working or perhaps copying them from another machine where SPD is working properly that my workflows will start working once again. I haven't checked but I'm certain that you could
hunt down all these dll's manually on the server as well. -
Directory listing : Codepage problem ???
Hi there,
i want to fetch a list of files from a specific directory (the directory would be in the application server and not in the presentation server) during a background execution of a report.
I have tried the function modules 'SUBST_GET_FILE_LIST' and 'EPS_GET_DIRECTORY_LISTING'.
The problem is that the list of files comes with unknown characters when there is a file name with Greek characters.
Is this an application server setup problem or there is a possibility to get a correct file list through another function module?
Thanks in advance.
KostasThere was a misconfiguration on the server side. Consider this question as answered.
Kostas -
HOWTO: Setting up Server-Side Authentication with SSL
This howto covers the configuration of server-side SSL authentication for both Net8 and IIOP (JServer) connections. It documents the steps required to set up an SSL encrypted connection; it does not cover certificate authentication.
It is worthwhile noting that although the setup of SSL requires the installation of certificates, these certificates do not have to be current, only valid. For some reason, in order to enable SSL connections, it is necessary to set up valid certificate file on the server whether you intend to use certificate authentication or not.
NOTE: I have been unable to determine whether or not the above statement is entirely correct. If anyone can confirm or disprove it, please let me know.
The steps described below must all be carried out from the same logon account. They have been tested on both 816 and 817 databases, but will probably work for all versions, including 9i (unless there have been some drastic changes in 9i that I'm not aware of).
1. Log on to the database server with an administrative login.
Configure the database and listener to run under the current login account (Control Panel -> Services). It is not necessary to restart these services at this time.
2. Create an Oracle wallet and set up the required certificates
(i) Open the Oracle Wallet Manager:
Start -> Programs -> [Oracle Home] -> Network Administration -> Wallet Manager
(ii) Create a new wallet (Wallet -> New).
(iii) When prompted, elect to generate a certificate request.
(iv) On the request form, the only field that matters is the Common Name. Enter the fully qualified domain name (FQDN) of the database server (i.e. the name with which the database server will be referenced by clients).
(v) Export the certificate request to file (Operations -> Export Certificate Request).
(vi) Obtain a valid server certificate from an authorised signing authority. It will also be necessary to download the signing authoritys publicly available trusted root certificate. Certificates can be obtained from Verisign (http://www.verisign.com/)
(vii) Install the trusted root certificate obtained in (vi) into the wallet (Operations -> Import Trusted Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
(viii) Install the server certificate obtained in (vi) into the wallet (Operations -> Import User Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
(ix) Save the wallet (Wallet -> Save). The wallet will be saved to the [user home]\Oracle\Wallets directory.
3. Configure the listener for SSL.
(i) Open the Oracle Net8 Assistant:
Start -> Programs -> [Oracle Home] -> Network Administration -> Net8 Assistant
(ii) Select Net8 Configuration -> Local -> Profile.
(iii) From the drop-down list at right, select Oracle Advanced Security. Select the SSL tab.
(iv) Select the Server radio button.
(v) In the wallet directory field, enter the location of the wallet created in step 2, e.g. C:\WINNT\Profiles\oracleuser\ORACLE\WALLET
(vi) Uncheck the Require Client Authentication checkbox.
(vii) Select Net8 Configuration -> Listeners -> [listener name].
(viii) Add a new address:
Protocol: TCP/IP with SSL
Host: [database server FQDN] (e.g. oraserver)
Port: 2484
(ix) Add a second new address:
Protocol: TCP/IP with SSL
Host: [database server FQDN] (e.g. oraserver)
Port: 2482
Check the Dedicate this endpoint to IIOP connections checkbox.
(x) Save the Net8 configuration (File p Save Network Configuration).
(xi) Restart the listener service.
4. Configure the database to accept SSL connections.
(i) Open the database inti.ora file (\admin\[SID]\pfile\init.ora or equivalent).
(ii) At the bottom of the file, uncomment the line that reads
mts_dispatchers = "(PROTOCOL=TCPS)(PRE=oracle.aurora.server.SGiopServer)"
(iii) Save the file and restart the database service.
5. Test the SSL confi guration using the Net8 Assistant.
(i) Open the Oracle Net8 Assistant.
(ii) Select Net8 Configuration -> Local -> Service Naming.
(iii) Add a new net service (Edit p Create).
Net service name: [SID].auth (e.g. iasdb.auth)
Protocol: TCP/IP with SSL
Host: [database server] (e.g. oraserver)
Port: 2484
Service Name/SID: [SID] (e.g. iasdb.orion.internal)
Note: at the end of the net service configuration, click Finish, not Test. The test can hang if run from the wizard.
(iv) Test the connection (Command -> Test Service). If the only error to appear is username/password denied, the test has succeeded.
nullDear Alex,
Thank you for reaching the Small Business Support Community.
I would first suggest you to uncheck the "Perfect Forward Secrecy" setting on the RVS4000 and if see if there is some similar setting enabled, then disable it, on the other side. If still the same thing happens, then go to RVS4000, VPN Advanced settings, and disable the "Aggressive Mode" so it becomes "Main mode" and use the same on the other end of the tunnel.
Just in case and as a VPN configuration guide, below is a document called "IPSec VPN setup" if it helps somehow;
http://sbkb.cisco.com/CiscoSB/Loginr.aspx?login=1&pid=2&app=search&vw=1&articleid=587
Besides my suggestions I would advise you to contact your ISP to make sure there is no IPSec traffic restrictions and/or if there is something in particular they require to make this happen and please do not hesitate to reach me back if there is any further assistance I may help you with.
Kind regards,
Jeffrey Rodriguez S. .:|:.:|:.
Cisco Customer Support Engineer
*Please rate the Post so other will know when an answer has been found. -
Poriblems with Server Side Include
I amtrying to convert to Spry Menus using SSI. into a template. been beating my head against the wall on what can go in and what can't in an include fil but that turns out not be my big problem
when in using Dredamweaver CS5 and do a server side I have major issues at the differeent levels
i have the file in a directory off the site root called Includes
the file i am trying to include
using a page at the root level my statement using document relation is
<!--#include file="Includes/Navbar.html" -->
works fine channg to site relation does not work Ok so far so good
however a page in a lower level director gets the dreaded
[an error occurred while processing this directive]
and i get an error
[Sat Sep 01 16:51:42 2012] [error] [client 174.57.220.98] unable to include file "../Includes/Navbar.html" in parsed file /usr/local/www/kasdivi.com/blog/beachguide.html
and also
Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open "/usr/local/lib/php/20100525-debug/memcache.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open "/usr/local/lib/php/20100525-debug/apc.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open "/usr/local/lib/php/20100525-debug/pdf.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/memcache.so' - Cannot open "/usr/local/lib/php/20100525-debug/memcache.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/apc.so' - Cannot open "/usr/local/lib/php/20100525-debug/apc.so"
Unknown(0) : Warning - PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20100525-debug/pdf.so' - Cannot open "/usr/local/lib/php/20100525-debug/pdf.so"
the php errors don't seem mahor although they seem to have i have another iisue or are the related
but that aside
If I move the include file to the same level as the pade with approprirate include statement no problem it works
if i move it to a subditrectory then it doesn't work
summary
i can get SSI to work for page on the root level using Includes from a subdirectory
but on other level I must have the include in the same directory with the page
any thoughts??Your menu links are inside an include file. There should be nothing else inside that file except the list tags, classes & hyperlinks. Links are relative to the parent page(s) in which they will occur.
All supporting scripts and CSS go inside the parent page -- in your case, the Template.dwt file.
Local Files Panel:
-Includes
menu.html
footer.html
+Styles
+SpryAssets
-Templates
main.dwt
about.shtml
contact.shtml
index.shtml
services.shtml
Problems will occur if you use document relative link paths with pages that are located inside sub and sub-sub folders. Obviously, you want to avoid doing that. For best results, keep all your site pages at root level.
Hope this helps,
Nancy O. -
Server side script not running on stand-alone XE
Hello,
In my application I created a Server side script (AJAX) which presents a select-list based on other fields on the page. The very same application runs on a 10g+APEX3.0.1 database AND on a standard XE+APEX2.1 database, which are both accessed via a HTTP-server. The application with the script runs fine on this platform (XP).
I have two other XP-machines on which I also installed XE+APEX2.1. Both are stand-alone versions NOT accessed via a HTTP-server. I installed exactly the same application which runs on the platform with HTTP server on both of the machines. While testing the correct functioning, I noticed that everything works ok, EXCEPT the server side script which gives me a better select list. Instead of this I get the old-fashioned version of the select-list which is not able to use the value elsewhere on the page.
I found a similar problem on the XE forum (Re: Server side scripts features ) but it doesn't answer my question how to get the script working on a standalone version of XE (= without access via a HTTP-server).
Can anybody please help me?
Thanks & regards,
Jan.
Message was edited by: Jan
J. HulsingCarl,
Thanks for your suggestion to install FireFox and the Firebug tool (which I wasn't aware of).
After having looked at the problem for hours, I found what I think is the problem: the htmldb_html_elements.js script.
As already mentioned, the properly functioning XE on my local PC is accessed via a HTTP-server, as well as the 10gR2+APEX3.0.1 version also running on that PC.
On the laptop, not running HTTP-server, I get the message: <br>
<FONT COLOR="RED">$x is not defined <BR>
<FONT COLOR="BLUE"> f_21_select_kpn<FONT COLOR="RED">(<FONT COLOR="BLUE">input<FONT COLOR="BLACK">#P21_GBREKNR 405<FONT COLOR="RED">, "P21_KOSTENPOST") <BR>
<FONT COLOR="BLUE">onblur<FONT COLOR="RED">(<FONT COLOR="BLACK">blur <FONT COLOR="RED">)
</FONT><BR>
That is in the 'Console' of Firebug.
When changing to Script I do see a remarkable difference.
On the PC there the following text is found in the first lines of htmldb_html_elements.js:
/*htmld_elements will contain the lower level html access js*/<br>
var gDebug = true;<br>
var gkeyPressTime;<br>
var gLastTab=false;<br>
var gRegex=false;<br>
var ie=(document.all)?true:false;<br>
if(ie){document.expando=true;}<br>
var gDebugWindow = false;<br>
/*<br>
$x functions have to do with either single elements or array of elements<br>
$v functions have to have to do with manipulating values or interaction based off a value<br>
$xml function have to do with manipulating xml values<br>
$a functions are based on ajax<br>
$d functions are specific dhtml constructs<br>
*/<br>
/* begin $x functions */<br>
function $x(pNd){<br>
try{<br>
var node;<br>
...<br><br>
On the laptop however the first few lines are:<br><br>
/*htmld_elements will contain the lower level html access js*/<br>
<br>
var gDebug = true;<br>
var gkeyPressTime;<br>
var gLastTab=false;<br>
var gRegex=false;<br>
if(document.all){document.expando = true;}<br>
// Elements //<br>
<br>
function html_GetElement(pNd){<br>
try{<br>
var node;<br>
switch(typeof (pNd)){<br>
...<br><br>
I think that the difference is in these two scripts.
But why are the scripts different: it is the same XE that is installed on the laptop and the PC.<br>The answer I found in the images/javascript directory of APEX3.0.1 which is located in the APACHE directory-tree (you have to copy the images to APACHE when you use the HTTP-server). And indeed: the htmldb_html_elements.js has exactly the same text as what I see in Firebug on the PC. So XE on the PC is using the javascripts in the image-directory of APACHE on the PC and not the XE-version of the scripts, embedded in XE.
<br><br>
So the answer seems to be: copy the APEX3.0.1 versions of the script over to the PC and try to get them into the database. Or...???
<br>
Can it be loaded into the database? Will XE accept it?
<BR><br>
Would be nice to have answers if the conclusion I found is the right one and if it can be fixed by loading the js into XE.
<br>
Best regards and thanks for your help so far.
<br>
Jan.
Maybe you are looking for
-
How to stop the Flex application when user clicks on Cancel button from JS-confirm message?
Hi All, I use the next code when a user clicks on a link: private function clickHandler():void ExternalInterface.call('confirm', 'Of course you want to go to the Adobe forums!'); navigateToURL(new URLRequest('http://forums.adobe.com'), '_
-
Hello, I create a report with Crystal Report XI release 1 and i use an Advantage database. On my computer i use an alias "DB" to locate the database ( the database is on c:\Database\ ). When i run the report there is no problem. If i want to use this
-
Information Broadcasting & Archiving: Query reports need to be Archived
Hi All, The requirement is that , we need to broadcast query reports in Bex 7.0 to be archived as a pdf. Please note that this is not Data archiving. We need to archive only query reports. We need to make sure that pdf gets generated in Background an
-
Creating dynamic variable names
I know there has got to a way to do this but I am not finding anything on google. I want to create a dynamic variable name like name + i so when your in a loop the names come out name1, name2 and so on till however many you want. I have tried int nam
-
I have the Administer "Home" icon set up as my first name. I noticed when I send out files and pics that my first name is revealed in the file 'details'. In an effort to conceal this or be anonymous I created another user folder but what has happened