How to save file on remote workstation in background ??
I have a report program runnign in background . I want the list output to be saved at some remote workstation .How can i do this? ny code/help is urgently required.
Regards,
Sunil
You really have to jump thru some hoops to do it, but this document says that it is possible. I personally have never attempted.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2
Regards,
Rich Heilman
Similar Messages
-
How to save file in users temp directory in java
How to save file in users temp directory as "<Drive Name>:\Documents and Settings\<User Name\Local Settings\Temp".
Shouldn't the System property "user.home" reference to that directory on windows? So if you call System.getProperty("user.home");, I think it should return that path at least up to <User Name>. I never really tried it on Windows though.
-
How to save files in MUSE?
I have watched many of the MUSE tutorials, both on the Adobe site and Lynda, but I have not seen anywhere how to save files, or where. Please help. Thanks.
Can you please elaborate your query here? Which file exactly are you referring to that you are unable to save? In Muse, it is just the Muse site/project file primarily with the extension .muse that you save/save as through the File menu.
Thanks,
Vinayak -
Running the program which saves file in sap directory in background
Hi guys,
how to Run the program which saves file in sap directory in background? Thanks!Hi Mark,
AL11 is a transaction that shows your application server something like an windows browser.
If you want to store file in your application server then you can write a code which uploads the data in to a file on application server.And you can run your code in background also.
Use function module :SAP_DATA_CONVERT_WRITE_FILE to write file on the application server.
If you want to upload file manually then use TCODE :CG3Z.
Hope this will you out. -
How to read file from remote machine
Hello,
Hi, i would like to know how to read text file from remote machine using java source code, any code ?
Thanks very much;
Best regards
KimOn the server, perform the following steps:
Parse the request and determine the file to serve
Open a FileInputStream to the appropriate file
Obtain a reference to the Servlet OutputStream
Pipe the bytes from the file to the output stream
Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
- Saish -
HOw to delete files from remote server?
Hi,
I want to delete files from a directory on remote server.
I use the following command to delete on current server:
find $srcdir -mtime +90 -name "COR*.txt" -exec rm -f {} \;
Now, how can I delete files from remote server ?
Thanks!
YoginiSome possible options:
1. There exists SSH implementation for Windows.
2. You can make a workaround. You can setup share for specific/wanted directory.
Then you can mount it on Linux machine and execute command localy and delete files "localy" in mounted directory.
3. You can setup FTP server on Windows machine and do that remotely via FTP commands. -
How to save file on server folder
hi
i was trying to save file in my specify folder path.
but it cann't save on than location.
if i will not specify path then it directly save file on "c:program files\tomcat5.7\bin\mytextfile.txt"
if i will specify perfect path "c://systemfile//mytextfile.txt"
it saves on that location.
if i will define path as ".//www//systemfile//mytextfile.txt"
"//www//systemfile//mytextfile.txt"
"//systemfile//mytextfile.txt"
".//mytextfile.txt" it cann't save file on locationi know how to upload file .
i need to save file on my web folder " /www/file/ xxxx.txt"
how i will save it .over ther in my program i will specify location "c:/Program file/file/xxxxxx.txt" -
How to save file with the "/" symbol in the name?
Hi,
I have Adobe Professional 8. I need to save files with names that include the symbol /, but Adobe interprets, for example, A/88/6, as file name 6, in a folder named 88, in a folder named A, and sets up new folders to accommodate that. I cannot substitute another symbol as I already have thousands of pdf files in a database using the / symbol, and I need them in the same folders.
I would very greatly appreciate any advice,
thanks,
Mo.Thanks.
As I said, I'm pretty ignorant about these things. I wouldn't know how to begin using a "hack". All I know is that I was able, for over a year, to save .pdf files directly from my browser on several computers, and use the forbidden "/" symbol in every file name. After saving the files, Adobe will happily open them, and allow me to edit and re-save them, although I now see that it will not allow me to "save as" them under a different name without removing that symbol.
I may not be tech-savvy, but I can state that everything I have said here and above is entirely accurate. I would be happy to open a dropbox account to show you countless .pdfs with the symbol "/" in the name.
This is honestly not that big a deal. I greatly appreciate this discussion, and you have inspired me to become slightly less computer-ignorant.
Hope you all had a great New Year. I am still recovering.
Cheers,
Mo. -
How to save files received with iChat?
I was in a text chat with a friend. He sent me an mp3 file, and it showed up in the chat window with the familiar play controls of Quicktime.. I was able to listen to it and everything. However, I couldn't figure out how to save the files??? All I could do was play, rewind etc...no way that I could see to save it.
Any help you can provide?
Thanks,
John
PowerMac G5 Dual 2.3 Mac OS X (10.4.2)Hi John,
You should be able to drag it from the window to the Desktop and subsequently, any folder.
Alternatively you can set iChat to save all Chats and replay it from there.
Or use Save As when the App that uses the files is open with the file in question.
Ralph -
I would like to save files (example:csv) from the subVI to the same folder of main VI? Please help! Thanks.
CP_AT wrote:
I would like to save files (example:csv) from the subVI to the same folder of main VI? Please help! Thanks.
I don't understand the problem. You write in the program where to save files, and it saves them there. Do you mean something else?
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ -
Hi,
I am trying to save files (various MIME types) in to Oracle via Kodo. The
datatype I'm using for the field is java.io.File. There are no errors when
I save the file but I get a NPE (null pointer) when I try to retrieve it.
What is the proper mechanism to save multimedia files. Please let me know.
Thanks in advance.
AnantWe store multimedia files in our database as well. We use kodo for all the
data except for the actual binary, which we write using our own piece of SQL
into a table we defined. We use Streams to read and write the data to via
the JDBC driver to avoid loading into memory - after all a video file could
be pretty big! We can use KODO's connection so it all gets committed at the
same time.
For performance, when we retrieve the binary, we cache each one in files, so
that next time, if it is unchanged, we don't have to drag the data back from
the database.
My impression is that JDO is not geared up for large binaries at the moment.
Matty.
"Abe White" <[email protected]> wrote in message
news:bnjsq8$s3o$[email protected]..
Binary contents has to be stored as a byte[] or serialized object. A
File represents a path, not any actual content. There is no way to load
the contents of a file as a java.io.File object. So byte[] is probably
your best bet. -
HOW TO SAVE FILES WITHOUT HAVING TO SEARCH FOR DESTINATION FOLDER AGAIN
Hello maybe someone can help me on this one.
I have a MacBookPro. And run loads of applications like Logic Pro, Photoshop, Peak, ProTools, etc.
Everytime I save changes on a project or file i am working on i have to choose the destination folder. Is there a way to save settings so that the last folder chosen automatically comes up when i would like to save new changes i did? I mean now i have to search and choose the destination folder each and every time I want to save changes. Since I have loads of projects i am working on and since i have MANY folders and sub folders this is quite irritating since it slows down my work flow.
I used to use a Powerbook G4 (os x 10.4.11) and I never had that problem. Each and every time I saved changes the machine automatically chose the folder i previously used to save. I never had to save settings for none of the MANY applications I use. This was something that went automatically: My powerbook automatically chose the last folder that i used to save files into.
I'd like to have my MacBookPro do the same.
Anyone knows about this issue?
Thanks in advance.
ps: i tried to explain best as i could in English (i am Dutch so excuse the (spelling) mistakes i might have made)I put an alias in some folders to go to commonly or frequently used locations so I could "Boomerang".
Maybe take a look at the Default Folder utility.
http://www.macupdate.com/info.php/id/7214/default-folder-x
http://www.stclairsoft.com/DefaultFolderX/index.html -
How to store files in shared-folder in background mode
Hello All,
My requirement seems to be simple but I have tried many ways in achieving this, but failed. So require the help in accomplishing this task.
Requirement
I have to create a program in SE38 which will create a internal table with data in it in .XML format(which I can achieve).
My requirement is this .XML file needs to be placed in a shared-folder in "BACKGROUND MODE".
I have tried using GUI_DOWNLOAD function module, but this FM only runs in Foreground mode and fails in Background mode. I have tried convincing my client that I will keep the file in Application Server as it is achievable using OPEN DATASET statements, but they are not willing to accept this.
So can you please help me in achieving this task as I am not getting any solution how to keep the file in Shared-folder in BACKGROUND mode itself(not Foreground).
Best Regards,
TousifHi Sanjeev,
I have just used normal GUI_DOWNLOAD FM. Please find my sample code below
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = 'D:\Users\baigtomx\Desktop\TOUSIF.XML'
* FILETYPE = 'ASC'
* APPEND = ' '
* WRITE_FIELD_SEPARATOR = ' '
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
* SHOW_TRANSFER_STATUS = ABAP_TRUE
* VIRUS_SCAN_PROFILE = '/SCET/GUI_DOWNLOAD'
* IMPORTING
* FILELENGTH =
TABLES
data_tab = lt_wo
* FIELDNAMES =
* EXCEPTIONS
* FILE_WRITE_ERROR = 1
* NO_BATCH = 2
* GUI_REFUSE_FILETRANSFER = 3
* INVALID_TYPE = 4
* NO_AUTHORITY = 5
* UNKNOWN_ERROR = 6
* HEADER_NOT_ALLOWED = 7
* SEPARATOR_NOT_ALLOWED = 8
* FILESIZE_NOT_ALLOWED = 9
* HEADER_TOO_LONG = 10
* DP_ERROR_CREATE = 11
* DP_ERROR_SEND = 12
* DP_ERROR_WRITE = 13
* UNKNOWN_DP_ERROR = 14
* ACCESS_DENIED = 15
* DP_OUT_OF_MEMORY = 16
* DISK_FULL = 17
* DP_TIMEOUT = 18
* FILE_NOT_FOUND = 19
* DATAPROVIDER_EXCEPTION = 20
* CONTROL_FLUSH_ERROR = 21
* OTHERS = 22
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
When I run this program in foreground mode, the file gets saved(here in the above example I have just used my desktop path. but the actual requirement is to store file in shared-folder i-e Network Drive).
But when i run the same program in background mode, No file is getting stored.
Regards, -
How to save a clip with a transparent background?
How do i save a clip with a transparent background to export to quicktime and then be able to import it back into my timeline and have it be able to overlay ontop of another clip? Transparent clip is for lower third
For transparency to work, you need to save it in a format that has an alpha channel. Not sure if FCE supports the Animation codec but if it does you'll want your material as "millions of colors +". The "+" means Alpha.
x -
How to save file from server to client machine
Hi,
By using POI library i'm writing values to the existing excel sheet which is available in server. After i written values to the excel, i want to save the same file to the client machine.
How to achieve this.
I googled about this, but still i didn't get any clear idea.
Thanks in advance,
SANSameera,
No, i can't understand what is the meaning of the following code:
public void doDownload(FacesContext facesContext, OutputStream outputStream) {
// write the neccessary code to get the download data from the Model
String data = getDownloadData();
// save to the output stream
try {
OutputStreamWriter writer = new OutputStreamWriter(outputStream,"UTF-8");
writer.write(data);
writer.close();
outputStream.close();
} catch (IOException e) {
// handle I/O exceptions
can you please explain this code little more.
Edited by: san-717 on Feb 29, 2012 2:30 PM
Maybe you are looking for
-
Workflow is in process due to locking of work item
Hi, I checked for one invoice document, workflow is in process. I saw it is stuck in one send mail step and analyse the workflow log, it is showing work item is locked against execution. I tried to execute the work item using SWIA, still it is not go
-
I purchased a book today on my iPad it won't download it shows up in purchased and I have checked all my systems are up to date.
-
I need help with problems after the April 2015 update
In December 2015 I purchased an LG G3. It started out great. Then often people couldn't hear me..sometimes with the speaker on, sometimes with it off, sometimes on bluetooth with my car,.or my voice faded in and out, or sounded muffled or garbled. A
-
Safari not remembering home page
Safari 5.1.x not able to remember preference for home page. Safari 5.1, Lion 10.7.1 Might there be a fix for this? Thanks
-
*Impementing FSCM in BW*
Hi all, I am a BW consultant. In our company we are implementing FSCM (Credit Management ) in systems like R/3 and BW. As a pre-requisite we have upgraded both the system with Enhancement pack 4 in ABAP Ecc 6.0 version and BW 7.0 version