Your best friend for file transfer.

Fetch application logoFetch

ASCII text files (10 posts)

  • Started 9 years ago by MikeRic
  • Latest reply 9 years ago from MikeRic
  • MikeRic Member

    Good evening,

    I've tried uploading ASCII text files onto my site so that the .swf file of the game can read them but once on the site it doesn't.
    The .swf file manages to read the ascii text file on my Hard Disk but once uploaded it doesn't.

    I have an htm .swf txt file in eacxh uploaded folder
    Any help most welcome
    Many thanks

    Michael

    Posted 9 years ago #

  • Jim Matthews Administrator

    I'm just guessing, but one thing I would check is the name that the .swf file uses to refer to the text files. The case of letters does not matter for referring to files on the Mac (so "foo.txt", "Foo.txt", and "FOO.TXT" will all work for a file named "Foo.txt"), but it does on many servers. So I would verify that the name being used by the .swf file is exactly the same as the name of the file you are uploading, including the case of each letter.

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • MikeRic Member

    Many thanks Jim.

    The problem is that when on my hard disk the .swf file reads my ascii.txt correctly (a hangman programme) but when I upoload the two files the .swf doesn't read my textfile anymore.

    Best,

    Michael

    Posted 9 years ago #

  • Jim Matthews Administrator

    Is it possible that the .swf file refers to "ascii.txt" with a name that is not all lowercase letters?

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • MikeRic Member

    The contents of the ascii text file has to be all in upper case (for the game). The name of the file is in lower case. In fact is *words.txt* So I have three files per folder

    hangman.htm
    hangman.swf
    words.txt

    The company which sold me the game altered the.swf so that it would accept ascii from Win and Mac ascii (as I have a Mac).

    Best

    MR

    Posted 9 years ago #

  • Jim Matthews Administrator

    You might try renaming words.txt to WORDS.TXT to see if that makes a difference (in case the .swf file expects the file name to be all uppercase).

    If you email the files to bugs at fetchsoftworks dot com I can take a closer look.

    Thanks,

    Posted 9 years ago #

  • MikeRic Member

    Many thanks for your invaluable help.
    I'll work on you suggestion tomorrow and will keep you posted.

    Michael

    Posted 9 years ago #

  • MikeRic Member

    Things seem to be working. I uploaded my new files and they one can play the hangman game when clicking WebView in Fetch.

    As you mentioned capital letters I noticed that my words in the list were in lower case!!!! So I changed everything.
    Best

    Michael

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi Michael,

    We're glad to hear you got things working. Thanks for the follow-up.

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 9 years ago #

  • MikeRic Member

    Well thank YOU! (not shouting)
    Best

    Michael

    Posted 9 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.