Your best friend for file transfer.

Fetch application logoFetch

Help viewing files gotten from fetch (12 posts)

  • Started 14 years ago by Natalie
  • Latest reply 14 years ago from Scott McGuire
  • Natalie Member

    I am trying to view the html code of my web pages. I used to "view" the page's file through Fetch and be able to see the code ... now i can't figure out how to do this ... help?

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Natalie,

    Does something else happen now when you choose "View?"

    Or have you upgraded to Fetch 5.5? If so, the View command has been replaced by the Quick Look command. By default Quick Look attempts to show you your webpage as it would look in a web browser instead of showing the code.

    However, if you hold down the Option key while clicking Quick Look (or choosing Quick Look from the menu), Quick Look will show you the raw HTML code instead.

    Please let me know if this answers your question or not.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Natalie Member

    Well it solves the first problem. But I still can't seem to select the text/code so that i can copy and paste it into a document to edit it. Is there a way to do that?

    thank you so much!

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Natalie,

    The new Quick Look command is a trade-off; while it supports viewing many more kinds of files than the old View command, it does not have all the features of the old View command. Unfortunately one feature it does not have is that you cannot cut and paste from it.

    However, based on what you said, I think there is a better solution for you anyway. I think you should try the Fetch Edit command instead of Quick Look (or View). The Edit command will automatically open a file in a text editor, and then you can edit the file directly and when you choose Save in the text editor, Fetch will automatically upload the changes back to the server for you. Or, if you aren't looking to edit that particular file - if instead you want to just copy and paste the text/code to use in a new document - you can do that too, and then just close the current document without saving.

    For more information, see the Edit command in Fetch Help (or click the link here).

    For step-by-step instructions, see the editing a file topic, and if you want to change the editor used for HTML files, see the changing the editor for a file help topic.

    And please let me know if that doesn't do what you want or if you have questions about the Edit command.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Edited 14 years ago #

  • Natalie Member

    Well when I have tried to open the file (using the edit command) in either TextEdit or TextWrangler I still can't see the code. I feel dumb but this used to work fine ...

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Natalie,

    TextEdit will never show you your HTML code; it tries to interpret the HTML code instead of showing it to you. It should never by used for editing HTML, in our opinion (for more information see http://fetchsoftworks.com/fetch/faq#cant-choose-text-edit ).

    However, I'm surprised to hear that TextWrangler didn't show you the HTML code; it has no ability to interpret the HTML so it should only be able to show the code. We recommend TextWrangler for use with the Edit command and editing HTML all the time. What did you see instead in TextWrangler?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Natalie Member

    I see only one line of code. I have never used Textwrangler before. I had always copied and pasted from Fetch/View into Text Edit and worked there. when that didn't work, I read your suggestions and downloaded TextWrangler.

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Natalie,

    Ah, yes, copying and pasting code into TextEdit would be fine; it's just when you try to open a file whose name ends in ".html" that you run into problems with TextEdit.

    While I think the Edit command is ultimately the best way to go, and I'm willing to help figure out why TextWrangler is only showing you one line, I can understand that you might just like to get back to work.

    So if you'd prefer, there is a way to tell Fetch 5.5 to use the View command instead of the Quick Look command, so that it works just like it did before, and I can tell you how do that.

    Let me know how you'd like to proceed.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Natalie Member

    Well the shortcut option would be great for now, but I would love to figure out the real solution also ... can we do both?

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Natalie,

    Yes, we can do both. To begin with, to replace Quick Look with View:

    * Quit Fetch if it is open.
    * Open the Applications folder.
    * Open the Utilities folder.
    * Open the Terminal application.
    * At the prompt, type:

    defaults write com.fetchsoftworks.Fetch DisableQuickLook -bool true

    (You may want to copy and paste that line to avoid typos.)

    * Open Fetch and verify that View works as it did before.

    Let me know how that goes and then we can work on the Edit command.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 years ago #

  • Natalie Member

    Scott,

    Now View works like before (thank you!!) ... so on to the edit command?

    Natalie

    Posted 14 years ago #

  • Scott McGuire Administrator

    Hi Natalie,

    I'm glad View is now working as before.

    Regarding the Edit command, I have a couple of questions.

    * When you click the Edit button and open an HTML file in TextWrangler, and it only shows you one line, it is really just the first line of your file, or is it that all the lines of your file are appearing as one single line? (Use the horizontal scroll bar at the bottom of the TextWrangler window to see more of the first line.)

    * What happens if you download one of these "problem" files (using the Get button), and then open it in TextWrangler (using TextWrangler's File > Open command)? Do you see the same problem?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 14 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.