Create a new file on server from an applet
Hello!
I 'm trying to create a text file on server from an applet, i have permissions to write on server and i'm running in apache, my code is
public void write () {
try{
URL url = new URL("http://localhost/bnm/hello.txt");
URLConnection urlcon = url.openConnection();
urlcon.setDoOutput(true);
urlcon.setUseCaches(true);
PrintWriter pt = new PrintWriter
(new OutputStreamWriter (urlcon.getOutputStream()));
String str = new String(URLEncoder.encode("this is output applet ")) ;
pt.print(str);
pt.flush();
catch(Exception e)
e.printStackTrace();
The result is nothing, the file isn�t created, but the code don't throw exceptions.
Ah! in other example, i can read a file of server fro m the applet, the problem is to write
Anybody, knows the matter??
Excuse my poor english :P
Thanks for all.
I had the same needs and didn't know whether this was possible, due to applets security restriction. So I searched the Web and found some contradictory information. I will explain what I think is the situation, to give you an answer, but also so that other people can tell me whether I understood correctly.
1) Unless you sign it, an applet cannot write files directly, either client-side or server-side. All what it can do to access a file server-side (except .jar files ?) is opening a http connection, which allows only to retrieve data. When I try to run code such as yours, I get this exception :
java.net.UnknownServiceException: protocol doesn't support output
at java.net.URLConnection.getOutputStream(URLConnection.java:679)
2) As Ares_Man points out, what it can do is opening a http connection not directly with the file you want, but with a server-side script (JSP, PHP, CGI,...) which will be allowed to write files on the server. You can use POST or GET parameters to pass to the script what you are going to write.
This simple code worked for me (it executed the script toto.php):
try{
URL toto=new URL(getCodeBase(),"toto.php");
InputStream f=toto.openStream();
f.close();
catch(Exception e){
e.printStackTrace();
Probably it's a good idea to do a URLConnection.setCache(false) though, to be sure that the script toto.php will be executed.
3) I don't know how you can pass serialized objects as parameters. So if more than text informations are to be written, I would tend to make the script store them into a database instead of files. That way, you could pass any SQL query as parameter, maybe along with a password parameter for security. I don't know whether this is secure enough.
Similar Messages
-
Opening a text file in server from an applet running in the client
Friends,
I want to open a text file in the server(The server machine uses tomcat 4.1.12 server)from an applet running in the client machine;
The applet invokes a servlet that opens the text file;this text file is opened in the server machine; but I want it to be opened in the client machine where the applet is running.
Plese help me to get around this.You can open the textfile on the servlet and then send the information to the client (applet) as stirngs. The must then applet convert the stirngs into some object or simply display the information in someway. But then the text file that you are opening must be stored in some relevant tomcat directory e.g. on the server. If you want to open a file on the clients computer, you get into signed applets.
-
To create a new file in application server and transfer data to ti
i am doing the following where i have to create a new file in application server and transfer data to tht file from an internal table.but its saying file cant be opened.the path i am giving to parameter p_prefil is /tmp/prachi.txt.
wats the prob..can anyone help.
DATA:L_WA_FINAL TYPE TY_FINAL,
l_wa_string type string.
OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
if sy-subrc <> 0.
write: ' file cannot be opened'.
stop.
endif.
LOOP AT P_I_FINAL INTO L_WA_FINAL.
move l_wa_final to l_wa_string.
TRANSFER l_wa_string TO P_PREFIL.
if sy-subrc <> 0.
write: 'file can not be written'.
stop.
endif.
clear l_wa_final.
ENDLOOP.
CLOSE DATASET P_PREFIL.
if sy-subrc <> 0.
write: ' file cannot be closed'.
stop.
endif.DATA:L_WA_FINAL TYPE TY_FINAL,
l_wa_string type string.
OPEN DATASET P_PREFIL FOR OUTPUT IN text mode encoding default.
if sy-subrc ne 0.
write: ' file cannot be opened'.
stop.
endif.
LOOP AT P_I_FINAL INTO L_WA_FINAL.
move l_wa_final to l_wa_string.
TRANSFER l_wa_string TO P_PREFIL.
write: 'file can not be written'.
clear l_wa_final.
ENDLOOP.
CLOSE DATASET P_PREFIL.
if sy-subrc ne 0.
write: ' file cannot be closed'.
stop.
endif. -
Create a new File from java code
Hi,
I'd like to create a new File on IFS, using Java code. Moreover, this file will be an image file, and I'd like to store meta data with this file... and then execute a search on this meta data.
I know it must not be very difficult to do, but I can't find any code sample.
Does anyone could give me some usefull link or advice ?
thanks in advance,
Roger.First of all, you need to create your custom class. You can do it using iFS Manager, extending the class DOCUMENT. Let's call this class IMAGE with the attributes "length", "width", "colorDepth". Take a look at the code that creates one instance:
You need one instance of LibrarySession (that appears in the code named "ifsSession").
You need also the InputStream of the image you want to store (that appears in the code named "contentStream").
// Setting the attributes
DocumentDefinition def = new DocumentDefinition(ifsSession);
def.setClassname("IMAGE");
def.setAttribute("NAME", AttributeValue.newAttributeValue("nameOfTheImage"));
def.setAttribute("LENGTH", AttributeValue.newAttributeValue(100));
def.setAttribute("WIDTH", AttributeValue.newAttributeValue(230));
def.setAttribute("COLORDEPTH", AttributeValue.newAttributeValue(1024));
def.setContentStream(contentStream);
// Creation
Document doc = (Document) ifsSession.createPublicObject(def);
I hope this helps,
Fabio Nunes -
Unable to connect the server, while open the rpt file in server from java.
Hi,
I have written one java class, that class deployed in solaris server. The BO server is avilable in another solaris server. i want to convert the rpt file to pdf format. for that i try to give the file path to the server for opening the rpt file, that time i got the follwoing error:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException:
Unable to connect to the server: uinbrdcsap02. --- Connection refused
(errno:239)---- Error code:-2147217387 Error code name:connectServer
at
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwR
eportSDKServerException(Unknown Source)
at
com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.connect
(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.z.a(Unknown Source)
at
com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Un
known Source)
at
com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initia
lize(Unknown Source)
*My java code is the following ..*
package com.ramco.report;
//Crystal Java Reporting Component (JRC) imports.
import java.io.File;
import java.io.FileInputStream;
import java.io.ByteArrayInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ByteArrayOutputStream;
import java.sql.Connection;
import java.sql.CallableStatement;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
import com.crystaldecisions.sdk.occa.report.exportoptions.ExportOptions;
import java.util.Calendar;
import java.util.Properties;
import org.apache.log4j.Logger;
import org.apache.log4j.SimpleLayout;
import org.apache.log4j.FileAppender;
import java.net.InetAddress;
import java.net.UnknownHostException;
// Class file starting.
public class StandardReconReport
private Connection objConnection = null;
private DBConnection dbconnection = null;
private ByteArrayInputStream byteArrayInputStream =null;
private FileOutputStream fileOutputStream = null;
private ByteArrayOutputStream byteArrayOutputStream = null;
private CallableStatement callablestatement = null;
private CallableStatement callablestatement1 = null;
private ResultSet resultset1 = null;
private ResultSet resultset = null;
private String Deal_No = null;
private String Job_Date = null;
private String Reportservername = null;
private SimpleLayout layout = null;
private FileAppender appender = null;
private Logger logger = null;
private String DateTimeFormat = null;
private String Report_File_path =null;
private String Pdf_File_Name = null;
private Properties properties = null;
private String LogFilePath = null;
private String FileName = null;
private String FullLogFilePath = null;
private Statement statement = null;
private String Report_upload_path = null;
private String StanReconDir = null;
private String winandsol = null;
private com.crystaldecisions.sdk.occa.report.application.ReportClientDocument reportClientDoc = null;
private int count_tmp=0;
private String DATE_FORMAT = null;
private String dateformat = null;
private Calendar cal = null;
private SimpleDateFormat sdf = null;
private String reconfilename = null;
// Method for Generating Report.....
private void stanReportGeneration()
try
properties = new Properties();
properties.clear();
properties.load(new FileInputStream("GeneralInfo.properties"));
Reportservername = properties.getProperty("reportservername");
reconfilename = properties.getProperty("reconfilename");
layout = new SimpleLayout();
LogFilePath = properties.getProperty("logfilepath");
dateformat = dateTime1(properties.getProperty("dateformat1"));
StanReconDir = properties.getProperty("stanrecondir");
winandsol = properties.getProperty("windowsandsolaris");
if (new File(LogFilePath).exists())
LogFilePath = LogFilePathdateformatwinandsol;
if (new File(LogFilePath).exists())
else
new File(LogFilePath).mkdirs();
FileName = "STANRECONLOGFILE-";
FileName = FileNamedateformat".txt";
FullLogFilePath = LogFilePath+FileName;
appender = new FileAppender(layout,FullLogFilePath,false);
logger = Logger.getLogger("MyLogger");
logger.addAppender(appender);
DateTimeFormat = properties.getProperty("datetimeformat");
logger.info("The Start Recon Report Start Time: " +dateTime(DateTimeFormat));
logger.info("");
try
InetAddress address[] = InetAddress.getAllByName(Reportservername);
for (int i=0; i<address.length;i++)
logger.info("Report Server Name: " + address<i>.getHostName());
logger.info("Report Server Address: " + address<i>.getHostAddress());
logger.info("Report Server Canonical: " + address<i>.getCanonicalHostName());
catch (UnknownHostException e)
logger.error("The host "Reportservername"is not avilable");
Report_File_path = properties.getProperty("StandardReconReportpath");
logger.info("The Report File Name is : "+Report_File_path " - "dateTime(DateTimeFormat));
//Report_File_path="rassdk://"+Report_File_path;
try
//Getting the Database connection....
dbconnection = new DBConnection();
objConnection = dbconnection.getConnections();
statement = objConnection.createStatement();
String sqlQuery = "SELECT TRIM(PARAM_VALUE) FROM SYS_USER_PARAM WHERE COMPONENT = 'REPORT' AND LINE_NO = 1 AND PARAM_NAME = 'REPORT_DOWNLOADPATH' AND STATUS = 'A'";
resultset = statement.executeQuery(sqlQuery);
while(resultset.next())
Report_upload_path = resultset.getString(1);
logger.info("Report_upload_path from the DB: "+Report_upload_path);
catch (SQLException ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
catch(Exception ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
finally
if(statement!=null)
statement.close();
if(resultset!=null)
resultset.close();
if (new File(Report_upload_path).exists())
Report_upload_path = Report_upload_path+StanReconDir;
if (new File(Report_upload_path).exists())
System.out.println("Directory is avilable"+Report_upload_path);
else
new File(Report_upload_path).mkdirs();
Report_upload_path = Report_upload_pathwinandsoldateformat+winandsol;
if (new File(Report_upload_path).exists())
else
new File(Report_upload_path).mkdirs();
logger.info("Report_upload_path : "Report_upload_path" : "+dateTime(DateTimeFormat));
try
logger.info("Calling the REPORT_STAN_RECON_CON SP : "+dateTime(DateTimeFormat));
callablestatement = objConnection.prepareCall("{call REPORT_STAN_RECON_CON(?)}");
callablestatement.registerOutParameter(1, oracle.jdbc.driver.OracleTypes.CURSOR);
callablestatement.execute();
resultset=(ResultSet)callablestatement.getObject(1);
if(resultset!=null)
while(resultset.next())
count_tmp = count_tmp+1;
logger.info("");
Deal_No = resultset.getString(1);
Job_Date = resultset.getString(2);
DATE_FORMAT = resultset.getString(3);
Job_Date = Job_Date.substring(0,10);
logger.info("*********** PDF Convertion Starting for a Deal No: " +Deal_No " :: "dateTime(DateTimeFormat));
Pdf_File_Name = Report_upload_pathreconfilenameDeal_No"-"DATE_FORMAT+".pdf";
Job_Date = Job_Date.replace('-', '/');
logger.info("The Deal_No is : "+Deal_No " - "dateTime(DateTimeFormat));
logger.info("The Job_Date is : "+Job_Date " - "dateTime(DateTimeFormat));
try
reportClientDoc = new com.crystaldecisions.sdk.occa.report.application.ReportClientDocument();
reportClientDoc.setReportAppServer(Reportservername);
logger.info("Report App server Name := "+ reportClientDoc.getReportAppServer());
logger.info("Report_File_path := "+ Report_File_path);
reportClientDoc.preCreateServerAgent(true);
reportClientDoc.open(Report_File_path,0);
logger.info("After opening the RTF file for : "+Deal_No " Deal_No - "dateTime(DateTimeFormat));
callablestatement1 = objConnection.prepareCall("{call REPORT_STANDARD_RECON(?,?,?,?)}");
callablestatement1.setString(1, Job_Date);
callablestatement1.setString(2, Deal_No);
callablestatement1.setString(3,"");
callablestatement1.registerOutParameter(4, oracle.jdbc.driver.OracleTypes.CURSOR);
callablestatement1.execute();
resultset1=(ResultSet)callablestatement1.getObject(4);
String tableAlias = reportClientDoc.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
reportClientDoc.refreshReportDocument();
reportClientDoc.getDatabaseController().setDataSource(resultset1, tableAlias , "Result Set");
reportClientDoc.refreshReportDocument();
ExportOptions oExportOptions = new ExportOptions();
oExportOptions.setExportFormatType(ReportExportFormat.RTF);
byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
logger.info("After exporting the report file to PDF file for the : "+Deal_No " Deal_No - "dateTime(DateTimeFormat));
//Use the Java I/O libraries to write the exported content to the file system.
byte byteArray[] = new byte[byteArrayInputStream.available()];
//Create a new file that will contain the exported result.
logger.info("Successfully exported report to " + Report_File_path" - "dateTime(DateTimeFormat));
logger.info("*********** PDF Convertion Ending for a Deal : "Deal_No" "+dateTime(DateTimeFormat));
logger.info("");
Deal_No = null;
Job_Date = null;
catch (SQLException ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
catch (IOException ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
catch (Exception ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
finally
if(byteArrayInputStream!=null)
byteArrayInputStream.close();
if(byteArrayOutputStream!=null)
byteArrayOutputStream.close();
if(fileOutputStream!=null)
fileOutputStream.close();
if(callablestatement1!=null)
callablestatement1.close();
if(resultset1!=null)
resultset1.close();
if(reportClientDoc!=null)
reportClientDoc.close();
if(count_tmp==0)
logger.info("");
logger.info(" $$$$$$$$ There is NO DATA for generating the Report $$$$$$$: " +dateTime(DateTimeFormat));
catch (SQLException ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
catch (Exception ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
finally
if(callablestatement!=null)
callablestatement.close();
if(resultset!=null)
resultset.close();
if(objConnection!=null)
objConnection.close();
if(callablestatement1!=null)
callablestatement1.close();
if(resultset1!=null)
resultset1.close();
catch (IOException ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
catch (Exception ex)
ex.printStackTrace();
System.out.println(ex);
logger.error(ex);
finally
properties.clear();
logger.info("");
logger.info("*******Standard Recon Report End Time*******: "+dateTime(DateTimeFormat));
// Getting the current date and time..
public String dateTime(String dateFormat)
cal = Calendar.getInstance();
sdf = new SimpleDateFormat(dateFormat);
return sdf.format(cal.getTime());
//Getting the Yesterday Date and time...
public String dateTime1(String dateFormat)
cal = Calendar.getInstance();
cal.add(Calendar.DATE, -1);
sdf = new SimpleDateFormat(dateFormat);
return sdf.format(cal.getTime());
public static void main(String[] args) {
StandardReconReport SR = new StandardReconReport();
SR.stanReportGeneration();
For the above code i given the report parameter from the property file.
reportservername=servername
datagenreportpath=rassdk\://C\:
MyEclipseWorkPlace
IDSREPORTGENERATION
REPORTFILES
STANDARD_RECON_REPORT.rpt
The code is working fin, while i try to connect the BO which is avilble in Windows server, but this is not working if the BO is avilble in solaris server.
Any bodies please help
Edited by: velmurugan.spn on Sep 12, 2009 6:38 AMHi,
Not able to find Report - Standard templates or Report - Custom templates view in Administration - BIP reports in Siebel 8.1.1.3?
We have applied 8.1.1.3 patch on 8.1.1.0
below are the steps followed
Reports are not generated after 8.1.1.3 patch installtion.
we have also followed to below steps mentioned for this issue in oracle support.
"In order to resolve this behavior it is necessary to ensure that the 8.1.1.3 FixPack has been applied to the Siebel Tools installation. This will provide an additional .zip file in the REPPATCH folder of the Siebel Tools installation. Once this has been done please then follow the configuration steps as documented :
change sysprefix to X_ before sif import and chage back to SBL_ after sif import.
1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
2) Import the 4 SIF files in the following order:
S_XMLP_REP_TMPL_02112010.sif
SBL_XMLP_REPORT_SELECTION_FLG.sif
Report Template BC.sif
Report Template Registration Applet.sif
3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
Once the above steps have been completed the Selected Record flag will appear in the Report Template Registration views."
we still not able to generated able to generate reports even after following above steps.
Thanks
Sean -
hello
how to create a new file myfile.txt in folowing URL
http://www.mydomain.com/upload/myfile.txtregardsthe_Orient wrote:
corrected code
I will to create a text file on webserver
this file hasethe content "Hello World"
</div>
try
String S="Hello World"
URL url = new URL("http://www.mydomain.com");
URLConnection hpCon = url.openConnection();
hpCon.setDoOutput(true);
File file = new File("http://www.mydomain.com/studentes/info.txt");
file.createNewFile();
// how to use FileOutputStream here
OutputStreamWriter out = new OutputStreamWriter(hpCon.getOutputStream());
out.write(content);
out.close();
}catch(Exception ex){ex.printStackTrace();}
Exception :
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
{code}
regards
Whoa! Do you know what you're doing? Do you have permission to write on that URL? Or does the pathname parameter you passed on File is correct? How about let the server-side handle the creation of file for you by just requesting it? Do you know how to create a server-side Java program (e.i. Servlet)? Umm.. There's a Java tutorial for this for you to get started: [Reading from and Writing to a URLConnection|http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html].
Ron
Server-Side Development Team
[Java-Man 2004|https://sites.google.com/site/raisoftware6/] -
Just installed Firefox 3.6. Firefox will not start and Firefox safemode does not start either. Using Task manager I do not see if started either. If I create a new profile and start from that window, Firefox starts up. I see no error windows/messages. I do have it listed in my Firewall as an exception program with Permit All. What is happening?
== This happened ==
Every time Firefox opened
== After removing Firefox and Reinstalling it. ==
== User Agent ==
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8)If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
See also [[Basic Troubleshooting|#Make_a_new_profile|Basic Troubleshooting: Make a new profile]] -
In my robotics application I store my data using "Write to Spreadsheet.vi". I would like to append the file each time I run the program on any given day. On a NEW day I would automatically like to create a new file with a smiliar name and append that file for the day on which it is created. It's easy to do using the "Write to Measurement File. vi" but the text file created is vertical rather than horizontal, so I would like to use "Write to Spreadsheet". Any suggestions?
Also how to I include my VI as part of this question for others to see?
Thank you.
Attachments:
Untitled 4 (SubVI).vi 7 KBDoes the file you are writing have a timestamp in it? If so you could read the timestamp from the last time it was written and see if the day has changed, handling the name of the file appropriately. The easiest way to record the timestamp is probably to write the timestamp as the number of seconds that have elapsed since 12:00 am on Firday January 1st 1904 in UT. The "Get Date/Time in Seconds" function will give you this value.
Message Edited by jmcbee on 03-05-2009 12:56 PM
CLA, CLED, CTD,CPI, LabVIEW Champion
Platinum Alliance Partner
Senior Engineer
Using LV 2013, 2012
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved. -
Creation of files on server from client
i want to create a file on server from client.
so i have to create the file using uri that resides on server, but i am not able to create file using that URI
i want to create in this location.
"http://localhost:8080/web/a.jsp"
so please give me the syntax for that.
thanks in advancei checked that url........but its talking ablut urlconnection and url......but i want to create file with uri....could u plz help me
thx & regds -
Photoshop CC 2014 wont open any files or create a new file
I can't open any files or create a new file no matter what I do. I've uninstalled Photoshop along with every Adobe application then reinstalled creative cloud and photoshop but that didn't work. I've tried moving the preferences to the desktop, didn't work. Does anyone have any answers? Even my IT guy can't figure it out. Please help. It's been like this for a few days now and I have a work assignment due...ahh!
Adobe Photoshop Version: 2014.2.2 20141204.r.310 2014/12/04:23:59:59 CL 994532 x64
Operating System: Windows 8.1 64-bit
Version: 6.3The problem is with all files. I was just using the linked file from InDesign as an example.
Here's my system info:
Adobe Photoshop Version: 2014.2.2 20141204.r.310 2014/12/04:23:59:59 CL 994532 x64
Operating System: Windows 8.1 64-bit
Version: 6.3
System architecture: Intel CPU Family:6, Model:12, Stepping:3 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, AVX, AVX2, HyperThreading
Physical processor count: 2
Logical processor count: 4
Processor speed: 2993 MHz
Built-in memory: 8097 MB
Free memory: 3818 MB
Memory available to Photoshop: 7036 MB
Memory used by Photoshop: 70 %
3D Multitone Printing: Disabled.
Windows 2x UI: Disabled.
Highbeam: Enabled.
Image tile size: 128K
Image cache levels: 4
Font Preview: Medium
TextComposer: Latin
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
Display: 2
Display Bounds: top=0, left=-1920, bottom=1080, right=0
OpenGL Drawing: Enabled.
OpenGL Allow Old GPUs: Not Detected.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
AIFCoreInitialized=1
AIFOGLInitialized=1
OGLContextCreated=1
NumGLGPUs=1
NumCLGPUs=2
glgpu[0].GLVersion="3.0"
glgpu[0].GLMemoryMB=1024
glgpu[0].GLName="Intel(R) HD Graphics 4600"
glgpu[0].GLVendor="Intel"
glgpu[0].GLVendorID=32902
glgpu[0].GLDriverVersion="10.18.10.3977"
glgpu[0].GLRectTextureSize=16384
glgpu[0].GLRenderer="Intel(R) HD Graphics 4600"
glgpu[0].GLRendererID=1046
glgpu[0].HasGLNPOTSupport=1
glgpu[0].GLDriver="igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,i gd10iumd32"
glgpu[0].GLDriverDate="20141009000000.000000-000"
glgpu[0].CanCompileProgramGLSL=1
glgpu[0].GLFrameBufferOK=1
glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.30 - Build 10.18.10.3977"
glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[1447 ]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[192]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[32]
glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[32]
glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[4096]
glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[64]
glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=0
clgpu[0].CLPlatformVersion="1.2 "
clgpu[0].CLDeviceVersion="1.2 "
clgpu[0].CLMemoryMB=1425
clgpu[0].CLName="Intel(R) HD Graphics 4600"
clgpu[0].CLVendor="Intel(R) Corporation"
clgpu[0].CLVendorID=32902
clgpu[0].CLDriverVersion="10.18.10.3977"
clgpu[0].CUDASupported=0
clgpu[0].CLBandwidth=1.51274e+010
clgpu[0].CLCompute=192.283
clgpu[1].CLPlatformVersion="1.2 AMD-APP (1348.5)"
clgpu[1].CLDeviceVersion="1.2 AMD-APP (1348.5)"
clgpu[1].CLMemoryMB=2048
clgpu[1].CLName="Oland"
clgpu[1].CLVendor="Advanced Micro Devices, Inc."
clgpu[1].CLVendorID=4098
clgpu[1].CLDriverVersion="1348.5 (VM)"
clgpu[1].CUDASupported=0
clgpu[1].CLBandwidth=5.1353e+010
clgpu[1].CLCompute=318.462
License Type: Subscription
Serial number:
Application folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
Temporary file path: C:\Users\Kelley\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 225.1G, 163.1G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Required\Plug-Ins\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Plug-ins\
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2014/08/12-23:42:09 79.557478 79.557478
adbeape.dll Adobe APE 2013/02/04-09:52:32 0.1160850 0.1160850
AdbePM.dll PatchMatch 2014/09/07-21:07:38 79.558079 79.558079
AdobeLinguistic.dll Adobe Linguisitc Library 8.0.0
AdobeOwl.dll Adobe Owl 5.2.4
AdobePDFL.dll PDFL 2014/08/18-15:13:12 79.512424 79.512424
AdobePIP.dll Adobe Product Improvement Program 7.2.1.3399
AdobeXMP.dll Adobe XMP Core 2014/08/20-09:53:02 79.156797 79.156797
AdobeXMPFiles.dll Adobe XMP Files 2014/08/20-09:53:02 79.156797 79.156797
AdobeXMPScript.dll Adobe XMP Script 2014/08/20-09:53:02 79.156797 79.156797
adobe_caps.dll Adobe CAPS 8,0,0,13
AGM.dll AGM 2014/08/12-23:42:09 79.557478 79.557478
ahclient.dll AdobeHelp Dynamic Link Library 1,8,0,31
amtlib.dll AMTLib (64 Bit) 8.0.0.122212002 BuildVersion: 8.0; BuildDate: Wed Jul 30 2014 15:59:34) 1.000000
ARE.dll ARE 2014/08/12-23:42:09 79.557478 79.557478
AXE8SharedExpat.dll AXE8SharedExpat 2013/12/20-21:40:29 79.551013 79.551013
AXEDOMCore.dll AXEDOMCore 2013/12/20-21:40:29 79.551013 79.551013
Bib.dll BIB 2014/08/12-23:42:09 79.557478 79.557478
BIBUtils.dll BIBUtils 2014/08/12-23:42:09 79.557478 79.557478
boost_date_time.dll photoshopdva 8.0.0
boost_signals.dll photoshopdva 8.0.0
boost_system.dll photoshopdva 8.0.0
boost_threads.dll photoshopdva 8.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.2.6.32411 2.2.6.32411
CITThreading.dll Adobe CITThreading 2.2.6.32411 2.2.6.32411
CoolType.dll CoolType 2014/08/12-23:42:09 79.557478 79.557478
dvaaudiodevice.dll photoshopdva 8.0.0
dvacore.dll photoshopdva 8.0.0
dvamarshal.dll photoshopdva 8.0.0
dvamediatypes.dll photoshopdva 8.0.0
dvametadata.dll photoshopdva 8.0.0
dvametadataapi.dll photoshopdva 8.0.0
dvametadataui.dll photoshopdva 8.0.0
dvaplayer.dll photoshopdva 8.0.0
dvatransport.dll photoshopdva 8.0.0
dvaui.dll photoshopdva 8.0.0
dvaunittesting.dll photoshopdva 8.0.0
dynamiclink.dll photoshopdva 8.0.0
ExtendScript.dll ExtendScript 2014/01/21-23:58:55 79.551519 79.551519
icucnv40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
icudt40.dll International Components for Unicode 2013/02/25-15:59:15 Build gtlib_4.0.19090
igestep30.dll IGES Reader 9.3.0.113
imslib.dll IMSLib DLL 7.0.0.154
JP2KLib.dll JP2KLib 2014/06/28-00:28:27 79.254012 79.254012
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libiomp5md.dll Intel(R) OpenMP* Runtime Library 5.0
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
LogSession.dll LogSession 7.2.1.3399
mediacoreif.dll photoshopdva 8.0.0
MPS.dll MPS 2014/08/18-23:43:19 79.557676 79.557676
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CC 2014 15.2.2
Plugin.dll Adobe Photoshop CC 2014 15.2.2
PlugPlugExternalObject.dll Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit) 5.0.0
PlugPlugOwl.dll Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit) 5.2.0.54
PSArt.dll Adobe Photoshop CC 2014 15.2.2
PSViews.dll Adobe Photoshop CC 2014 15.2.2
SCCore.dll ScCore 2014/01/21-23:58:55 79.551519 79.551519
ScriptUIFlex.dll ScriptUIFlex 2014/01/20-22:42:05 79.550992 79.550992
svml_dispmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
tbb.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 4, 2, 2013, 1114
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 8.0.0.14 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 8.0.0.14
VulcanControl.dll Vulcan Application Control Library 5.0.0.82
VulcanMessage5.dll Vulcan Message Library 5.0.0.82
WRServices.dll WRServices Fri Mar 07 2014 15:33:10 Build 0.20204 0.20204
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 15.2.2 (2014.2.2 x001 x003)
Accented Edges 15.2.2
Adaptive Wide Angle 15.2.2
Angled Strokes 15.2.2
Average 15.2.2 (2014.2.2 x001 x003)
Bas Relief 15.2.2
BMP 15.2.2
Camera Raw 8.7.1
Camera Raw Filter 8.7.1
Chalk & Charcoal 15.2.2
Charcoal 15.2.2
Chrome 15.2.2
Cineon 15.2.2 (2014.2.2 x001 x003)
Clouds 15.2.2 (2014.2.2 x001 x003)
Collada 15.2.2 (2014.2.2 x001 x003)
Color Halftone 15.2.2
Colored Pencil 15.2.2
CompuServe GIF 15.2.2
Conté Crayon 15.2.2
Craquelure 15.2.2
Crop and Straighten Photos 15.2.2 (2014.2.2 x001 x003)
Crop and Straighten Photos Filter 15.2.2
Crosshatch 15.2.2
Crystallize 15.2.2
Cutout 15.2.2
Dark Strokes 15.2.2
De-Interlace 15.2.2
Dicom 15.2.2
Difference Clouds 15.2.2 (2014.2.2 x001 x003)
Diffuse Glow 15.2.2
Displace 15.2.2
Dry Brush 15.2.2
Eazel Acquire 15.2.2 (2014.2.2 x001 x003)
Embed Watermark 4.0
Entropy 15.2.2 (2014.2.2 x001 x003)
Export Color Lookup Tables NO VERSION
Extrude 15.2.2
FastCore Routines 15.2.2 (2014.2.2 x001 x003)
Fibers 15.2.2
Film Grain 15.2.2
Filter Gallery 15.2.2
Flash 3D 15.2.2 (2014.2.2 x001 x003)
Fresco 15.2.2
Glass 15.2.2
Glowing Edges 15.2.2
Google Earth 4 15.2.2 (2014.2.2 x001 x003)
Grain 15.2.2
Graphic Pen 15.2.2
Halftone Pattern 15.2.2
HDRMergeUI 15.2.2
HSB/HSL 15.2.2
IFF Format 15.2.2
IGES 15.2.2 (2014.2.2 x001 x003)
Ink Outlines 15.2.2
JPEG 2000 15.2.2
Kurtosis 15.2.2 (2014.2.2 x001 x003)
Lens Blur 15.2.2
Lens Correction 15.2.2
Lens Flare 15.2.2
Liquify 15.2.2
Matlab Operation 15.2.2 (2014.2.2 x001 x003)
Maximum 15.2.2 (2014.2.2 x001 x003)
Mean 15.2.2 (2014.2.2 x001 x003)
Measurement Core 15.2.2 (2014.2.2 x001 x003)
Median 15.2.2 (2014.2.2 x001 x003)
Mezzotint 15.2.2
Minimum 15.2.2 (2014.2.2 x001 x003)
MMXCore Routines 15.2.2 (2014.2.2 x001 x003)
Mosaic Tiles 15.2.2
Multiprocessor Support 15.2.2 (2014.2.2 x001 x003)
Neon Glow 15.2.2
Note Paper 15.2.2
NTSC Colors 15.2.2 (2014.2.2 x001 x003)
Ocean Ripple 15.2.2
OpenEXR 15.2.2
Paint Daubs 15.2.2
Palette Knife 15.2.2
Patchwork 15.2.2
Paths to Illustrator 15.2.2
PCX 15.2.2 (2014.2.2 x001 x003)
Photocopy 15.2.2
Photoshop 3D Engine 15.2.2 (2014.2.2 x001 x003)
Photoshop Touch 14.0
Picture Package Filter 15.2.2 (2014.2.2 x001 x003)
Pinch 15.2.2
Pixar 15.2.2 (2014.2.2 x001 x003)
Plaster 15.2.2
Plastic Wrap 15.2.2
PLY 15.2.2 (2014.2.2 x001 x003)
PNG 15.2.2
Pointillize 15.2.2
Polar Coordinates 15.2.2
Portable Bit Map 15.2.2 (2014.2.2 x001 x003)
Poster Edges 15.2.2
PRC 15.2.2 (2014.2.2 x001 x003)
Radial Blur 15.2.2
Radiance 15.2.2 (2014.2.2 x001 x003)
Range 15.2.2 (2014.2.2 x001 x003)
Read Watermark 4.0
Render Color Lookup Grid NO VERSION
Reticulation 15.2.2
Ripple 15.2.2
Rough Pastels 15.2.2
Save for Web 15.2.2
ScriptingSupport 15.2.2
Shake Reduction 15.2.2
Shear 15.2.2
Skewness 15.2.2 (2014.2.2 x001 x003)
Smart Blur 15.2.2
Smudge Stick 15.2.2
Solarize 15.2.2 (2014.2.2 x001 x003)
Spatter 15.2.2
Spherize 15.2.2
Sponge 15.2.2
Sprayed Strokes 15.2.2
Stained Glass 15.2.2
Stamp 15.2.2
Standard Deviation 15.2.2 (2014.2.2 x001 x003)
STL 15.2.2 (2014.2.2 x001 x003)
Sumi-e 15.2.2
Summation 15.2.2 (2014.2.2 x001 x003)
Targa 15.2.2
Texturizer 15.2.2
Tiles 15.2.2
Torn Edges 15.2.2
Twirl 15.2.2
U3D 15.2.2 (2014.2.2 x001 x003)
Underpainting 15.2.2
Vanishing Point 15.2.2
Variance 15.2.2 (2014.2.2 x001 x003)
Virtual Reality Modeling Language | VRML 15.2.2 (2014.2.2 x001 x003)
Water Paper 15.2.2
Watercolor 15.2.2
Wave 15.2.2
Wavefront|OBJ 15.2.2 (2014.2.2 x001 x003)
WIA Support 15.2.2 (2014.2.2 x001 x003)
Wind 15.2.2
Wireless Bitmap 15.2.2 (2014.2.2 x001 x003)
ZigZag 15.2.2
Optional and third party plug-ins: NONE
Plug-ins that failed to load: NONE
Flash:
Libraries
Adobe Color Themes
Installed TWAIN devices: NONE -
How do i create a new file in pdf
I JUST STATED IN ADOBE , WOW DO I CREATE A NEW FILE IN PDF
Hi Robert,
Welcome!
I see you are subscribed to our PDF Pack service.
Check out this FAQ to help get you started!
Let me know if this helps.
Looking forward to hearing back from you!
Kind regards, Stacy -
Write to file on server from app
Am trying to write to a file on server from an application like this:
java.net.URL url = new java.net.URL("http://www.rikif.dk/test.txt");
URLConnection conn = url.openConnection();
conn.setUseCaches(false);
conn.setDoOutput(true);
PrintStream out =
new PrintStream(conn.getOutputStream());
out.print("sdfsdf");
out.flush();
out.close();
But nothing happens. What am I doing wrong?No exceptions.. "Unlike other output streams, a PrintStream never throws an IOException".
You can write a file through HTTP into a web server? It does not make sense really.. is the file writable in the web server?
And why be writable - anyone would be able to write it then.
You can achieve that through sockets. A java program on the remote machine (playing the role of a server) would accept data through a socket from the clients, and would write the files itself.. without need of web servers.
You can use a tomcat server, and use a servlet, again to accept data and write the files itself.
..or? -
Use diff3 to create a new file based on "deltas"
I had som dos software once... from Burton System, nifty. Tlib.
Unfornately I have dumped the manuals.
I need to create a new file based on deltas between to others, and I thought
diff3 could do the trick; the thing is that i cant remember how.
I want to sort bash_history to one file, and then make a diff between bash_history and "bash_sort".
then i want to "uniq -d <bash_sort >bash_dups".
based on this file, I want to use diff3 to recreate bash_history;
unsorted without any duplicate lines, in kindof same way as the appeard.
It is only outof curiosity, because i wrote a thing in bash and sed, which does
it for me. (together with uniq and sort).
but the technique is very useful, so feel free...
thanks
Mc Geekmc Geek wrote:
Thanks for answering.
first i have my .bash_history file
I sort that to create bash_sorted.
then i make the sorted file uniqe with uniq -d <bash_sorted >bash_uniqe.
Its easy to make a diff .bash_history bash_sorted to recreate bash_history.
and it is easy to create a diff between bash_unique and bash_sorted, which
makes me able to recreate the bash sorted file.
I'm not sure exactly what this achieves...
the thing is I belive there is a (quircky) way i can use diff/diff3 to recreate
only the uniqe lines of .bash_history.
Are you trying to create a file which contains all the commands in .bash_history without repeats? Or are you trying to create a file which contains only those commands which occur exactly once? That is, you want to get rid of all occurrences of commands which occur multiple times.
Its like using the difference between bash_sort and bash_uniqe as a kindof
scaling factor and the diff between .bash_history and bash_sort.
so that I maybe run a diff script on the the diff between .bash_history and bash_sort, and by that are able to recreate a .bash_history with only unique lines.
Once you have bash_sort, why not just do
uniq bash_sort
to get a list without any repeats? This will work if you want to keep one copy of commands which appear multiple times but, obviously, if you want to eliminate all copies of such commands, it won't do what you want.
- cfr -
Hi,
I am writing AIR 1.5 app, which emulates Excel 2007.
Silly question:
if I need to browse to create a new file (on local disk), how do I do it ?
I tried File.browse, browseForOpen, browseForSave... they all require for file to exist already.
So what do I do if it doesn't exist, I am creating a new file (to save the context of DataGrid into XLSX file.
I am using Java POI framework to read/write files via Web Service.
AIR app is supposed to browse to directory, create a file
and pass file's native path to Java via Web service to open that file & save data there
I use Tomcat 6 & Axis 1.4 for web service.
Please help.
TIA,
Oleg.To answer my own question:
Should use File.createForSave to browse to create a new file (to save data later).
Sorry, had a bug in my code which prevented it from working correctly.
Thanks,
Oleg. -
Q]DATA FNAME(60) VALUE 'myfile' . here do we create a new file or else?
Q] DATA FNAME(60) VALUE 'myfile' . here do we create a new file or refer to an existing file?
Talking of the OPEN DATASET statement.if u open a file for input purpose, then the file fname should be exist.
otherwise its for output, no need to be exist in the app.server
but u want append data to existed file, then its should be exist in app.server
Maybe you are looking for
-
Hard Disk Partition Error.
good evening bro, iam tried as u mentioned n created new volume when i click finish after finish new simple volume it showing "the operation you selected will convert the selected basic disk to dynamic disk. if u convert the disk to dynamic , u wil
-
Why does my 7.0 iDVD theme not have sound playing in the menu?
Why does my 7.0 iDVD theme not have sound playing in the menu? When I click to get menu info, the "TravelAudio" audio is listed, but it won't play. The volume is not the issue, it just isn't there.
-
There was the same problem in another "already closed" but not solved thread here http://discussions.info.apple.com/thread.jspa?messageID=9043889�. Whenever I hover over a button in Aperture a tooltip should appear, saying what the button doe
-
Hi, my speakers on my Mac Air, which is a year old, stopped working all of a sudden. I did download the new version of the iOS, so I'm not sure if that might be a problem or not.
-
BBC Text has gone missing!
Have BT sport, which is fine but as of last night I can no longer get the BBC Text service. Don't even know if this is a problem connected to BT sport, but its never gone missing before. Anyone know what might have happened. Perhaps I have someh