FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 13th, 2003, 10:55 AM
JMM JMM is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2001
Location: USA
Posts: 830 JMM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 17 m 56 sec
Reputation Power: 8
Proper FTP transfer mode

I've always treated my mysql backups (created by mysqldump) as text files, and transferred them by FTP in ASCII mode. But recently it ocurred to me that the database can contain binary data, so they should really be treated as binary data and transferred by FTP in binary mode, right? The binary data could be corrupted by transferring in ASCII mode, correct?

I did a search on Google to see what I could find out about this, and mostly what I saw were hosting companies' FAQs instructing their users to transfer mysql backups in ASCII mode.

If there is any issue of getting the proper line terminators for a given OS, it would be better to still transfer the file in binary mode and then use a conversion utility (even an editor like Textpad), wouldn't it?

In reality what I am probably going to do in general is gzip the backup before transferring by FTP in which case it will be transferred in binary mode anyway.

Reply With Quote
  #2  
Old March 13th, 2003, 07:51 PM
wannabe wannabe is offline
=) wannabe?
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 2002
Location: florida
Posts: 2,153 wannabe User rank is Lance Corporal (50 - 100 Reputation Level)wannabe User rank is Lance Corporal (50 - 100 Reputation Level)wannabe User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 21 h 58 m 25 sec
Reputation Power: 9
Send a message via AIM to wannabe Send a message via Yahoo to wannabe
right. correct. it would.

did that help

lol since u were ignored anyway, now i can understand why.

Reply With Quote
  #3  
Old March 14th, 2003, 06:02 PM
JMM JMM is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2001
Location: USA
Posts: 830 JMM User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 17 m 56 sec
Reputation Power: 8
Well . . . no one can fault me for doing something that increased your understanding, since you're obviously in such desperate need of it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Proper FTP transfer mode


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT