Scripting Issue

@NeilMike If you want to learn more about how to use a free FTP app then this link should help you a lot: How to publish your RapidWeaver site using Cyberduck | RapidWeaver Forum

As @jacksona mentioned, I highly advise learning to do this.

2 Likes

Thanks, Mitchell. Iā€™ve been using FileZilla off and on for many years. I got away from it, when I was not having any problems publishing directly from RW. Sadly, Iā€™m now having way too many, but anyhow, I generally start with RW publishing, and if the site doesnā€™t work, I then go to FileZilla and check out ā€œwhatā€™s missingā€ and upload any missing parts that didnā€™t go with RW.

So, if you have enough experience to advise me that Cyberduck does some things better than FileZilla, Iā€™ll take a closer look. Iā€™ve actually had Cyberduck recommended in the past, and Iā€™ve studied it a couple of years ago, but I couldnā€™t see why it would be better than FZ. Thanks, again, for seeking to guide me through my rough patch.

nk

If youā€™re comfortable with FileZilla, you should stick with that. Theyā€™re all much of a muchness, and thereā€™s more than enough moving parts with site-building that adding any unnecessary complication will just end up causing confusion.

2 Likes

Iā€™m seeing a lot of core RW not found.

1 Like

Heya @NeilMike,

Is this the same host as with your previous problem? Because this looks awfully similar! Once again a folder is invisible to browsers (the last time it was the ā€œfilesā€ folder in root, this time 'round it seems to be the ā€œrw_commonā€ folder.

My advise: switch hosts. This shouldnā€™t happen unless one messes with folder permissions on the OS level on a server or deleting folder willy-nilly (but i donā€™t think you did that, to be clear).

Cheers,
Erwin

3 Likes

Interesting. Iā€™ll check it out. Thanks.

Yes, it is the same host. Changing hosts rather time consuming for me bc of multiple sites hosted. Long history is all good, until only a couple of months ago. I will pursue trying to convince them the problem is on their end, based on yours and ā€œwirrahā€™sā€ feedback. Thanks.

Blockquote

Blockquote

Thanks. Now ā€œmy serverā€ makes sense. Iā€™ll give it a go.

Sorry, I did something wrong in the reply to both of you who provided an explanation to posting .pdfs on ā€œmy server.ā€ The popup guidance said I could respond to more than one at a time in one post, if I applied the " marks to the words I was seeking to quote. I got something wrong I guess.

So, seeking to place my pdfs on ā€œmy server,ā€ I have successfully done that, albeit Iā€™m not certain I place them in the right location. See attached screenshot showing I have a new folder NKsPDFs located in my public_html folder. Is that an OK location?

Then I go back to RW to hotLINK from my website to my pdf on my server, and I donā€™t know how to make that connection. See attached? How do I establish the correct URL that ā€œfindsā€ my folder and files on my server? Or, do I have to wait until my F3 site is up and working then make the links? Sorry, but Iā€™m a bit lost at this point.

@NeilMike Iā€™m responding quickly as Iā€™m going out for a walk. So probably leaving out details. Many, though not all, FTP apps have an easy way for you to select an file and it will copy the URL for you. Thatā€™s the key. There are then many ways to create a download link to the PDF in F3.

ā€¦ however, thereā€™s another consideration. If you link to a PDF directly then for most browsers, most of the time, they will bring up that PDF so you can view in your browser. If thatā€™s what you want: great. If you want them to download the file then either the end user needs to know for themselves how to download a PDF embedded in a browser or you need to make it easier for them. And that ā€œeasierā€ is probably best done by creating a ZIP version of the PDF. Many, but not all, FTP apps will allow you to zip, or compress, files already on your server. In that manner clicking on the link with auto-download the zipped file to the personā€™s computer.

Finally, just use that files URL in many stacks including a button, a link stack, and linked list. Theyā€™ll all work. Or you can use markdown in the Paragraph stack:

[name of link](https://fullURL)

Finally, the folder you have it in seems fine. Your link would be of this format (if the PDF were named as I did below. Change as needed.) And, the extension would be .zip instead if you compressed first.

https://neilkosterman.com/NKsPDFs/my-life-in-asia.pdf

As I posted above. Iā€™d hope FileZilla allows this, but Iā€™m a Transmit user.

If not on right-click, then it should be on one of the menus.

Thanks, Mitchell. Iā€™ll give your guidance a try.

Hi @NeilMike,

If you place a folder in public_html, itā€™s accessible to the outside world like this:

yourwebsite.com/yourfolder

So in this case, itā€™s:

ā€˜https://www.neilkosterman.com/NKsPDFs/ā€™

Now, if you have an index.html or index.php in that folder, that file will automatically be loaded by your visitorā€™s browser. If not, the browser will display a 404 error.

If a visitor knows the file name of the PDF and adds that to the end of that URL, the PDF file will load in the browser instead of the 404 (or the index file if you have one).

So, the link youā€™d enter in RapidWeaver should be:

ā€˜https://www.neilkosterman.com/NKsPDFs/file-name-of-the-pdf.pdfā€™

Cheers,
Erwin

Hi Erwin. Your guidance a great help. thanks. Note the attachment. I have what I believe is an appropriate and correct change to your suggested URL: /public_html/neilko/neilkosterman.com/NKsPDFs

The difference is that I have all of my website inside of a folder called neilko, which is inside of public_html.

My site still not working. Iā€™m guessing that the issue may be that which was surfaced by wirrah above, but I donā€™t know how to fix that one. Iā€™ll put a rely directly to wirrah, as well, so one or both or someone else can advise what I can do to overcome that one.

Thanks to all, so far. Not quite there yet, but gaining on it.

Hi. What you present does not look good, but I have no idea how to ā€œfix it.ā€ Can you help? Thanks.

It looks like the link @Erwin-Leerentveld suggested is correct. Hereā€™s a full link to one of your PDFā€™s. It loads the PDF in my browser.

Linked to: https://www.neilkosterman.com/NKsPDFs/201906.pdf

Hi @NeilMike,

What youā€™re doing is fine for testing, but if youā€™re planning to leave the site where it is forever, then youā€™re creating a problem.

The problem is that youā€™re nesting a site under an existing public_html. That public_html is linked to a domain, thus by doing so youā€™re creating a path like this:

https://yourwebsite.com/neilko/neilkosterman.com/

The question now is: to what domain is the public_html in the screenshot linked? Is that neilkosterman.com? Then youā€™re creating a loop. The URL for your website would become:

https://www.neilkosterman.com/neilko/neilkosterman.com/

I assume thatā€™s not what youā€™re after, right?

Cheers,
Erwin

1 Like

As @Erwin-Leerentveld says, public_html is where your primary domain needs to reside, or youā€™re creating more issues for yourself.

Iā€™m gaining on a better understanding with each iteration, but Iā€™m not ā€œthereā€ yet. Rather than try to go back to explain why Iā€™ve done what Iā€™ve done, Iā€™ve included a screenshot of my /public_html file with the key elements identified for discussion with red circles.

So, Iā€™ll actually start at the bottom, as this seems to be a concern expressed in the two recent responses, and Iā€™ll ask one or the other of you to send me the proper path for what Iā€™m seeking to accomplish. Secondarily, if I have one or more folders that need to be in a different location on my server, is there a convenient way to move them while on the server? So, hereā€™s some explanationsā€¦

So, my primary domain is tbi-innovations.com, which is inside of public_html, where I think it belongs.

In this thread I was ā€œencouragedā€ to put all of my URLs inside of a personal folder within public_html, which Iā€™ve done in the form of my neilko folder.

Within it, then, you find my collection of sub-domains, including neilkosterman.com, which is my test site. Hopefully, someday, when this finally works, I intend moving it to deltachase.com, which is currently being managed by a vendor; I will want to move from them to this site, when Iā€™m ready, which will likely be another set of issues I will have to learn and overcome.

As a side note, those many other files such as the various photos, I think were extraneously created over the years as a result of my ignorance of how this server stuff works. Iā€™ve always thought they were intrinsic to my primary domain, but that was before my now better understanding that everything directly associated with a URL is inside of the Urlā€™s folder. In any event I donā€™t dare delete anything, bc I may damage a site through my ignorance that is actually working fine.

In summary here are my questionsā€¦

  1. Is my primary URL (TBI) in the right location? If not, where should it be (and how do I move it on the server),

  2. Is my personal folder, neilko, in the right location? Should TBI be inside of it, too?

  3. Is the structure of personal folder with my URLS (āˆ†chase, justinzdeb, longlifedowels, and nk.com appropriate? If not, what do I need to change/ move?

And, repeating again, if things need to be in different locations, can/ how do I move them while still on my server?

Thanks so much for everyoneā€™s assistance and patience with my learning curve.