Trouble reading Javascript (.js) files
Posted: Wed Mar 19, 2008 6:23 am
I’m getting some inconstancies when doing an examination of my local directories to the one on my FTP when it comes to .js files for javascript. I have also seen this with other ascii type files.
What I see is the local directory reporting the files as “Added” but the FTP side shows nothing.
My set up is like this:
Directory one: ftp://ftp:########@test.foo.org/aDirectory;type=a
Directory two C:\www\foo\aDirectory:
I have directories that are full of .js files that ExamDiffPro (EDPro) does not seem to compare right.
In one instance I pointed to the directory that was reporting to be empty on the FTP site, but full in the local directory.
I noticed that when I added a “/” to the path it gave me a bad result
Testing with the forward slash removed it read properly and saw the directories as identical.
I have seen this mainly with Javascript files, but have seen it happen to an HTML file too.
Notice that is is pointing to the directory rather than starting at the root of the site and walking in. Only if I look at the directory specifically I might see it correctly.
I double checked to make sure I uploaded the files in ASCII. Even uploaded one directory as ASCII only, but still the same result.
Any clues?
Thanks,
Cy
What I see is the local directory reporting the files as “Added” but the FTP side shows nothing.
My set up is like this:
Directory one: ftp://ftp:########@test.foo.org/aDirectory;type=a
Directory two C:\www\foo\aDirectory:
Code: Select all
Setup ignore is:
Include: *.php, *.html, *.htm, *.js, *.css, *.htc
Exclude: *.gif, *.jpg, *.png, *.zdat, *.pdf, *.swf, *.txt, *.xml, *.jar, *.xls, *.cgi, *.jsp, README, *.cfm, *.pl, *.asp, *.lasso, *.csv, *.sql, *.py, *.afp, *.code
Character Set: ASCII
Type of Comparison: Full file comparison
In one instance I pointed to the directory that was reporting to be empty on the FTP site, but full in the local directory.
I noticed that when I added a “/” to the path it gave me a bad result
Code: Select all
ftp://ftp:#####@test.foo.org/aDirectory/fckeditor/_samples/_plugins/findreplace/;type=a
C:\www\foo\aDirectory\fckeditor\_samples\_plugins\findreplace\
Code: Select all
ftp://ftp:#####@test.foo.org/aDirectory/fckeditor/_samples/_plugins/findreplace;type=a
C:\www\foo\aDirectory\fckeditor\_samples\_plugins\findreplace
Notice that is is pointing to the directory rather than starting at the root of the site and walking in. Only if I look at the directory specifically I might see it correctly.
I double checked to make sure I uploaded the files in ASCII. Even uploaded one directory as ASCII only, but still the same result.
Any clues?
Thanks,
Cy