File on server
Hi
I have a file on a server called test.exe,say. The directory structure on the server is as follows:
-test
-dir1
-dir2
I am having problems in accessing the data from a web browser. I think the main problem is what paths do I use to access the data from test.exe in a web brower?
Note: I am using FTP.
Thank you and smile.
Seems you have a couple of problems:
Delete the "\" after ftp:
Try to use a username that does not contain an "@". Since "@" is a special symbol to seperate "user / pass" from the hostname in the link, the presence of the @ inside the username will probably confuse the parser. (I don't know if there is an easy way to escape that, maybe there is.)
The server requires login and does not allow anonymous ftp, maybe you can login manually and save username/password in your password cache and then get the file without the username/password in the line.
I was able to donwload the file with the credentials shown in the attached image. Once testing is over I urge you to immediately change your password, since it is now public.
Here's the commandline I used. I entered username and password when it propted me
ftp://members.iinet.net.au/ECOTUD/MarioSmith/MarioSmith.bmp
Message Edited by altenbach on 07-08-2007 09:53 AM
LabVIEW Champion . Do more with less code and in less time .
Similar Messages
-
I have made a file sharing app, and the description and file
name are stored in my access db, when i delete the recordset for
the file i also want to delete the actual file. i am able to delete
the file with the full path entered and the file name as a
variable,
with this code:
<%
Dim filepath
filepath = Session("file_del")
set filedel = CreateObject("Scripting.FileSystemObject")
filedel.DeleteFile("C:\localhost\CallCenter\EMPLOYEE_FILES\"&
filepath), True
set filedel = nothing
%>
I put the name of the file in the file_del session variable
on the page that deletes the recordset.
But i would like to make it work on my hosted site without
having to change the path to my sites, so i have made this code:
<%
Dim filepath
filepath = Session("file_del")
strPhysicalPath = Server.MapPath(filepath)
set filedel = CreateObject("Scripting.FileSystemObject")
filedel.DeleteFile strPhysicalPath , True 'Line that causes
ERROR
set filedel = nothing
%>
But the error comes File Not found.
if i just display the strPhysicalPath variable on the page
without the delete action it displays the proper path.
how can i get the strPhysicalPath to be read, i have tried
all of the ways i can think of
filedel.DeleteFile strPhysicalPath , True
filedel.DeleteFile & strPhysicalPath & , True
filedel.DeleteFile (strPhysicalPath) , True
filedel.DeleteFile ("" & strPhysicalPath & "") , True
filedel.DeleteFile ( & strPhysicalPath) , True
But none of them work ?
Any help would be greatAfter some rest and a closer examination, i realized the
error was in the mappath line, it wasnt including the folder that
held the files. strPhysicalPath = Server.MapPath(filepath) was
wrong so, I added the folder name: strPhysicalPath =
Server.MapPath("EMPLOYEE_FILES/" & filepath) then the file is
deleted. so complete code is:
<%
Dim filepath, strPhysicalPath
filepath = Session("file_del")
strPhysicalPath = Server.MapPath("EMPLOYEE_FILES/" &
filepath)
set filedel = CreateObject("Scripting.FileSystemObject")
filedel.DeleteFile (strPhysicalPath), True
set filedel = nothing
%> -
I'm having some difficulty updating a table in my powerpivot data model. The data for the table is stored in a local excel file; if I go to
Existing Connections select the connection and do a test then everything is successful. When however I try to refresh that particular table I get the following error:
"We couldn’t refresh the connection. Please go to existing connections and verify they connect to the file or server."
In the past I had this and it was an authentication issue, the files are stored on SharePoint and I wasn't logged in to Sharepoint - I have however checked this and it can't be the issue because I have other tables linked to other excel files in the same
location that are refreshing without issue. Can anyone think of what may be causing it?
I have even tried creating a new local excel with the same data, added it to the data model and then tried a refresh and I I get exactly the same issue.
Are there any known issues with refreshing data from an Excel file if, after the initial import, you add columns to the table in the excel file I was wondering if this might contribute?
ThanksHi Maracles,
Thanks for your post.
From your description, I tried to reproduce this issue on my test environment. However, everything is fine for me. Could you please post the specific version of SQL Server PowerPivot for Excel?
You can try to use a trace file to troubleshoot errors in PowerPivot. If this issue still persists, please try to reinstall SQL Server PowerPivot for Excel to see if this helps.
For more information, please see:
PowerPivot Options & Diagnostics Dialog Box:
http://technet.microsoft.com/en-us/library/gg399091.aspx
Using a Trace File to Troubleshoot Errors in PowerPivot:
http://www.sqlchick.com/entries/tag/powerpivot
Best Regards,
Elvis Long
TechNet Community Support -
Hi All,
upload failed your changes were saved but could not be uploaded because of an error. you may be able to upload this file using server web page. save a copy button.
This is the issue which I am facing while working with SharePoint 2010. In a sharePoint 2010 document library I am having an excel file and I am trying to open it from Windows 7 and is office 2010.
I cam e across few suggestion as mentined below but unable to find the location where to do
Go to Resource Policies > Web >
Rewriting > Custom Headers > (if 'Custom Headers' is not visible, click
Customize on the right top to enable the view).
Create a new policy with the Resource as <fully qualified domain name of the SharePoint server:*/*> (for example https://sharepoint.juniper.net:*/* ).
Create the action as Allow Custom Headers.
Apply the settings to the required roles.
Please suggest.Hi rkarteek
All things you have to do is as follows:
1. Open regedit.exe
2. Naviagate to following key:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\14.0\Common\Internet]
3. Click Edit Menu -> New -> DWORD with name of "FSSHTTPOff"
(without quotes)
4. Click on "FSSHTTPOff" and enter value of 1
5.
Close any Office Applications and browser sessions
6. Try to reopen your document (no more read only or failure to upload)
have a nice day! -
Hi Experts,
I have a requirement in my application, that list out the files from the server in table and also delete the file. Pls specify the code.
Regards,
Kiruba.RHi
List all the files from server
public void listServerFiles( )
//@@begin listServerFiles()
wdContext.nodeFiles().invalidate();
IPrivateExperimentView.IFilesElement element;
java.io.File file = new java.io.File( "D:\\Test");
File list[] = file.listFiles();
for( int i = 0; i < list.length; i++)
element = wdContext.createFilesElement();
element.setFileName( list[ i].getName());
wdContext.nodeFiles().addElement( element);
//@@end
Display the selected file
public void onActiondownload(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActiondownload(ServerEvent)
IWDResource resource;
String name = wdContext.currentFilesElement().getFileName();
String path = "D:\\Test\\" + name;
InputStream stream;
try {
stream = new FileInputStream(path);
resource = WDResourceFactory.createResource( stream, name,
WDWebResourceType.UNKNOWN, true);
stream.close();
wdComponentAPI.getWindowManager()
.createNonModalExternalWindow( resource.getUrl( 0), name).show();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Delete the selected file
public void onActiondeleteFile(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActiondeleteFile(ServerEvent)
String path = "D:\\Test\\" + wdContext.currentFilesElement().getFileName();
File file = new File( path);
file.delete();
listServerFiles();
//@@end
vinod -
Delete WorkBook and Query file from Server .
Dear All Experts .
I dun know i posted in correct places or not .. (correct me if i m wrong) .. i want to ask about the BW Workbook and query.
How we going to remove the remove the workbook or query files from Server ? bc i tried to delete from Analyzer(excel 2007), the file is deleted from the view , but havent delete from the server... So how i going to remove the file from server ?
Thank.Hello I have the same problem. Can you please tell me how you finaly manage to delete the workbook.
thank's you for advance,
Akiba -
How to transfer file from server to client
I am making a server printer where all the system can take print out from the Printer installed on the server
i am not able to send file from the client to the Server. I am Attaching the code Please Help me it is my college project.
Server.java*
import java.io.*;
import java.lang.*;
import java.net.*;
import java.util.*;
import java.io.File;
class Server
static final int PORT = 26548; //Server Listening port
static String path;
public static void main(String args[])
System.out.println("Starting Server");
receive();
public static void receive()
while ( true )
try
//Create a socket
ServerSocket srvr = new ServerSocket(PORT);
Socket skt = srvr.accept();
String clientname= skt.getInetAddress().getHostAddress();
int clientport=skt.getPort();
long time = System.currentTimeMillis();
path= "C:\\Ankit Gupta\\Programs\\"+clientname+"\\"+time+" test.pdf";
System.out.println("File Recieved from : "+clientname+" : "+clientport);
//HttpServletRequest req;
//String remoteHost = req.getRemoteHost();
//String adr = getRemoteUser();
FileOutputStream fos = new FileOutputStream(path);
BufferedOutputStream out = new BufferedOutputStream(fos);
BufferedInputStream in = new BufferedInputStream( skt.getInputStream() );
//Read, and write the file to the socket
int i;
System.out.println("Receiving data...");
while ((i = in.read()) != -1)
out.write(i);
out.flush();
in.close();
out.close();
skt.close();
srvr.close();
System.out.println("Transfer complete.");
printfile();
catch(Exception e)
System.out.print("Error! It didn't work! " + e + "\n");
try
Thread.sleep(1000);
catch (InterruptedException ie)
System.err.println("Interrupted");
} //end infinite while loop
public static void printfile()
delete();
public static void delete()
try
Thread.sleep(5000);
catch (InterruptedException ie)
System.err.println("Interrupted");
System.out.println("Deleting file");
File f = new File(path);
// Make sure the file or directory exists and isn't write protected
if (!f.exists())
throw new IllegalArgumentException("Delete: no such file or directory: " + path);
if (!f.canWrite())
throw new IllegalArgumentException("Delete: write protected: "+ path);
// If it is a directory, make sure it is empty
if (f.isDirectory())
String[] files = f.list();
if (files.length > 0)
throw new IllegalArgumentException("Delete: directory not empty: " + path);
// Attempt to delete it
boolean success = f.delete();
if (!success)
throw new IllegalArgumentException("Delete: deletion failed");
Client.java_
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
import java.util.*;
import java.net.*;
public class Client extends JFrame {
static final int PORT = 26548; //Server Listening Port
static File file;
static final String HOST = "10.35.9.152";//Server Address
JTextField m_fileNameTF = new JTextField(25);
JFileChooser m_fileChooser = new JFileChooser();
Client() {
m_fileNameTF.setEditable(false);
JButton openButton = new JButton("Open");
openButton.addActionListener(new OpenAction());
JPanel content = new JPanel();
content.setLayout(new FlowLayout());
content.add(openButton);
content.add(m_fileNameTF);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setContentPane(content);
this.setSize(400,200);
class OpenAction implements ActionListener {
public void actionPerformed(ActionEvent ae) {
int retval = m_fileChooser.showOpenDialog(Client.this);
if (retval == JFileChooser.APPROVE_OPTION) {
file = m_fileChooser.getSelectedFile();
m_fileNameTF.setText(file.getAbsolutePath());
send(file.getAbsolutePath());
public static void main(String[] args) {
JFrame window = new Client();
window.setVisible(true);
public static boolean send( String filename )
try
System.out.println("Connecting to Server");
Socket skt = new Socket(HOST, PORT);
//Create a file input stream and a buffered input stream.
FileInputStream fis = new FileInputStream(filename);
BufferedInputStream in = new BufferedInputStream(fis);
BufferedOutputStream out = new BufferedOutputStream( skt.getOutputStream() );
//Read, and write the file to the socket
int i;
System.out.println("Connected to Server");
System.out.println("Sending data...\n");
while ((i = in.read()) != -1)
out.write(i);
//System.out.println(i);
System.out.println("Transfer complete.");
//Close the socket and the file
out.flush();
out.close();
in.close();
skt.close();
return true;
catch( Exception e )
send(file.getAbsolutePath());
return false;
}I am making a server printer where all the system can take print out from the Printer installed on the server
i am not able to send file from the client to the Server. I am Attaching the code Please Help me it is my college project.
Server.java*
import java.io.*;
import java.lang.*;
import java.net.*;
import java.util.*;
import java.io.File;
class Server
static final int PORT = 26548; //Server Listening port
static String path;
public static void main(String args[])
System.out.println("Starting Server");
receive();
public static void receive()
while ( true )
try
//Create a socket
ServerSocket srvr = new ServerSocket(PORT);
Socket skt = srvr.accept();
String clientname= skt.getInetAddress().getHostAddress();
int clientport=skt.getPort();
long time = System.currentTimeMillis();
path= "C:\\Ankit Gupta\\Programs\\"+clientname+"\\"+time+" test.pdf";
System.out.println("File Recieved from : "+clientname+" : "+clientport);
//HttpServletRequest req;
//String remoteHost = req.getRemoteHost();
//String adr = getRemoteUser();
FileOutputStream fos = new FileOutputStream(path);
BufferedOutputStream out = new BufferedOutputStream(fos);
BufferedInputStream in = new BufferedInputStream( skt.getInputStream() );
//Read, and write the file to the socket
int i;
System.out.println("Receiving data...");
while ((i = in.read()) != -1)
out.write(i);
out.flush();
in.close();
out.close();
skt.close();
srvr.close();
System.out.println("Transfer complete.");
printfile();
catch(Exception e)
System.out.print("Error! It didn't work! " + e + "\n");
try
Thread.sleep(1000);
catch (InterruptedException ie)
System.err.println("Interrupted");
} //end infinite while loop
public static void printfile()
delete();
public static void delete()
try
Thread.sleep(5000);
catch (InterruptedException ie)
System.err.println("Interrupted");
System.out.println("Deleting file");
File f = new File(path);
// Make sure the file or directory exists and isn't write protected
if (!f.exists())
throw new IllegalArgumentException("Delete: no such file or directory: " + path);
if (!f.canWrite())
throw new IllegalArgumentException("Delete: write protected: "+ path);
// If it is a directory, make sure it is empty
if (f.isDirectory())
String[] files = f.list();
if (files.length > 0)
throw new IllegalArgumentException("Delete: directory not empty: " + path);
// Attempt to delete it
boolean success = f.delete();
if (!success)
throw new IllegalArgumentException("Delete: deletion failed");
Client.java_
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.io.*;
import java.util.*;
import java.net.*;
public class Client extends JFrame {
static final int PORT = 26548; //Server Listening Port
static File file;
static final String HOST = "10.35.9.152";//Server Address
JTextField m_fileNameTF = new JTextField(25);
JFileChooser m_fileChooser = new JFileChooser();
Client() {
m_fileNameTF.setEditable(false);
JButton openButton = new JButton("Open");
openButton.addActionListener(new OpenAction());
JPanel content = new JPanel();
content.setLayout(new FlowLayout());
content.add(openButton);
content.add(m_fileNameTF);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setContentPane(content);
this.setSize(400,200);
class OpenAction implements ActionListener {
public void actionPerformed(ActionEvent ae) {
int retval = m_fileChooser.showOpenDialog(Client.this);
if (retval == JFileChooser.APPROVE_OPTION) {
file = m_fileChooser.getSelectedFile();
m_fileNameTF.setText(file.getAbsolutePath());
send(file.getAbsolutePath());
public static void main(String[] args) {
JFrame window = new Client();
window.setVisible(true);
public static boolean send( String filename )
try
System.out.println("Connecting to Server");
Socket skt = new Socket(HOST, PORT);
//Create a file input stream and a buffered input stream.
FileInputStream fis = new FileInputStream(filename);
BufferedInputStream in = new BufferedInputStream(fis);
BufferedOutputStream out = new BufferedOutputStream( skt.getOutputStream() );
//Read, and write the file to the socket
int i;
System.out.println("Connected to Server");
System.out.println("Sending data...\n");
while ((i = in.read()) != -1)
out.write(i);
//System.out.println(i);
System.out.println("Transfer complete.");
//Close the socket and the file
out.flush();
out.close();
in.close();
skt.close();
return true;
catch( Exception e )
send(file.getAbsolutePath());
return false;
} -
DW CS5 -- Issues with uploading files to server
Hi everyone -- I recently took over control of a website that hasn't been updated in years. I am in charge of redesigning the site, but need to keep what we have up-to-date until the new site is ready to roll out. I received the FTP info for the server and got site files into local folders so I can make changes. I've made changes to one file (index.html) and am trying to put that file back onto the server; but in the file transfer process, the dependent files do not get uploaded (I get a message saying "'fileName' - same - not transferred"). The one file that I have changed, and Dreamweaver says has been uploaded, is not updating on the web. I checked the file on both my local and remote view and both reflect the changes I have made -- just not the actual site on the web.
I'm sure that's a little confusing, so I'll try to summarize (with bulletts!):
I have correct FTP info to server
I downloaded site files from server to local folders
I edited index page, and put the file to the server
Dreamweaver indicates that the file has been successfully uploaded
Local view shows edits I have made
Remote view shows edits I have made
Other dependent files have not been uploaded ("'fileName' - same - not transferred" error message)
Actual website does not reflect changes made to index page
What am I doing wrong????
Thanks in advance for any help you can provide!Filezilla is a free, open source FTP client. It's a standard desktop application. An FTP client connects to a server using the File Transfer Protocol and allows you to transfer files up to the server (upload) or download files from the server (download).
Why use a separate FTP client rather then the FTP functionality built-in to Dreamweaver? Because, in my experience, it works better the Dreamweaver's sometimes flakey FTP functionality and it's easier to troubleshoot FTP issues.
In Firefox, to clear the cache, go to Tools -> Advanced -> Click Network Tab -> Click "Clear Now" button. Hit F5 to refresh the page and see what changes (if caching was the issue). If nothing changes then for some reason your files are not being uploaded properly to the server. In that case I'd check to make sure you're loading your files to the correct directory on the server (usually a folder called "httdocs" or "www" - check with your hosting company to amke sure).
Hope this helps. -
Access/download file from server.
have a problem. When I am trying to save/open a file from server(secure) which uses HTTPS, its displaying error message:
Internet Explorer cannot download ...File_name.doc from Server_name.
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.
My code is below. Please help me out.
Its working with my localhost(http) and with Firefix browser. Its something to do with http and IE 6.
<java>
if (!request.getScheme().equals("https"))
response.setHeader("Pragma", "no-cache");
String fileName=request.getParameter("instruction");
//filename = filename.replaceAll( "\\W*", "" ) ;
String DirName = request.getParameter("directory");
String value = (DirName+"/"+fileName);
File f = new File (value);
response.setContentType("application/msword");
//set the header and also the Name by which user will be prompted to save
response.setHeader("Content-disposition", "attachment; filename=" + fileName);
InputStream in = new FileInputStream(f);
out.clearBuffer();
int bit = 256;
int i = 0;
try {
while ((bit) >= 0) {
bit = in.read();
out.write(bit);
} catch (IOException ioe) {
ioe.printStackTrace(System.out);
out.flush();
out.close();
in.close();
</java>HI,
To avoid redirection, Safari users are having good luck with Open DNS Free / Basic
Carolyn -
Report not found in File Repository Server
I am looking for some guidance as to what to try next with this issue.
We had ran into some issues with the central management service and had to reinstall crystal. During the setup we are connecting to our mysql database and the reports and folder structure is restored in the Central Management Console but when the reports are previewed or scheduled to run they fail I receive the following message:
"File generated name.rpt not found on File Repository Server.
Unable to retrieve Object.
File generated name.rpt not found on File Repository Server."
Has anyone came across this issue and if they could provide a solution would be greatly appreciated.
Thanks.there are very many forum posts and SAp knowledge articles on this topic/error message. Please do use search before posting.
The repository that stores all your objects in Crystal is dual one part is int he DB - called CMS DB - it stores all te metadata, and second part is FRS (Input /Output servers) - they store actual physical reports and instances on the disc.
My guess is that during re-install you either wiped out original FRS location or after re-install didn't point your FRS to the right place.
If its second - all you need to do is point FRS to the right directory and you'll get your reports back.
If it's first - you just lost all your reports/universes etc.... and will need to restore from backup. -
Error: File Not Found on File Repository Server
Post Author: Ashish.Phanse
CA Forum: Exporting
Hi
We have clustered 2 servers and all the services of both the servers have CMS Name as "@<Cluster_Name>"
But when we run any crystal report through the thin client(portal) or through crystal itself, it is showing the errror ---
"xxxxxxxx.rpt not found on File Repository Server". If I check the path for report in CMC and if I check physical location, the file is present.
This is happening only with Crystal reports and not with DESKI or WEBI reports.
Please help...
Thanks
AshishPost Author: eng_y_y
CA Forum: Exporting
Hi Ashish,
Did you uninstall the Business Objectes and reinstall it again? -
How to download a file from server machine to client machine using jsp
Hi,
In my application, I have an excel file stored on my server machine. How can I download that excel file on to my client machine using jsp. Is there any other way I can open that file from my machine and save it in my machine using jsp/java?
Its an emergency for me to do this.
Can anyone provide me the full code to download a file from server machine as I don't have
time to browse through various sites.
thanks in advance,
TiijnarPlease post your code using code tags (click on CODE above the text area, when posting)
response.setContentType("application/octet-stream");Why octet-stream? Set the correct mime-type.
String disHeader = "Attachment; Filename=\"filename\"";The filename should just be the file's name. Not the complete path to the file! This will tell anyone where the file is located on the server. It's also inconvenient because by default,the browser will suggest it as the name for the download.
Your way of writing to the output stream is just plain wrong. See this snippet (picked from [http://balusc.blogspot.com/2007/07/fileservlet.html])
BufferedInputStream input = null;
BufferedOutputStream output = null;
try {
// Open streams.
input = new BufferedInputStream(new FileInputStream(file), DEFAULT_BUFFER_SIZE);
output = new BufferedOutputStream(response.getOutputStream(), DEFAULT_BUFFER_SIZE);
// Write file contents to response.
byte[] buffer = new byte[DEFAULT_BUFFER_SIZE];
int length;
while ((length = input.read(buffer)) > 0) {
output.write(buffer, 0, length);
// Finalize task.
output.flush();
} finally {
// Gently close streams.
close(output);
close(input);
} -
Not able to read the wsdl file from server Premature EOF encounter
Hi All,
I am facing issue while accessing a web Service from server. Here is the clear view about it.
I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
Now here i am facing peculiar behavior which i am not able to trace it out.
1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
Can someone please help in resolving the issue.
I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
Many thanks.
Tarak
Edited by: user11896572 on Jan 17, 2012 5:22 PMHi,
Setting default from the jdeveloper -
During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
Setting default from the em console -
After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
Refer -
http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
8.2 Managing the State of Deployed SOA Composite Applications
Thanks -
How can i transfer more than one file from server to client
Hi,
our requirement is transfer more than one files from server to client using the
webutil_file_transfer.as_to_client_with_progress.One file transfer is already working in our system.If anybody know the solution please inform
regards
matjust an idea ...
for this purpose let us put aside security concerns and other potential problems....
-- Get the content of a server directory with Filter and create zip file
1) create a class that implements java.io.FilenameFilter ...
2) define accept() method ...
3) call File.list() with the filter as a parameter. The returned array of strings will have all the names that passed through the accept() filter
4) use java.util.Zip to create ZIP file on the server side
-- I think it is better to create this functionality as a separate Java class, put it in required folder and after it
-- use Forms->Program->"Import Java class" to create pl/sql wrappers, than to create wrappers for all classes and code in pl/sql
5) use webutil to transfer file on the client
6) use Java on client side to unzip transferred file
if you think this is not too complicated, you should try ...
Regards,
Vladimir -
How to delete the files from server through OAF page
Hi All,
I have a requirement in which i am creating files on server through my CO code.
Now once the page is rendered, i want to delete the files from the server.
Just wondering how can we achieve this.
Kindly advice!
Thanks,
SachinHi Sachin
all the methods in the processRequest() are called during loading of the page.
all the methods in the processFormRequest() are called during any action events on the page.
So Use the method in processFormRequest() : write a method in
that on which action you want to delete the file.
regards
sridhar -
Error while reading a file from server
Mine is 9i database and 11.5.10.2 oracle apps server
I am trying to read PDF file from server, I used the below code
l_bfile:=bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out');
if DBMS_LOB.FILEEXISTS(l_bfile) = 1 then
dbms_output.put_line( 'Exists!');
dbms_output.put_line(dbms_lob.getlength(l_bfile));
else
dbms_output.put_line( 'Not Exists!');
end if;
i used forward slashes (/) instead of backward slashes (\) too and i also made dbms_output.put_line(to_char(dbms_lob.getlength(l_bfile)));
while using dbms_log package , i got the below error .I am bit worried since I have created directory and gave sufficicent priviliges too.
Error report:
ORA-00604: error occurred at recursive SQL level 1
ORA-01460: unimplemented or unreasonable conversion requested
ORA-06512: at "SYS.DBMS_LOB", line 485
ORA-06512: at line 24
I am sure bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out') is give BFILE which is empty.
Can you please suggest me what I can do to move further? what kind of priviliges it requires to point and read the file from server?
Please help me in this.
Thanks in advanceI suspect you are not using a directory object is the problem.
Here is the formal description of bfilename
http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/functions12a.htm#SQLRF00610
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
HP Photosmart 7550 driver for Windows 8.Where can I find a driver for this printer?
I have attempted all the available features on the HP site for this printer but nothing works. It seem HP don't support this printer any more. Does this mean i have to dispose of it?
-
Multiplex control files in Oracle 10g...
Hi , the Oracle documentation , in one of its books points out....: 'Once the disk drive is repaired, the damaged control file can be restored using the intact copy of the control file from the other disk and the instance can be restarted'. Is it ach
-
Since some time ago I've tried to contact my relatives through Face Time and has been impossible Always asked for my Apple ID but after tapped in answer is always the same: check your connection and try later. Don't know what else to do.. Any help?
-
I'm considering how my latest storage monster toy (Hi definition camcorder) is going to eat disk space and realise that very very soon I'm going to want to move archived projects onto some external media that isn't going to consume that spare room in
-
HFM Web Session Crashing when selecting certain brands
I have an issue where one user is expereincing the following: HFM - Sys9 - version 9.3.1.2 When a user selects a specific custom2 dimension (in this case a brand member) when trying to input data in a DEF the web sesion crashes. Other relevant info: