none
Plink command output returns whitespace in between of Source and Destination path

    Question

  • I am trying to copy a file from one location to another using CVCP command and executing it using plink command tool. Plink command works fine using windows application but returns whitespaces in between of source and destination path when plink command output is returned from IIS. I am calling plink exe using .net process.

    Example:

    First whitespace after 42, second after 123 and third after US_72

    Command  ->   /usr/cvfs/bin/cvcp /folder20/AAA/folder1/BBB/Core/42  4768/c945017e-68f4-425e-a533-83d0a614a256.mov /folder20/AAA/folder1/directory123 456/Gladiator_2000_Th_US_72519/SPE_Gladiator_2000_2398_ProRes422_Master_HD_US_72  519.mov

    Please suggest the solution for the above problem.

    Thanks,

    Akhil Gupta

    Thursday, April 19, 2012 1:20 PM

All replies

  • I have noticed one more thing regarding the above problem. If I try to give 32 whitespaces before starting the cvcp command then it works fine. Does it mean that while returning the plink command output from server its trimming out the 32 characters?

    Please give your feedback.

    Thanks,

    Akhil Gupta

    Thursday, April 19, 2012 2:27 PM
  • You're asking in the wrong forum. Please find a more suitable forum or let me know which forum you want your question to be moved to.

    For every expert, there is an equal and opposite expert. - Becker's Law


    My blog

    Friday, April 20, 2012 2:07 PM
    Moderator