LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2003, 04:42 PM   #1
linuxfond
Member
 
Registered: Jan 2003
Location: Belgium
Distribution: Mandrake 9.2
Posts: 475

Rep: Reputation: 30
Java problem after upload with gFTP


Hello,

Today I encountered a misterious problem with java scripts embedded in html.

Here is what have caused the problem:

1. I edited a page with Quanta. All elements of the page are pre-designed templates, tuned and tested years ago. There is but little chance to mess them up.

2. I uploaded edited pages with gFTP.
3. I opened it in Mozilla, Galeon, Konqueror and IE to check if it works as expected, and.....

Every page on the site has a SSI java navigation bar.
After upload with gFTP navigation had corrupted, note, only in the files which have been uploaded.

I thought, the problem has to do with ascii or binary upload. I tried both but the result wasn't any different.

You can see corrupt java on these pages:
http://violadabraccio.com/historical_violin/nails.shtml
and
http://violadabraccio.com/historical_violin/

Note, I did not change anything within the script itself or position of the SSI includes. HTML is identical, but in one case ot works, in another it doesn't.
Only Mozilla and Galeon show the problem with java on the above pages; Konqueror on my box and IE Windzoo on another box work fine.

Java works fine elsewhere on the site:
http://violadabraccio.com/

Do you have any idea?
Rgds,
Dmitry
 
Old 03-05-2003, 09:22 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Quote:
Only Mozilla and Galeon show the problem with java on the above pages; Konqueror on my box and IE Windzoo on another box work fine.
I'm not sure if I'm understanding you correctly but wouldn't you deduce that this is a browser problem if it works in IE and Konqueror?
 
Old 03-06-2003, 03:13 AM   #3
linuxfond
Member
 
Registered: Jan 2003
Location: Belgium
Distribution: Mandrake 9.2
Posts: 475

Original Poster
Rep: Reputation: 30
Well, I am not sure it is just a browser problem.

The reason I think so is in the fact that java works on every page throughout the site in all browsers.

Here are the browsers I tested:

Konqueror - fine, except some differences with CSS
Mozilla - fine, except the two pages mentioned above
Galeon - fine, except the two pages mentioned above
IE 6 -
Netscape 7 - .

I suspeced gFTP being the cause. Indeed, I uploaded nails.shtml simply to test. As a result java doesn't parse correctly. As far as I can see, there is a problem with gFTP, but I don't see what's the problem. ASCII or BINARY make no difference, although, I guess, *.shtml has to be uploaded as ASCII.
 
Old 03-06-2003, 05:05 AM   #4
linuxfond
Member
 
Registered: Jan 2003
Location: Belgium
Distribution: Mandrake 9.2
Posts: 475

Original Poster
Rep: Reputation: 30
News:

I re-uploaded the two problematic files with WS_FTP, and the problem of Java navbar was solved.

Now we can be sure, there something strange with gFTP. What that might be
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gFTP seems to corrupt file on upload arubin Linux - Software 2 04-10-2005 01:52 PM
Frustrating ssh/gftp problem stonecrest Linux - Software 3 01-22-2005 03:21 PM
Download with gFTP problem linx win Linux - Software 2 12-10-2004 02:31 PM
gFTP upload problem FreakFish Linux - Software 1 04-27-2004 10:10 PM
gFTP Problem amigatec Mandriva 2 08-28-2003 03:20 PM


All times are GMT -5. The time now is 02:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration