LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 05: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, 07:28 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,578

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

Rep: Reputation: 30
Make sure you use "binary" mode BOTH ways, not just to upload.
 
Old 03-28-2002, 11: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, 03: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


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

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

All times are GMT -5. The time now is 10:05 AM.

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