How to delete a text file in the HP cloud
I had a text file that was created through a text (notpad type app ) on my kindle fire. I sent it to my HP printer using the Eprint app which worked great. I deleted the file from the notepad app but it still shows up in my HP cloud. How do I go about deleting it from my Eprint files ??
Hi there, can you clarify what you mean by "How do I go about deleting it from my Eprint files ??"
If its the notification message from within the ePrint app itself, then it is only a notification and a copy of the file does not get stored in the app.
Best.
If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
I am an HP employee.
Similar Messages
-
How to delete a local file in the presentation server.
Hi All,
How to delete a local file in the presentation server. As we do using 'delete dataset dsn' in application server. How can i achieve this. My requirement is after uploading file using gui_upload, i want to delete that source file. Please let me know, how can i achieve this.
Thanks in advance.
Regards,
Vishaldata: l_rc type i.
data: f_name type string.
move 'c:\YourFile.txt' to f_name.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
EXPORTING
FILENAME = f_name
CHANGING
RC = l_rc
EXCEPTIONS
FILE_DELETE_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
FILE_NOT_FOUND = 4
ACCESS_DENIED = 5
UNKNOWN_ERROR = 6
NOT_SUPPORTED_BY_GUI = 7
WRONG_PARAMETER = 8
others = 9
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
hi, how do i share big files using the creative cloud , it says download the crative cloud connection, but then sends me nowhere that says that
Hi Jonty, check the file size limit: Creative Cloud Desktop application FAQ
You can also check the details around sharing and collaborating files: Sync and share files and folders with collaborators | Adobe Creative Cloud tutorials
Atul_Saini -
HOw to create a text file in the given path and delete it after the use?
Hi all,
I am trying to create a text file at the given path and delete the created file after the use.
I am using following code.:
import java.io.*;
// write binary data as characters
public class RanIO {
public static void main(String f[])
// First illustrate append
String lineSep = "\n";
try {
File temp= new File("C:/Ash","cute.txt");
boolean ch=temp.createNewFile();
if(ch)
System.out.println("file created");
else
System.out.println("file Not created");
//writing to file
/* PrintWriter p = new PrintWriter(new BufferedWriter(new FileWriter("cute.txt",true)));
p.print("Emp NO");
p.close();*/
// Open fileWriter in append mode
FileWriter fos = new FileWriter(temp, true);
BufferedWriter bw = new BufferedWriter(fos);
PrintWriter pw = new PrintWriter(fos);
double d=550;
// lineSep = System.getProperty("line.separator");
pw.print("Hello");
//pw.print( lineSep );
pw.print( d );
pw.close();
boolean det=temp.delete();
if(det)
System.out.println("File deleted");
else
System.out.println("File not deleted");
} catch (IOException ioe)
System.out.println( "Append IO error:" + ioe );
My problem:
1)
I am not able to write to the file. I want to know, where i am going wrong.
It is giving error message like
"Canot resolve Symbol: temp,"
But, FileWriter Constructor should accept a File type parameter.
here temp is a file parameter.
If i am not using file=new file();
i can't delete the file after the use. i.e if i use
PrintWriter p = new PrintWriter(new BufferedWriter(new FileWriter("cute.txt",true)));
how can i delete cute.txt after the use?
2)
I am not able to write to the text file. file is created but, a blank file.
"Hello" is not written into the text file.
can anyone help me in this regard
Thanks in advance
AshviniThank you Ram,
But, i want to create a text file in Append mode.
for that i used
FileWriter fos = new FileWriter(temp,true); But, it is not accepting FileWriter constructor in
this format. if i use
FileWriter fos = new
FileWriter("c:/ash/cute.txt",true); it works fine. !!!!!Here's the javadoc
public FileWriter(File file,
boolean append)
throws IOExceptionConstructs a FileWriter object given a File object. If the second argument is true, then bytes will be written to the end of the file rather than the beginning.
Parameters:
file - a File object to write to
append - if true, then bytes will be written to the end of the file rather than the beginning
Throws:
IOException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason
Since:
1.4
Are you using jdk.13 or lower ?
>
ONe more doubt, Does flush method deletes a file?
if not, then i need to use
File temp=new File("c:/ash/cute.txt");
FileWriter fos = new FileWriter(temp,true); //which
is again a problem
if(temp.delete())
out.println("File is deleted");
}I don't know whether i am taking it wrong ! or
anything wrong with my coding ! but, after creating
and writing data into a text file. I must delete it
as it contains confidential informations.
Regards,
Thanks.'flush' writes to a file immediately. Else you should explicitly call 'flush' to write contents from buffer to underlying source.
javadoc again
PrintWriter
public PrintWriter(Writer out,
boolean autoFlush)Create a new PrintWriter.
Parameters:
out - A character-output stream
autoFlush - A boolean; if true, the println, printf, or format methods will flush the output buffer
cheers,
ram.
Question; What do you gain by opening a file, writing to it and deleting it in the same program ? -
How to download a text file from the server
hi everyone,
can anyone tell me how to download and read a text file from the server and saved in into resource folder.
with regards
pallaviits really easy
To read from server, use something like:
HttpConnection connector = null;
InputStream inp_stream = null;
OutputStream out_stream = null;
void CloseConnection()
if(inp_stream!=null)inp_stream.close();
inp_stream=null;
if(out_stream!=null)out_stream.close();
out_stream=null;
connector.close();
connector = null;
public void getResponse(String URL,String params)
try
if(connector==null)connector = (HttpConnection)Connector.open(URL);//URL of your text file / php script
connector.setRequestMethod(HttpConnection.POST);
connector.setRequestProperty("User-Agent","Profile/MIDP-2.0 Configuration/CLDC-1.1");
connector.setRequestProperty("content-type", "application/x-www-form-urlencoded");
//connector.setRequestProperty("charset","windows-1251");
//*** If you need to send ("arg1=value&arg2=value") arguments to script use this:
out_stream = connector.openOutputStream();
byte postmsg[] = params.getBytes();
out_stream.write(postmsg);
int rc = connector.getResponseCode();//in any case here connection will be opened & closed
if (rc != HttpConnection.HTTP_OK)
CloseConnection();
throw new IOException("HTTP response code: " + rc);
inp_stream = connector.openInputStream();
int pack_len = inp_stream.available();
byte answ[]=new byte[pack_len];
inp_stream.read(answ);
CloseConnection();
ProcAnswer(answ);//process received data
catch(Exception ex)
System.err.println("ERROR IN getResponse(): "+ex);
} And you can read from resource file like
public void loadFile(String filename)
DataInputStream dis = new DataInputStream(getClass().getResourceAsStream("/"+filename));
String str="";
try
while (true)
ch = dis.read();//read character
if(ch=='\r')continue;//if file made in windows
if(ch=='\n' || ch==-1)//end of line or end of file
if(str.length()==0)continue;//if empty line
//do some thing with "str"
if(ch==-1)break;//it was last line
str="";//next line
continue;
str+=(char)ch;
dis.close();
catch (Exception e)
System.err.println("ERROR in loadFile() " + e);
}Welcome! =)
Edited by: MorskoyZmey on Aug 14, 2008 3:40 AM -
How to Save a text file in the server?
hello
i just want to save an text file in the server.
My idea is to load an xml text file maybe make some changes
and then save it back to the server, so i can avoid all the
database/php work because i know nothing about it.
thank youhello
i just want to save an text file in the server.
My idea is to load an xml text file maybe make some changes
and then save it back to the server, so i can avoid all the
database/php work because i know nothing about it.
thank you -
How to read two text files using the Read from spreadsheet.vi and then plot it
I need to read two text files using the read from spreadsheet function and then plot these files over time.
The file with the .res extention is the RMS values (dt and df) and the second file contains the amplitude of a frequency spectrum.
I really appreciate any help..thanks
Attachments:
RMS.txt 1 KB
FREQUENCY.txt 1 KBFrom NI Example Finder:
Write to Text File.vi
Read from Text File.vi
Jean-Marc
LV2009 and LV2013
Free PDF Report with iTextSharp -
I have a samsung note 8 tablet. I used to be able to delete files from the recents list, but don't know how to do it in the newest version.
I don't think you can remove just one file from this list.
-
How do I move a file in the Creative Cloud website?
I have some of my assets organized into collections (folders), and now I want to move an item into one of the folders. How do i do that?
To move a file into a folder in the Creative Cloud, do the following:
Select the file, and then click the move icon (the icon to the left of the trash can) in the toolbar.
In the Select A Destination Collection dialog box, select a folder.
Click Move. -
How to delete latest opened file in the recent opened files list?
Does any one know if there is any api to modify the recent opened files list under the meun File->Open Recent File?
There is not.
-
Ok, I am back, again. I searched the web on how to Delete a text file completely, and came to a thread on these forums. But there was one issue, there was no answer in the thread. I know that the File class has a delete method, but I am not sure how to use it. Any help is great! Thanks guys.
Ok, I am back, again. I searched the web on how to
Delete a text file completely, and came to a thread
on these forums. But there was one issue, there was
no answer in the thread. I know that the File class
has a delete method, but I am not sure how to use it.
Any help is great! Thanks guys.You should definitely check whether the [url http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html#delete()]Javadoc holds answers before asking such questions. -
Store my files on the creative cloud
How can I store my files on the creative cloud? Is this option not yet availabe. I am also tryinhg to open the 'Behance tab' but everytime it continues to load but doesn't open anything.
Thanks in advance.
Amy SutherlandThere are two ways to upload your files.
To use the file syncing part of the Creative Cloud app sign up at the Early Access page here https://creative.adobe.com/earlyaccess.
You can also upload files using a browser from the Files page at https://creative.adobe.com/files. -
I would like to plott data from a text file in the same way as a media player does from a video file. I’m not sure how to create the pointer slide function. The vi could look something like the attached jpg.
Please, can some one help me?
Martin
Attachments:
Plotting from a text file like a media player example.jpg 61 KBHI Martin,
i am not realy sure what you want!?!?
i think you want to display only a part of the values you read from XYZ
so what you can do:
write all the values in an array.
the size of the array is the max. value of the slide bar
now you can select a part of the array (e.g. values from 100 to 200) and display this with a graph
the other option is to use the history function of the graphes
regards
timo -
How can I read text files from LAN if I only know the hostname?
I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
<p>1. How can I read text files from LAN if I only know the hostname, or IP address?
<p>2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.
(ex. how can I read the 120th line?)
<p>Please help!
<p>sorry for the bad englishI'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
1. How can I read text files from LAN if I only know the hostname, or IP address?You need to know the URL of the file. You need to know the hostname, port, protocl and relative path.
The hostname is server, not file.
2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.Use the seek() to get to a random byte.
(ex. how can I read the 120th line?)The only way to find the 120th line is to read the first 120 lines. You can use other file formats to find the 120th line without reading the whole file but to need to be able to detremine where the 120th line is -
How can I delete hidden video files from the iPad?
How can I delete hidden video files from the iPad? These files were created on my MBA and when I changed the media type to iTunesU and then copied it to my iPad via iTunes, they did not appear. I can see them using 3rd party software, but they don't have delete functionality.
Thanks
YorkInteresting note: I can see the files when I use the search function, but when I tap either file, I return to my home screen. The video does not open. I can transfer the file to my MBA, and it plays fine, but I cannot figure out a way to delete them.
Maybe you are looking for
-
Saving a email to a folder list before i send
I have always use Entourage and now moving all to mail. When i sent email in the past I was able to select where to save a copy of it so I not have to go to the sent folder and drag it to one of my personal folders. I can't seem to find this feature
-
Find and edit specific line in text file?
Hello I want to read a text file that could look in some different ways since the user choose file from a list. I then want to igonre all the lines that begin with a special character, for example %. I then want to find all the lines "words" that beg
-
Hello, I'm getting two errors. Hopefully someone can help with one or both. 1) U201Ccom.apple.garageband.cs\U201D - Logical end-of-file reached during read operation. From other posts, I've tried to go into Library -> Prefs -> but, there's no file th
-
ITunes Music Card-How do I register it?
New to ipod & iTunes. Have new 80gig, downloads and cd imports no problem, but can't figure out how to register Music Card my daughter got me for Fathers Day. Have iTunes 7 but help is no help. I'm logged in to my account, but I see no link to Gift C
-
Discussion forum layout could be improved
In each discussion forum, topics are listed a fixed box nested inside several frames surrounded by white space. For example, although Numbers forum has 1,911 topics, with default settings only 15 topics are listed in a 9.2" diagonal box, in the cente