Shared Files on another system.hope no body knows
how to do it in java....
how can we know the shared file listing in a system using java.
On Windows you can probably navigate to the shared content of other systems using javax.swing.filechooser.FileSystemView
Similar Messages
-
Accessing a file in another system
Hello,
Can Anyone please tell me how to access a file in another system using java.
Thanks in Advance,
VenkatHi Venkat
Check following link.
This link is helpful for you
http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/data.html#app
http://www.devdaily.com/java/edu/pj/pj010004/pj010004.shtml
Regards
Ruturaj -
Iphoto is currently a shared file on my Mac and I no longer want to share it. How do I completely remove access to it if i am the Admin to the computer? Thanks in advance...
I found the answer on the Quicken Support site. Unbelievable!!!!
Article ID: GEN82981 Updated: 8/11/2011 |
Unable to Share a Data File Between Multiple Users on the Same System
Cause The Quicken Essentials data is a data package that contains multiple files. Each item in the package has permission set based on the current users profile. When the Package is moved to a shared folder, the permission in the data package are not changed, therefore cannot be accessed by another user.
You can change the permissions for each individual file within the data package to be accessed by other users. However, the first user who opens the file after the permissions have been changed, will take ownership of the data package, and it will no longer be accessible by the other party again.
SolutionThis issue is currently a product limitation and is expected to be resolved in a future version of Quicken Essentials for Mac. -
How to upload an XML file into another system
Hi friends,
I have a requirement where I need to upload an XML file into one system
which has been downloaded using another system.
I have tried using the method ' cl_gui_frontend_services=>gui_upload'
to upload the file but it is going for dump.
I have used the method ' w_xml->import_from_file' also,
but it is also going for dump ,because both methods are using the same FM
' GUI_UPLOAD'.
Can any one suggest on this.
Regards,
Bhargavi.D"Here is the Explaination for uploading the XML Format file to sap " through ABAP Program ....
1. Basically you simply have to convert the XML file into the proper IDoc format. There are many ways to achieve this. One solution would be to convert it externally to SAP, e.g. via VB Script or with an XSLT transformation. Or you use the built in SAP functions for importing an IDoc from an XML stream.
2. Uploading a file is either done via GUI_UPLOAD or via the usual way of reading a file from the application server (Open dataset. Read dataset) But what do you mean by "send to external system"? Do you want to convert an IDoc into XML? Then you simply define an XML port with WE21 to send the IDoc out.
Here is an example of code that loads an XML from file and posts it as an IDoc. Please keep in mind that the XML has to be in its canonical format as described in the interface repository: ifr.sap.com (choose the template of the desired IDoc from there as an example).
data: data_tab type table of char1024.
data: XML_STREAM type string.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = 'D:test.xml'
* FILETYPE = 'ASC'
* HAS_FIELD_SEPARATOR = ' '
* HEADER_LENGTH = 0
* READ_BY_LINE = 'X'
* DAT_MODE = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* CHECK_BOM = ' '
* IMPORTING
* FILELENGTH =
* HEADER =
TABLES
DATA_TAB = DATA_TAB
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CONVERT_TABLE_TO_STRING'
EXPORTING
I_TABLINE_LENGTH = '1024'
IMPORTING
E_STRING = XML_STREAM
TABLES
IT_TABLE = DATA_TAB[].
write: / xml_stream color col_total.
data: CONTENT_LENGTH type string.
data: CONTENT_TYPE type string.
data: REMOTE_ADDR type string.
CALL FUNCTION 'IDOC_INBOUND_XML_VIA_HTTP'
EXPORTING
XML_STREAM = XML_STREAM
CONTENT_LENGTH = content_type
CONTENT_TYPE = content_type
REMOTE_ADDR = remote_addr
EXCEPTIONS
NO_IDOCS_SAVED = 1
TAG_ERROR = 2
NO_DATA_RECEIVED = 3
NO_IDOCS_RECEIVED = 4
SEGMENT_ERROR = 5
IDOC_WAS_SEND_SECOND_TIME = 6
OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
write: / sy-subrc color COL_NEGATIVE.
ENDIF.
reward points if it is usefull.......
Girish -
Sharing files from another mac
I would like to share files from my macbook pro to the macbook air. I went into the pro and turned on the sharing ability in the user file. when I looked at this from the air, and clicked on the music, a message came up that said " I dont have permission to see these contents". how can i change this so I can use the files?
See:
File Sharing on Macs
Quick and easy folder sharing in 10.5 | Mac OS X | Mac OS X Hints | Macworld
In order to access files on another computer you must log into an account on that computer otherwise you log into the Guest account. The Guest account only gives you access to files in the Shared folder. -
Downloading file to another system
Hello,
There is a class in one of the systems that my company has, and now we would like to move it to another system line by line. However, the problem is that the class has like 13 long methods and I really don't want to physically copy and paste every single attributes, parameters, exceptions and codes one by one in SE24. Is there a more convinient way of doing that? Thanks a lot!
Regards,
AnyiHi,
If there is any transport from source and target systems...Try transporting the CR which has the class and the methods..
Otherwise...You have to do manually..
Thanks,
Naren -
Sharing files with another mac
I have some videos on Iphoto that I want to share with another Mac via the cloud. How do they find it on their computer?
One of the most secure way to share files over the internet is to use an sftp server.
Goto your system preferences-->sharing-->turn on remote login.
Then on your router's or firewalls port forward tcp port 22 to your mac. Then you can log into each others mac using an SFTP client such as transmit or cyberduck. -
Sharing files with another mac over internet
Hi there,
My friend has a mac with tiger. I have a mac with tiger. We have built in ftp servers, correct? How exactly do we connect with each other over the internet to share large files? I know the answer is simple or at least available. Thanks for your time.
rwaOne of the most secure way to share files over the internet is to use an sftp server.
Goto your system preferences-->sharing-->turn on remote login.
Then on your router's or firewalls port forward tcp port 22 to your mac. Then you can log into each others mac using an SFTP client such as transmit or cyberduck. -
Copy FCP Project File to Another Computer - Version of FCP
Hi
I just started using the Media Manager, and it works great for copying RAW footage, and proejct files to another computer.
Just wondering;
In the tests I've conducted, the Project File got copied just fine to a system that contained the same FCP Version (5.1), as the source drive/system.
If I copy Raw Media and a Project File to another system that has version 6, will I be able to re-copy it back into my version; 5.1?
ThanxHello and thank you
"You would then need to export an XML file out of FCP6, to work with it in FCP5"
Can this 'XML file' behave like an ordinary edited clip in the timeline? Can it be edited? Or will this 'XML file' be an un-editable movie type file when placed back on the timeline in 5.1?
Know what I mean? -
Add 'soft link' of a shared file in the body of message.
I want to know if there is a way to hyperlink a shared file which is on a server and add it in the body of message rather than sending that whole file as an attachment. So that when the recipeint receives the e-mail, he/she can just click on the link and that particular file will open.
I hope my question is clear enough. I need your expert opinion in this matter. Is this do-able or am I crazy?I tried doing the same thing. I guess I am doing something wrong.
I have a webserver and folder named projects under webserver. I want to access a file from the projects folder. Hence my absolute file path looks something like this:
\\Web_Server\web_server\projects\bci.doc . How can I make this path as URL? I understand that if I have any internet website or any ip address, I can hyperlink it. But I am not sure, how can I hyperlink a file path such as this.
I have tried the following code in the javamail:
String tempFileName ="Web_server/WEB_SERVER/Projects/BCI.doc";
</font>";
This did not help me.
Please help.
Thanking you in advance,
Riddhi. -
RAID/ shared file system for clustering
could somebody give me the h/w config,vendor etc.. used generally to
provide failover to the shared file system for cluster of weblogic
servers?Many of our customers use either a hardware or software raid to protect
their filesystem for the cluster. Most of this is a vendor specific --
you should check out the documentation for your specific platform.
Another option is to not do a single filesystem for the cluster. They
should be free self-explanatory -- you simply need to replicate all of
the files, application code, etc. across the cluster in each individual
server machine.
shivu wrote:
>
could somebody give me the h/w config,vendor etc.. used generally to
provide failover to the shared file system for cluster of weblogic
servers?--
Thanks,
Michael
-- BEA WebLogic is hiring!
Check our website: http://www.bea.com/ -
Shared file system and other questions
Hi,
Is shared file system common for all WL in the cluster or each WL has its
own one.
Next questin is connected with proxy server.
I'm not sure if there should be one proxy server for two servers working in
one cluster or each server should has own proxy server (I mean WL proxy
server).???
In my opinion there should be one proxy server which redirect requests to
server in cluster using some balancing method. But when I read documentation
about cluster's architectures I saw the picture where each WL cluster server
had proxy own server. I'm not sure if this picture showed only outline of
architecture or it was real solution???
Is it better to install another proxy server (for example Apache) than WL
proxy server?
In previous questions I asked if it is possible to replic static classes,
fields etc. Prasad Peddada told that it is not replicated. But I wonder if
there exists some method to force replicating it.? Maybe we can implement
some method and run it?
Thanks,
Best regards,
Robert
Mike.
In WLS51 cluster, it is better to specify different workingDir for each
server. You can create a weblogic.properties in your per-server directory
and add jspc properties in that file.
Cheers - Wei
"Mike Reiche" <[email protected]> wrote in message
news:[email protected]...
>
> If you share directories between instances -
> what happens when two WL instances decide to compile
> the same JSP at the same time?
>
> Mike
>
>
> Viresh Garg <[email protected]> wrote:
> >
> >
> >
> >
> >"Robert Zaczyñski" wrote:
> >
> >> Hi,
> >> Is shared file system common for all WL in
> >the cluster or each WL has its
> >> own one.
> >
> >I am not sure I understand your question. We
> >recommend using shared file system
> >for ease of maintanence and to get rid of pain
> >for versioning problems for
> >application code. It is not a requirement of
> >WLS cluster. I really don't
> >understand what you mean by
> >"Is shared file system common for all WL in
> >the cluster or each WL has its
> >own one
> >"
> >
> >>
> >>
> >> Next questin is connected with proxy server.
> >> I'm not sure if there should be one proxy
> >server for two servers working in
> >> one cluster or each server should has own
> >proxy server (I mean WL proxy
> >> server).???
> >> In my opinion there should be one proxy server
> >which redirect requests to
> >> server in cluster using some balancing method.
> >But when I read documentation
> >> about cluster's architectures I saw the picture
> >where each WL cluster server
> >> had proxy own server. I'm not sure if this
> >picture showed only outline of
> >> architecture or it was real solution???
> >
> >One or more proxy servers can be used. One is
> >just fine, however you **might**
> >want to use multiple proxies for heavily loaded
> >application to avoid contention.
> >All proxy servers will load balance between
> >all servers in clsuter. a proxy
> >servers is not attached or bound to an instance
> >in cluster.
> >
> >>
> >>
> >> Is it better to install another proxy server
> >(for example Apache) than WL
> >> proxy server?
> >>
> >> In previous questions I asked if it is possible
> >to replic static classes,
> >> fields etc. Prasad Peddada told that it is
> >not replicated. But I wonder if
> >> there exists some method to force replicating
> >it.? Maybe we can implement
> >> some method and run it?
> >
> >I would recommend that for static classes, you
> >use context parameters of web
> >application or something similar, why do you
> >need to replicate them. WHy not
> >each cluster instance have a local copy and
> >use their own copy for such
> >classes/fields?
> >
> >>
> >>
> >> Thanks,
> >> Best regards,
> >> Robert
> >
> >Viresh Garg
> >Principal Developer Relations Engineer
> >BEA Systems
> >
> >
> >
> ><!doctype html public "-//w3c//dtd html 4.0
> >transitional//en">
> ><html>
> >
> ><p>"Robert Zaczyñski" wrote:
> ><blockquote TYPE=CITE>Hi,
> ><br>Is shared file system common for all WL
> >in the cluster or each WL has
> >its
> ><br>own one.</blockquote>
> >
> ><p><br>I am not sure I understand your question.
> >We recommend using shared
> >file system for ease of maintanence and to get
> >rid of pain for versioning
> >problems for application code. It is not a requirement
> >of WLS cluster.
> >I really don't understand what you mean by
> ><br>"<i>Is shared file system common for all
> >WL in the cluster or each
> >WL has its</i>
> ><br><i>own one</i>
> ><br>"
> ><blockquote TYPE=CITE>
> ><p>Next questin is connected with proxy server.
> ><br>I'm not sure if there should be one proxy
> >server for two servers working
> >in
> ><br>one cluster or each server should has own
> >proxy server (I mean WL proxy
> ><br>server).???
> ><br>In my opinion there should be one proxy
> >server which redirect requests
> >to
> ><br>server in cluster using some balancing method.
> >But when I read documentation
> ><br>about cluster's architectures I saw the
> >picture where each WL cluster
> >server
> ><br>had proxy own server. I'm not sure if this
> >picture showed only outline
> >of
> ><br>architecture or it was real solution???</blockquote>
> >
> ><p><br>One or more proxy servers can be used.
> >One is just fine, however
> >you **might** want to use multiple proxies for
> >heavily loaded application
> >to avoid contention. All proxy servers will
> >load balance between all servers
> >in clsuter. a proxy servers is not attached
> >or bound to an instance in
> >cluster.
> ><blockquote TYPE=CITE>
> ><p>Is it better to install another proxy server
> >(for example Apache) than
> >WL
> ><br>proxy server?
> ><p>In previous questions I asked if it is possible
> >to replic static classes,
> ><br>fields etc. Prasad Peddada told that it
> >is not replicated. But I wonder
> >if
> ><br>there exists some method to force replicating
> >it.? Maybe we can implement
> ><br>some method and run it?</blockquote>
> >
> ><p><br>I would recommend that for static classes,
> >you use context parameters
> >of web application or something similar, why
> >do you need to replicate them.
> >WHy not each cluster instance have a local copy
> >and use their own copy
> >for such classes/fields?
> ><blockquote TYPE=CITE>
> ><p>Thanks,
> ><br>Best regards,
> ><br>Robert</blockquote>
> >
> ><p>Viresh Garg
> ><br>Principal Developer Relations Engineer
> ><br>BEA Systems
> ><br> </html>
> >
> >
>
-
Java does not get file list from shared folder in another server.
Hi,
I'm using java 1.4.2.16,
Command below does not get file list.
import java.io.;*..
File file = new File("\\\\10.242.22.28\\SapMII");
File[] files = file.listFiles();
SapMII folder is Everyone full Control permission.
How can i solve this problem?
Thanks.Could you please post replies in a more helpful way? Just informing me that it was an NPE doesn't really tell me anything. Post the stacktrace (Exception#printStackTrace()). And the listFile() methods API has this to say:
Returns null if this abstract pathname does not denote a directory, or if an I/O error occurs.I'm able to run this sample code easily:
import java.io.File;
public class TestFileList {
public static void main(String[] args) {
File file = new File("\\\\10.40.55.33\\shared");
File [] files = file.listFiles();
for(File currentFile: files )
System.out.println(currentFile.getName());
} -
I want while replying incoming mails to drag files to mails but not in body of mail , more over the available type of attachments is only photo or video so how I can attach another type
There is no dragging of anything in iOS.
Attach as many files or emails as you'd like until it reaches the max capacity of attachements for the email provider. -
Getting error in file transfer from one system to another system
Hi All
One of my client (User) wants to transfer his file from SAP R/3 System SAP XI system. He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System). When user execute the program he is getting error "File Transfer Failed due to Network chk with Admin"
I checked with Network team but they said it is okay from their side. We also check for authorization but there is no issue regarding authorization.
Name of File Path of Aplication Server, XI destinaion and XI directory entered by user is correct.
We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
Please help me to resolve this problem. I any detail require I will provide the same.Guruprasad Wrote:
He is using a customize t-code ZFIR0325 (Trial balance report transfer to Hyperian System).
We also put authorization trace in XI System to RFC User (In file transfer from one system to another system this RFC User is geeing Used) but no authorization issue was found.
Firstly, no one in the community can answer on how a custom transcation code and a program associated with it behaves.
If there are no authorization issues in the system, you have to look at the exact error message. Look if your XI system is allowed to receive files from the SAP system.
Unfortunately, you should do some more home work before putting your question here. If everything is fine and configured correctly, then the issue might be with the program.
Regards,
Raghu
Maybe you are looking for
-
VALUES NOT UPDATED IN EXCISE INVOICE
hi gurus , well all the settings to my knowledge are correct for CIN customization , but the excise values are not updated in excise invoice .the values are 0 " . can ne1 pl help ? dts top priority .
-
Hi, Since I've bought my Mac, I've had no problems playing flash content on websites with the quicktime plugin. However, for some reason, recently whenever I go to any websites with flash content, a quicktime symbol will showup with a question mark a
-
How can I disable the middle mouse emulation
When I'm playing this one game, sometimes I right click then left click really fast to jump and shoot and it thinks I am pressing the middle button. I have a middle button, so there is no reason to emulate it by pressing the right and left buttons at
-
Inter Application Server RMI IIOP call question
Hi, I am using SAS 8 EE. I have two stand alone server instances and I am trying to make a call from a message bean in one instance to a message bean in the other instance. When I do this I get an exception in the node agent of the message bean insta
-
Is there a way to automatically add the filename of the picture as a keyword tag to the picture itself? I ask this because the pictures I upload to Flickr, for example, just show the filename value if the metadata field Title is empty, otherwise it u