Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Dec 18, 2009 1:18 am 
Offline
Senior Newbie

Joined: Wed Nov 11, 2009 3:45 pm
Posts: 10
Hi:

For some unknown reason, I can no longer play swf files from any directory on my Linode VPS. All swf files just stopped playing. Flash player on my home PC is working fine. When I upload the same swf files onto to a 2nd website they download and play fine. This morning there wasn't a problem. I haven't touched the linode VPS since.

I am use the nginx webserver and haven't changed any setting (including mime type initiation files, etc.) I seriously doubt that this has any thing to do with the nginx ... maybe Linux? I stopped and restarted the server with no luck.

The folder/file permissions are all set to 777 and since all other file types work properly including html, m4p video files, and graphic file jpg ... it can't be an ownership issue. Only the swf files do not work.

Does anyone have any insight or suggestion what I should do next

I did update Filezilla on my PC which I use to upload files to the VPS ... it was after this upgraded that I started to have problems. Surely, my problem isn't related to Filezilla changing setting, etc.?

Thanks in advance, Jim


Top
   
PostPosted: Fri Dec 18, 2009 1:48 am 
Offline
Junior Member

Joined: Fri Jun 27, 2008 12:24 am
Posts: 31
JimD wrote:
I did update Filezilla on my PC which I use to upload files to the VPS ... it was after this upgraded that I started to have problems. Surely, my problem isn't related to Filezilla changing setting, etc.?


This sounds oddly like a binary vs. ASCII upload issue. Check your Filezilla settings.


Top
   
 Post subject: swf files
PostPosted: Fri Dec 18, 2009 8:48 am 
Offline
Senior Newbie

Joined: Wed Nov 11, 2009 3:45 pm
Posts: 10
SelfishMan

Good idea but I still have the problem when I switch "Transfer types" from auto to binary ... and swf is not in the list of files to be treated as ASCII.

It does however appear as if the swf file is corrupted when download from linode to the browser. Is there a way to set transfer types (binary download) on the linode side ( am using the nginx server)? I have already checked the mime type configuration file (swf is in the list of recognized filetypes).

Thanks Jim


Top
   
PostPosted: Fri Dec 18, 2009 9:21 am 
Offline
Senior Newbie

Joined: Wed Nov 11, 2009 3:45 pm
Posts: 10
After further testing ... indeed the file being downloaded from the VPS to the browser is corrupt (probably downloaded as ASCII as oppose to binary).

So what should I check to force binary delivery from nginx?

Cheers, Jim


Top
   
 Post subject:
PostPosted: Sat Dec 19, 2009 11:51 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
As far as I am aware, web servers do not convert line endings on files they serve. It seems more likely that any corruption is occurring when you upload the file.

Check the md5 of the file with md5sum foo.swf on your Linode and your local machine, and see if they match. Or failing that, compare the file sizes.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group