Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-14-2009, 12:05 PM   #1
Senior Warrior Member
War Room Member
 
Join Date: Jul 2008
Location: , , USA.
Posts: 1,751
Thanks: 29
Thanked 1,965 Times in 229 Posts
Default Very odd...Server won't accept upload of file because it thinks it is 0 bytes????

Ok,
This one has me stumped...

I am trying to upload a text file to one of my servers...it is a file that I downloaded from the server...and made changes to.

The file is only 432 bytes...

Now, no matter what program I am using, the file won't upload because it is giving me a "file is 0 bytes" error???

However, I can open the file and read the contents just fine...and I am sure that it contains the data and 432 bytes...

But the server just won't accept it...

Any ideas?

Thanks in advance!

Jack Duncan is offline   Reply With Quote
Old 11-14-2009, 12:15 PM   #2
Active Warrior
War Room Member
 
Mike P Smith's Avatar
 
Join Date: Nov 2009
Location: Charlotte, NC, USA
Posts: 30
Thanks: 2
Thanked 4 Times in 3 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to Mike P Smith
Default Re: Very odd...Server won't accept upload of file because it thinks it is 0 bytes????

Very strange - my first thought is that the server may think it's trying to download a binary file when it's a text file, but even that should have transferred correctly (but the file on the server may end up corrupted).

But just to check - what is the extension on the text file? And what type of FTP program are you using (assuming you are FTPing it back to the site)?

--
Mike Smith
I rig my Sig with thread and twig. But still no advertising.
Mike P Smith is offline   Reply With Quote
Old 11-14-2009, 12:22 PM   #3
Senior Warrior Member
War Room Member
 
Join Date: Jul 2008
Location: , , USA.
Posts: 1,751
Thanks: 29
Thanked 1,965 Times in 229 Posts
Default Re: Very odd...Server won't accept upload of file because it thinks it is 0 bytes????

Mike,
Thanks for the feedback.

It's a .htaccess file.

I've tried Filezilla, Windows, even the Server's own File Manager upload tool....

No luck yet...

Thanks!

Jack Duncan is offline   Reply With Quote
Old 11-14-2009, 12:31 PM   #4
Active Warrior
War Room Member
 
Mike P Smith's Avatar
 
Join Date: Nov 2009
Location: Charlotte, NC, USA
Posts: 30
Thanks: 2
Thanked 4 Times in 3 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to Mike P Smith
Default Re: Very odd...Server won't accept upload of file because it thinks it is 0 bytes????

And you have no problems transferring any other files?

If so, then there's something global going on, and I would recheck anything you might have changed rights or access-wise on both the client and server computers in the last few days.

If not, then something is special about .htaccess.

A long shot: On the server - is it marked as Read-Only and the FTP program is just reporting the error incorrectly?

--
Mike Smith
I'll have something here to advertise soon, I promise!
Mike P Smith is offline   Reply With Quote
Old 11-14-2009, 12:44 PM   #5
Senior Warrior Member
War Room Member
 
Join Date: Jul 2008
Location: , , USA.
Posts: 1,751
Thanks: 29
Thanked 1,965 Times in 229 Posts
Default Re: Very odd...Server won't accept upload of file because it thinks it is 0 bytes????

It's definately and odd one...

I am going to try to move to another machine and see if that might reveal that it is this laptop causing the problem...

I read about this issue at the Filezilla forum and the poster seemed to think it had something to do with proxy servers...

But I don't think that could be the issue because I'm not behind one...at least I don't think I am...

Thanks...

Still hunting around...

Jack Duncan is offline   Reply With Quote
Old 11-14-2009, 01:07 PM   #6
Senior Warrior Member
War Room Member
 
Join Date: Jul 2008
Location: , , USA.
Posts: 1,751
Thanks: 29
Thanked 1,965 Times in 229 Posts
Default Re: Very odd...Server won't accept upload of file because it thinks it is 0 bytes????

Mike...

Thanks for your help...

I finally got it figured out.

Oddly enough, I had just tipped over the storage level (by .03%)...

Dumb as it sounds, the server was simply overwriting the file...but for some reason, just leaving the contents out because the server was over the limit...

Anyway...I deleted some videos and it is back and running again.

Thanks again!
Jack

Jack Duncan is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
accept, bytes, file, oddserver, thinks, upload

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 04:20 PM.