SPONSORS:






User Tag List

Results 1 to 8 of 8
  1. #1
    Junior Member
    Join Date
    Nov 2000
    Location
    San Jose, CA USA
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    FileOpen on the remote machine

    I'm trying to use FileOpen function on the remote machine, but it throws an erorr :
    "Unable to open C:\SilkSupport\the_file.txt"
    For sure directory is in place. Why do I get this error? How to fix it?

    Thanks in advance,
    Nick

  2. #2
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: FileOpen on the remote machine

    FileOpen opens a file on the host system. From what I understand this will not work on remote machines. There is a file in the downloads section called Remote File Manipulation which should do the trick. I had to tweak it a little but to get it to work, so if you need further assistance I can help. I hope this works.

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Location
    Hillsboro
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: FileOpen on the remote machine

    What did you have to do in order to get it to work? I've tried everything I can think of with no success.

  4. #4
    Junior Member
    Join Date
    Dec 2000
    Location
    Hillsboro
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: FileOpen on the remote machine

    I found a solution that works. The command is "SYS_GetFileContents". This works on all operating systems. Let me know if anyone finds any limitations to this function.

  5. #5
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: FileOpen on the remote machine

    This version works for me. I am using two NT machines. I will try other machines and get back to you.

  6. #6
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: FileOpen on the remote machine

    Using an NT machine as the HOST machine and 2000 and NT as the target machines it worked fine for me. Windows 95, 98, and Millenium did not work. That sucks.

  7. #7
    Junior Member
    Join Date
    Dec 2000
    Location
    Hillsboro
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: FileOpen on the remote machine

    Any other ideas on how to achieve this on a win95/win98/winME! machine? In my case, I can't resort to copying files over the network. The only other solution I see is to open the file in notepad and grab it out of notepad. I'd rather not do it that way either. Other ideas would be appreciated. Thanks!

  8. #8
    Junior Member
    Join Date
    Dec 1999
    Location
    Allendale, NJ, US
    Posts
    26
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: FileOpen on the remote machine

    Make sure the controller script is connected to the remote machines agent when you do the FileOpen.
    It will only look at the currently set location. If you have connected the agent to a different machine (using SetMachine for example)it will look for the directory and file there.

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:57 AM.

Copyright BetaSoft Inc.