Menu

#3 Slashes/backslashes issus in pots/pre commands

None
closed
None
5
2015-01-13
2014-07-17
No

Hi,

In my ini file I have the following command

target_post_command = xcopy /Y "$TargetFileName" ...

When the job is executed the /Y is transformed in \Y which results in an invalid command.

main DEBUG 10:40:48,802 DEBUG (cmdShell.java:141) ::executeCommand_ SOSVfs_D_0
151: Execute commands: ' C:\Windows\system32\cmd.exe /C xcopy \Y "\host\folder\file.pdf" "\host\folder2"
'

Regards,

Romain Joachim

Discussion

  • Oliver Haufe

    Oliver Haufe - 2014-07-23

    Hi Romain,

    OK. This is buggy. I've created the ticket http://www.sos-berlin.com/jira/browse/SOSFTP-204.
    The ticket contains a workaround.

    With regards
    Oliver

     
  • Oliver Haufe

    Oliver Haufe - 2014-07-23
    • status: open --> pending
    • assigned_to: Oliver Haufe
    • Group: -->
     
  • Oliver Haufe

    Oliver Haufe - 2014-07-23

    above link to th eticket doesn't work because the dot at the end. Herr once more
    http://www.sos-berlin.com/jira/browse/SOSFTP-204

     
  • Oliver Haufe

    Oliver Haufe - 2015-01-13
    • status: pending --> closed
     
  • Oliver Haufe

    Oliver Haufe - 2015-01-13

    This issue is fixed since release 1.7.4321

     

Log in to post a comment.

MongoDB Logo MongoDB