Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Unhappy wildcard in an ftp session

    Hej!

    I try the following in a script:
    load sftp://build@nightbuild-1.de/deployment/last-hm/server/lib/runtime/int/hm-csm-1.21.*-SNAPSHOT.jar sftp://build@nightbuild-1.de/deployment/hm/server/lib/runtime/int/hm-csm-1.21.*-SNAPSHOT.jar

    So, I want to compare the content of two .jar files in two different deployment folders (last-hm, hm) on the same machine. I want to access the server, the deployments do live on, from my local machine. As the minor version of the .jar files change from deployment to deployment, I need the wildcard (*) to do the comparison "automatically". The comparison works perfectly even with the wildcards, when I load the two .jar-files in different folders of my local machine.
    Everything nice and peachy with the comparison via ftp on the remote machine, when I use concrete file names and skip the wildcard.
    But as soon as I try the comparison remotely using wildcards, the .jar-files are not found...

    Do I make a mistake or is "no wildcard in ftp sessions" a limitation of BC?

    Would be great, if you could help.

    /Hans

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,530

    Default

    Hi Hans,

    There's actually a "No wildcards in *any* sessions" limitation in BC. What you're seeing for local paths is just a side effect of the way we handle the path parsing and not an explicit feature. I'll add supporting this explicitly to the feature request list. For now there's not a good workaround within BC.

    About the only manual workaround I can think of would be to use BC to load the two parent folders, then generate a folder-report, parse out the filenames from the report, and launch BC a second time with the correct names.
    ZoŽ P Scooter Software

  3. #3
    Join Date
    Jan 2011
    Posts
    2

    Default

    Hej Craig!

    Thx for your response.

    Is there a way to subscribe for a notification, when this feature is available?

    BR

    /Hans

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    12,006

    Default

    Hello,

    You can subscribe to our News and Announcements forum, where we announce all new versions, summarize new features, and post links to our changelog for each release.
    Aaron P Scooter Software

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •