Jump to content
scottypet

Html Change After Ftp Upload

Recommended Posts

I wrote a simple HTML web page on my home computer. It appeared fine as both a .txt and .html. But when I transferred (FTP via FileZilla or Core) it to the webhost (GoDaddy) the text was changed and the webpage contained symbols and Chinese characters. http://www.scottyproductions.org/Blog.html. Main site: www.Scottyproductions.org. I finally was able to upload the web pages directly throught the GoDaddey FTP so they are now working/displaying the text properly. I can't figure out why my script changes when it is uploaded to the webhost by FiliZilla or CORE FTP but not by GoDaddy. When you open the "View" Source" from the website, there are many characters which were not in the original script. GoDaddy says that their server is working properly. I have re-downloaded the current FileZilla program; and this also happens when I use Core FTP. I have deleted the file on the server and overwritten and re-transferred the one from my computer (with normal script) but this has not helped. When the HTML page or TXT file appear on the server they contain unusual character. Any idea why or how it can be corrected. It has now been uploaded and works fine so the web pages are OK.

Share this post


Link to post
Share on other sites

Maybe your file isn't correctly encoded.It is possible, that your main editor displays it without any problems, but if you open the file for example in Notepad, you'll see the encodings. Try to view the file in simple texteditor.

Share this post


Link to post
Share on other sites

I can't be sure, but it might be the upload method. If your FTP client allows it, tell it to upload in binary instead of automatic or ASCII. If that's not the problem, maybe it's the file encoding.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...