Forum Stats

  • 3,825,923 Users
  • 2,260,580 Discussions
  • 7,896,735 Comments

Discussions

Can HDLdi access files in Unix Box

3253922
3253922 Member Posts: 3
edited Sep 6, 2016 11:18PM in HCM Cloud Service

We want to access zip files from UNIX Box server (These files will be loaded to UCM Server for loading information into Fusion) using HDLDi. 

HDLDi Tool is installed on Windows. Can it access Unix File Server and fetch files. If yes, can you please what is procedure to achieve this. Any response

3253922

Answers

  • HolgerH
    HolgerH Member Posts: 125 Bronze Badge
    edited Aug 15, 2016 12:45PM

    You could ask your Server Administrator whether he/she could setup a Samba share for you. With Samba https://en.wikipedia.org/wiki/Samba_(software)  you could see & use the Unix folder from your Windows machine as if it was a Windows directory.

    Another way would be to use an S-FTP transfer. The Admin of the Unix box would have to establish a FTP server (process) and directory on that machine. On your side Windows Explorer can act as a FTP-client, or you can download tools like Filezilla or WinSCP.

    Please be aware of the fact, that Fusion needs Windows-style data files. Unix and Windows differ in the way the represent a line break in a text file (Line Feed versus Carriage Return plus Line Feed). So you may want to add a convert skript like https://en.wikipedia.org/wiki/Unix2dos to transform the files, or do it manually with a descent File Editor like Notepad++, etc.

    Hope it helps.

    Regards

    Holger

  • 3253922
    3253922 Member Posts: 3
    edited Aug 24, 2016 2:25AM

    Thanks for your suggestions. This is helpful.

    As per the HDLdi document, i am trying to move files from Windows directory to UCM server and i am using the upload command.

    upload ucm -prop <file path to read setup file of UCM Server Configuration> -f <complete path for Zip File> -i -ime 100 -lme 100 -lct 1 -lgs 200 -et NONE –dsf Y -output result.xml

    But it seems this command is not supported in Windows command line. It throws an error -  'upload' is not recognized as an internal or external command, operable program or batch file.

    Have you faced this issue?

  • HolgerH
    HolgerH Member Posts: 125 Bronze Badge
    edited Aug 24, 2016 11:31AM

    Hello,

    The example given in the HDLdi document was designed for a Windows command line as you can tell by the backslash in the directory path (and the drive letter D:\ ). Linux/Unix would use a slash instead.

    So your system may not know where to find that command "upload" as it is not provided by your operational system MS-Windows, but by your HDlDI software download as an executable  file.

    1) So first of all identify the folder (directory) in which that command is defined (the folder, where the file  "upload.bat"  exists, i.e. where you installed the HDLdi software into),

    2) then

    a) either use the cd (change directory) command to navigate into that folder, then run the command

    b) Alternatively, you may want to add that folder to your environmental variable "PATH", so that Windows always (no matter in which folde ryou call the command) would know, where to search for the command

    Regards

    Holger

    3253922
  • 3253922
    3253922 Member Posts: 3
    edited Sep 6, 2016 11:18PM

    This is really helpful.

This discussion has been closed.