Windows' share physical path

Hi,
I need to write a file on a NAS. I have the share path (suppose \\share\dir). How can I create a file on it? Do I need to know the physical path and use it to create a file? Can I obtain the physical path having the NAS path?
I'm talking about Java 1.4.03 (and Websphere).
Sorry for my english but it isn't my mother tongue.
Thanks

Hi,
Ok, first of: Applet or Application? The main difference is: Applet - forget it, Application - you'll have to consult the file system. And that IS possible...
I see annother issue: shared paths. Are you talking about a LAN-based application? Windows shares have a bad reputaion for me, the security ... stinks ;-) you'll have to provide read and (oh dear...) WRITE permissions, to just about ... everyone. Be carefull with that, otherwise your (server) disk could end up as backup annex trashcan...
Message was edited by:
T01dev

Similar Messages

  • LSMW - Logical File Path not pointing to Physical Path

    Hi All,
    I'm trying to upload some MIGO goods movement transactions through LSMW.  I'm to step 7, specifying files, and am getting the error "No logical file path has been specified.  I saw another thread which helped me, but I am still stuck after reading it. 
    Re: Error in Creation of Purchase Requisition through LSMW
    I have gone into transaction FILE and created the logical file name MM_GOODS_MOVEMENT, and set the physical file as the .lsmw.conv converted data file as the above thread says.  I also tried using the logical path LOCAL_TEMPORARY_FILES for the converted data, but I get the error telling me that the path does not point to a physical directory.  I then tried creating my own file path, and setting the path to my desktop where the source file is, and the same error occurred.
    Does anyone know why it is not recognizing the physical path maintained in the logical path?
    Thanks,
    J

    Thanks for both replies,
    I have full authorization across all transactions in the sandbox system I am working in, so that is not an issue.  I filled the logical path field in the MM_GOODS_MOVEMENT logical file with LOCAL_TEMPORARY_FILES, as well as trying my own created file path, and I recieved the same error for each.  Here is how the config is currently:
    Logical File Path Definition:  MM_GOODS_MOVEMENT
    Syntax Group: WINDOWS NT
    Physical path: C:\Documents and Settings\jchanski\Desktop\<FILENAME>
    or,
    Logical File Path Definition:  LOCAL_TEMPORARY_FILES
    Syntax Group: WINDOWS NT
    Physical path: C:\temp\<FILENAME>
    Logical File Name Definition: MM_GOODS_MOVEMENT
    Physical file: MM_MM_MIGO_INVUPLOAD.lsmw.conv
    Data format: ASC
    Applicat.area: MM
    Logical path: LOCAL_TEMPORARY_FILES or MM_GOODS_MOVEMENT
    Do you see any error with this Brajvir?  Thanks!

  • Physical Path in File Adapter for Windows Server

    Hi There,
    I am trying to read a file from a directory on a windows server and write it to the same server in a different directory.
    In the file adapter I gave the value for physical path as below:
    "\\10.xx.34.xxx\Share\input".
    However I am getting below message in the debug:
    "Value specified for input Physical/Logical Directory is not a directory or is not readable."
    Hence my question is what should be the value in the physical path for windows server.
    Thanks in Advance
    Krishna
    Edited by: user452458 on Jul 19, 2010 11:30 AM

    Thanks for your reply again.
    Actually they are not on the same file system.
    I have successfully used FTP Adapter to connect to a UNIX server.
    However is it possible to use FTP Adapter for Windows Server. If so how should be the corresponding JNDI defined.
    I am getting below error when I use FTP Adapter for Windows Server:
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    ; nested exception is:
         ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server. [Caused by: A remote host refused an attempted connect operation.]
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    Please Advise.
    Thanks
    Krishna

  • How to change Syntax group and physical path in SARA from unix to windows.

    Our customer migrate current current archiving server from Unix to windows
    How to change Syntax group and physical path in SARA from unix to windows.

    http://help.sap.com/saphelp_nw70/helpdata/EN/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
    you have to change
    Logical Path Names
    Logical file  Names
    Note 35992 - File name/directory for application archiving
    hope this will help you
    cheers
    dEE

  • CM repository - windows share permission issue

    Hello,
    I have configured CM repository to point to windows share. We are running EP 7.0 Everything worked fine. The user name I used in configuring network path is  - epdshare. I have chosen AclSecurityManager as Security.
    However, the physical network share currently has Everyone with read/write permissions, which is a security concern of course.  When removed it, all stoped working, and CM repository is not even visible. I made sure that the user used in Network path - epdshare to has full control on this share, but as long as Everyone is not there, it does not work.
    It looks like Portal is trying to access the share with something else? Any idea what this user could be? Is there anything that I am doing wrong?
    Thanks,
    Alex

    Hi Alex,
    NWA should be the most convenient way to search the log files. But you can also use the [Log Viewer|http://help.sap.com/SAPHELP_NW04S/helpdata/en/57/5f1140d72dc442e10000000a1550b0/frameset.htm] inside of the Visual Admin or just navigate on the OS System to the folder /usr/sap/<SID>/<instance_number>/j2ee/cluster/server<X>/log/ and open the file defaultTrace.X.trc. You find the correct X either by comparing the file size (it should be the file that is smaller than the others) or sorting by date.
    Try to reproduce the problem when you remove the group everyone and check for an error.
    In special cases you can also change the log level to get more information written in the log files, but I am pretty sure you should have an error in the logs when the repository is not displayed.
    Let me know if anything is unclear,
    Robert

  • Getting physical path from logical path

    Hi,
    I am using the FM FILE_GET_NAME  to get the physical path for a given logical path which I have specified within the FILE transaction.
    The code works fine when I run the program in foreground but it doesn't work when I run it in background.
    Can anyone advise on why this is and how I can get this to work correctly in background aswell as foregroud.
    The ultimate goal is to be able to poll a directory on the SAP server (which could be windows or unix) and to process the files in there.
    Thanks,
    Ruby

    Thank-you.
    I would prefer to to use a default path if possible. The reason I defined a logical path was so that this could be defined outside the program.
    Are you saying I cannot use this FM in background at all?
    Is there another FM which will do the same thing but will work in background?
    What I am trying to do is create a program which will run in the background polling a particular directory and then process the files in this directory if it finds any.
    Do you know how I could achieve this using logical paths rather than using hardcoded paths?

  • How to get physical path of current working file?

    I WANT TO KNOW THE PHYSICAL PATH OF CURRENT WORKING FILE IN JAVA ON BOTH UNIX AND WINDOWS PLATFORM.
    HOW TO GET IT?
    THANK U

    I am not sure this is the correct way to do it, but I tried it out a bit and found that the following will work (that is, I tested it on NT :-)):
    String nameWithPackage = YourClass.class.getName();
    String name = (nameWithPackage.substring(nameWithPackage.lastIndexOf(".")+1))+".class";
    URL url = YourClass.class.getResource(name);
    String path = url.getPath();I hope this will help...

  • File adapter(receiver) to generate file in remote windows share folder?

    Hello gurus,
    1.Is that possible, to use the file adapter(NFS) to generate a file in a remote windows share folder?
    How can i specify the target directory field?
    2.Another question, when i specify the target directory like rootFolder/subFolder, then the file is generated in the folder
    /usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/rootFolder/subFolder.
    Why did it put my path as sub-folder of /usr/sap/XID/DVEBMGS00/j2ee/cluster/server0?
    Can i put it in another place? or even start from the root?
    Best regards, Charlie

    > 1.Is that possible, to use the file adapter(NFS) to generate a file in a remote windows share folder?
    This is possible only, when your PI system is installed on Windows OS also.
    > How can i specify the target directory field?
    The same way as you access it from your Windows Explorer.
    > Why did it put my path as sub-folder of /usr/sap/XID/DVEBMGS00/j2ee/cluster/server0?
    Because this is the working directory of the Adapter Engine
    > Can i put it in another place? or even start from the root?
    Yes, of course. Why you do not simply try it?

  • How to create a logical and a physical path?

    Hi ,
    I want to know how is  a logical path created ?
    Also , how can a physical path be created from a provided logicall path?
    Regards,
    Harshit Rungta

    Hi,
    Use FM u2018FILE_GET_NAMEu2019 to assign the physical file name using a logical file name.
    Remember you need to create u2018logical file nameu2019 using transaction u2013 FILE.
    R/3 applications run on various platforms with various file systems. Hence we use platform-independent logical file names in our application programs.
    Function module u2018FILE_GET_NAMEu2019 converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name:     MONTHLY_SALES_FILE
    physical file name:     VALUES<PARAM_1>
    logical path:     SALES_DATA_PATH
    physical path (UNIX):     /usr/<SYSID>/<FILENAME>
    physical path (Windows):     C:\SALES\<FILENAME>.
    Kind Regards,
    Nikhil J.

  • File Adapter (UNIX) to Windows Share

    Hi,
    I am still quite confused how SAP can call this a File Adapter until it is not possible to use the most common transfer method: UNC Paths
    When I start thinking about this I am getting sick, but ok.
    So I want to send a file from anywere to a Windows Share, which in general should not be that difficult. Again, this is one of the most used scenarios and this is not supported by SAP because my XI is on Unix. The possible solutions I found are:
    1) Samba
    2) Mount
    3) FTP Adapter
    For me Mount is no possible because I do have a WAN in between and this connection would be too vulnerable, FTP not as well because there is no FTP Server where I want to go.
    Does anyone of you use a script called from the file adapter which transfers the file via Samba? Any experience with that?
    BR Markus

    You can as well use a J2SE adapter to perform the requirement using XI. I am not sure if you have tried that option.

  • Slow start of app from Windows-Share

    Hi,
    i have an ZFD-App which has to start an *.EXE from a Windows-Server. The command ist like \\winserver\icd\path\boxes.exe When I start this ZEN-App I have to wait longer than 30 seconds before I can see a logon-windows of this program. If I make a good old local link on my WinXP-desktop and I start this I see the logon-windows after only 2 seconds. This is e very big difference.
    I tested this scenario with another EXE from another windows-share, it's the same problem.
    Any suggestions?
    Uwe Bassen
    Hamburg
    Germany

    Well, if the user/workstation isn't authenticated to your windows box before
    the app starts, its going to have different timeout issues (I'm not sure how
    you have the app assocated).
    My suggestion: copy the exe to a location that the user/workstation already
    has rights to. Not sure why you have to run the app from a server the user
    doesn't have rights to already.
    You might be able to build in the authentication prompt into your app with a
    pre-launch script (i.e. net use )
    >>> On 12/21/2009 at 3:46 AM, in message
    <[email protected]>,
    bassen<[email protected]> wrote:
    > Hi,
    > i have an ZFD-App which has to start an *.EXE from a Windows-Server.The
    > command ist like \\winserver\icd\path\boxes.exe When I start thisZEN-App I
    > have to wait longer than 30 seconds before I can see alogon-windows of
    > this program. If I make a good old local link on myWinXP-desktop and I
    > start this I see the logon-windows after only 2seconds. This is e very big
    > difference.
    >
    > I tested this scenario with another EXE from another windows-share,it's
    > the same problem.
    >
    > Any suggestions?
    >
    > Uwe Bassen
    > Hamburg
    > Germany--
    bassen----------------------------------------------------------------------
    --bassen's Profile:
    > http://forums.novell.com/member.php?userid=30002View this thread:
    > http://forums.novell.com/showthread.php?t=396411

  • Physical path for KM documents and folders in WAS

    Dear All,
    Could you please help me in finding the physical path of the KM Content stored in the back-end WAS.
    Helpful answers will be rewarded.
    Thanks
    Prabhakar M

    Hello Prabhakar M,
    In the Details of your Document.
    Click on Properties.
    Under Properties, Click on Access Link.
    Under Access Link, there will be WEBDEV URL
    Webdev URL is the path where your Documents are Stored.
    Also, it is highly dependent on type of Repository.
    All the 3 modes of CM Repository have different ways of Storing.
    Kindly share, the mode of repository you use?
    Regards,
    Chinmay Joshi

  • Quicktime would fail to write/export to server windows share with "Error -43: file not found" errors

    Summary:
    With the combination of Windows 7 and Quicktime 7.x, Quicktime would fail to write/export to server windows share with "Couldn't create output movie storage" and "Error -43: file not found" errors
    Steps to Reproduce:
    Trying to render to Quicktime files using network shared folders as a destination:
    Unable to open file. (-1610153459)
    The funny thing: it only happens when there are at least two shared folders mapped on the workstation, and the destination folder used for the rendered movie is not the first one.
    If we have only two mapped drives, F: and G: for example, and we try to render something to F:, everything works fine and no error is showed. But, when the destination is the G: drive, rendering never works, the error is showed, but a zero-byte file is created in F: (!!). ODD! If we remap F: drive with a different letter, but a letter BEFORE G:, the problem always happens. If we remap drive F: to any letter AFTER G:, making G: the first available network drive, rendering works. Also, simply unmapping F: and leaving G: as the only connected network folder makes render to work.
    We do not have a D: drive in our Windows 7 workstations, they are all C: only.
    It is a 100% reproducible problem. We tried with three different Active Directory networks and workstations. It has all of the features of a software bug.
    Any help would be appreciated.
    Cheers!
    Expected Results:
    Error -43: file not found
    Actual Results:
    The workaround seems to be to use the full path to the servers instead of the mapped mount point (ie //server/z/... instead of Z:/...
    Regression:
    All versions of quicktime 7 in combination with windows 7 client and more than one smb share point mapped in a letter.
    Notes:
    All software that uses quicktime movie exports showed this error.

    Not sure what file your are referencing?  Thanks for your suggestion, however, it's not relavant.
    It renders fine if you render to either the UNC path or the first mapped drive.
    i.e. If you have two mapped drives G: and H:
    they both point to \\fileserver\share1\folder
    If you render to H: it will fail, if you render to G: it works!  Same path, same user, same permissions.
    The only difference is H comes after G, so it fails... BUG.  If it was to do with anything else, underscores, permissions etc, it would fail on both.

  • Apps to Windows share under unsecure system/workstation objects

    ZENworks Desktop Management 6.5 SP2 on NetWare 6.5 SP5, 6.5 SP1 agents
    Windows 2000 SP4 w/ rollup 1 and XP SP2 workstations on 2003 R2 domains
    I'm looking to launch application installs and custom policies under
    unsecure system context associated to workstation containers/objects
    with the corresponding executables/scripts off a Windows shares (2003 R2
    domain accounts).
    What/how would you recommend I manage file system rights on Windows so
    that only the computer/system account has rights to these corresponding
    paths?
    Should I call a domain account that has admin rights to the workstations?
    Any input is appreciated.
    Thanks,
    Tony Pedretti

    Or simply add the Domain Workstation object as a trustee of that file
    location.
    You could even use a Windows Groups to place all of the Workstation Objects
    in.
    I presume you could even use IDM to synch an E-Dir Workstation Group to an
    E-Dir group.
    Especially if you NDS Workstatin Object name was the same name as the Domain
    Workstation Object.
    "Tony Pedretti" <[email protected]> wrote in message
    news:UJbwh.12515$[email protected]..
    > ZENworks Desktop Management 6.5 SP2 on NetWare 6.5 SP5, 6.5 SP1 agents
    > Windows 2000 SP4 w/ rollup 1 and XP SP2 workstations on 2003 R2 domains
    >
    > I'm looking to launch application installs and custom policies under
    > unsecure system context associated to workstation containers/objects with
    > the corresponding executables/scripts off a Windows shares (2003 R2 domain
    > accounts).
    >
    > What/how would you recommend I manage file system rights on Windows so
    > that only the computer/system account has rights to these corresponding
    > paths?
    >
    > Should I call a domain account that has admin rights to the workstations?
    >
    > Any input is appreciated.
    >
    > Thanks,
    >
    > --
    > Tony Pedretti

  • FSDB to Windows Share on UNIX Portal

    Hi all,
    I'm struggling to setup a FSDB to a windows share (actually a Distributed File System) on a AIX based portal. I've gone through the steps of this blog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/284(but this blog is somewhat outdated) and verified the settings on help.sap.com but they are not very clear.
    Has anyone succesfully setup such a CM repository manager? When I set it up as a FileSystem Repository Manager it works immediatly.
    There are two things that confuse me the most:
    the network path -> is it required or not and if so where do you enter this information in the RM config? According to the blog you entere the full network path in the Windows Landscape System but in the [online help|http://help.sap.com/saphelp_nw70/helpdata/EN/62/468698a8e611d5993600508b6b8b11/frameset.htm] it sais that this field is not required for CM repository managers on UNIX???? if you don't use the network path how do you provide the network credentials of the shared drive to the portal?
    slashes -> when so you use forward slashes in the config and when the backward to the network shares?
    Points will be awarded of course!
    Marcel

    This doesn't quite work at all. I can understand for OSX to be serving the files the need too change /etc/smb.conf, however, my OSX machine doesn't serve any files, thus the smb service is offline. I have tried adding that tag to my fileserver using samba (its a linux nas box) and it still is slow as ****. I know it works with tiger because one of my sisters is using a macbook on tiger and is able to connect wirelesssly to it and download files as fast as my MBP downloads through ethernet (mine is leopard). My other sister has the exact same configuratino of macbook, however hers is leopard like mine and it moves crazy slow. I know this is the reason why apple pedaled back about network drive time machine because they realized the broke something so I'm giving them the beneffit of the dooubt. If 10.5.2 rolls around and I don't see improvement I think i'll just go back to tiger...

Maybe you are looking for

  • Activesync doesn't sync

    Just got two new Treo 800w phones. On WinXP Home, ActiveSync 4.5 is loaded to two profiles. I can't sync either phone in either of the profiles via USB connection. I was able to connect the phones (individually) and kick off synchronizing Mail, Calen

  • Installing NW04s preview version fails in step 29

    i get the error below: WARNING 2006-05-19 10:53:21 Execution of the command "C:\j2sdk1.4.2_09\bin\java.exe -Xmx256M -Djava.ext.dirs=C:\usr\sap\J2E\JC01\SDM/program/lib;C:/j2sdk1.4.2_09/jre/lib/ext -jar C:\usr\sap\J2E\JC01\SDM/program/bin/SDM.jar depl

  • Need to restore iphone5 but screen broke and find my iphone app active but no device registered

    My iphone5 screen recently stopped working (1 year and 3 wks after warranty expired!) and kinda froze so the screen sensor is disabled and is not swiping. Cant answers calls or access anything othe rthan commands via Siri and bluetooth incar/ headpho

  • No internet connectivity WIN XP Pro after Upgrading Fusion 3.0.1. (215242)

    Thanks for the help in advance I have Network Adapter settings at Bridged (autodetect). Have Connected and Disconnnected Network Adapter from icon tray, host OS, and Setting menu. No luck with ipconfig release/renew. Firefox is defaulting to -> File

  • OS X deployment.config and deployment.properties not working?

    I have a deployment.config file at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/deployment.config with the following contents: deployment.system.config.mandatory=false deployment.system.config=file\:/Library/Internet P