LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-28-2002, 04:28 AM   #1
saravanan1979
Member
 
Registered: Jan 2002
Posts: 163

Rep: Reputation: 30
Thumbs up File upload problem


Hi
This is reg tha file upload problem .The problem i am facing is whenever i upload a word document innto my server(Redhat linux 6.2) via FTP or server side scripts, the non aphabetical characters get converted into their ASCII equivalent.(Page break gets conv into ---Page Break--- and so on).The document is not getting corrupted it is getting formated.But if i Zip this word doc it works fine.All other uploads(.txt,.gif,.jpeg work fine).Is there any setting problems????
 
Old 03-28-2002, 06:28 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I'd turn binary mode on. It should help.
 
Old 03-28-2002, 06:17 PM   #3
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
Make sure you use "binary" mode BOTH ways, not just to upload.
 
Old 03-28-2002, 10:43 PM   #4
donuteric
LQ Newbie
 
Registered: Mar 2002
Posts: 8

Rep: Reputation: 0
Yeah, do not use ASCII for the uploading. Instead of it, type "bin" in the ftp console, and everything should work fine. Thanks
 
Old 03-29-2002, 02:59 AM   #5
saravanan1979
Member
 
Registered: Jan 2002
Posts: 163

Original Poster
Rep: Reputation: 30
Re

Hi
Thanks everyone for ur advise but the saga continues.
The ftp type works fine if i set the upload type as binary.But i am facing problem in HTTP type of upload.For HTTP upload i am using a PHP script with Apache webserver.Can anyone tell me if have to make these settings in the Apache webserver or PHP.ini
 
  


Reply



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
Can't upload 5mb file. Need help. newlinuxnewbie Linux - General 2 11-05-2005 06:39 PM
Quota Problem,qbout Upload/del File, i need help,thank singying304 Linux - Software 14 07-06-2005 11:27 AM
Linux Server File Upload Problem? defa0009 Linux - General 4 05-05-2004 03:03 PM
File Upload through SSH kanagaraj Linux - Software 5 09-26-2003 01:59 PM
How do I upload a file and edit one? KyleLC23 Linux - Newbie 5 07-18-2003 10:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:28 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
Open Source Consulting | Domain Registration