Publishing error - 'Uploading csh.js' - No such file (code=2

This forum is for all Flare issues not related to any of the other categories.
Post Reply
ksankuru
Jr. Propeller Head
Posts: 1
Joined: Wed May 20, 2015 8:56 am

Publishing error - 'Uploading csh.js' - No such file (code=2

Post by ksankuru »

Hello,
I'm getting an error when trying to publish HTML5 content onto my web server.

The error message:
  • Connecting...
    Downloading log...
    Uploading changed files...
    Uploading csh.js
    No such file (code=2)
I have verified 'csh.js' file exists in the Output HTML5 folder generated. Appreciate the help.
Mackster
Jr. Propeller Head
Posts: 2
Joined: Wed Sep 14, 2022 12:22 pm

Re: Publishing error - 'Uploading csh.js' - No such file (co

Post by Mackster »

We are getting this exact same error. Can anyone help?
Nita Beck
Senior Propellus Maximus
Posts: 3669
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Publishing error - 'Uploading csh.js' - No such file (co

Post by Nita Beck »

Given that the original post is 7 years old and no one has had any suggestions all this time, I suggest you contact MadCap Tech Support for assistance. Sorry that I myself can't help with this.
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
atomdocs
Sr. Propeller Head
Posts: 308
Joined: Tue Jun 18, 2013 3:00 am
Location: Eastern Seaboard, Thailand
Contact:

Re: Publishing error - 'Uploading csh.js' - No such file (co

Post by atomdocs »

I also had this problem.

I don't think it is related to csh.js. If you get this error, it means Flare can connect to your server, but it can't find the destination (directory) that you want to upload to and csh.js is just the first file that Flare tries to upload before it hits the error (my error was the same).

The issue is most likely that the Destination > Directory field in the Destination file in Flare is not configured correctly.

In my case, I was trying to upload to "public_html/<subfolder>". However, my connection details (combination of FTP server and username) were already connecting to inside the public_html folder, so Flare was looking for a subfolder called public_html... and that doesn't exist, so Flare can't continue the publish action. When I reset the Directory field to just the subfolder name that I wanted to use (and had already set up on my server using my hosting UI) - everything worked fine, published ok.

So, if you get this error, try reconfiguring your Directory field in the Destination file in Flare.
Tom
Flare 2022, Capture 7
Image
Post Reply