webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  FTP get and remote filepath

    Posted Tue April 22, 2003 07:46 PM

    Hello,
    I am trying to do write a service that will get file from a path under the integration server (specifically from the directory IntegrationServer/FlatFiles/). I have tried several ways of specifying the remotefile path, I always get the No such file or Directory error. I am wondering if webMethods is using any virtual path. If so where is its root? and how do I specify the path to my directory in the remote file parameter?
    thanks,
    SK


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: FTP get and remote filepath

    Posted Tue April 22, 2003 07:53 PM

    Should Specify whole path location of c:/webMethods/server4/yourdirectory/filename

    Are you doing this?

    HTH.


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 3.  RE: FTP get and remote filepath

    Posted Tue April 22, 2003 07:55 PM

    Yes, I did that - the path actually is d:\webMethods\IntegrationServer\FlatFiles\flatfile.txt on the server

    -SK


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: FTP get and remote filepath

    Posted Tue April 22, 2003 08:11 PM

    Keep in mind that the dir path is “seen” from the perspective of the machine where webMethods is installed so…

    You can use the relative path such as “FlatFiles\flatfile.txt” (ie. relative to the root install directory) OR

    You use the drive letter as seen by webMethods on the box where it resides. For example, if you mapped a network drive as d:\webMethods on your computer it may not actually be mapped to d:\ on the actual server. You may be having Windows network visibility type issues.


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 5.  RE: FTP get and remote filepath

    Posted Tue April 22, 2003 09:32 PM

    You might use an FTP client (e.g. FTPExplorer or CuteFTP) to connect to the IS box and see what the available paths are. There are two dirs in the root: admin and ns. I don’t believe there is any way to add to this list.

    The admin dir is the install root. The ns dir is a (virtual) collection of the ns dir found under all the packages.

    Absolute paths containing drive letters or directories outside of the IS tree will not work.


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 6.  RE: FTP get and remote filepath

    Posted Tue April 22, 2003 09:45 PM

    When I use WS_FTP, I do see the two directories as you said “admin” and “ns” and I figured admin refers to the root directory (IntegrationServer). Thats why I wanted to test it by creating a directory under it (IntegrationServer/FlatFiles) and having my file in this directory.
    I used the value “\FlatFiles\flatfile.txt” as the remotefile parameter … Still says No such File or Directory.

    I checked the NT folder permission… The directory is available to everybody.

    Thanks,
    SK


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 7.  RE: FTP get and remote filepath

    Posted Tue April 22, 2003 10:01 PM

    Thanks Folks! Its working now… I had to add
    “/admin” to the dirpath.

    Thanks again!!
    SK
    ***********************End of Topic ***************


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: FTP get and remote filepath

    Posted Wed September 27, 2006 10:41 PM

    HI Nsk and reamon,

    I also have been trying for the solution for this problem since many days that i had , finally i am resolved from your discussion thread…I greatly appreciate it…

    Thank You
    Suresh


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods