Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > ftping into my computer from pc scrambled files?

ftping into my computer from pc scrambled files?
Thread Tools
Junior Member
Join Date: Apr 2002
Status: Offline
Reply With Quote
Dec 19, 2003, 11:06 AM
 
When I ftp into my panther from my pc laptop using the command prompt all seems to go well untill I try and open the files. Very small files seem to be ok, but larger ones are totally scrambled. pdfs don't open, and jpgs are totally messed up with the only similarity with the original files being the colours.

Anyone know what's going on?
(Last edited by monkpea; Dec 19, 2003 at 11:50 AM )
     
Mac Elite
Join Date: Nov 2001
Location: Trafalmadore
Status: Offline
Reply With Quote
Dec 19, 2003, 12:41 PM
 
Have you tried just using Windows file sharing and connecting from your PC?
I routinely access files from my XP box from my Mac and vice-versa without any problems. Many of the files are large PDFs, .doc and .xls files.
     
Senior User
Join Date: Apr 2001
Status: Offline
Reply With Quote
Dec 19, 2003, 12:49 PM
 
Are you changing the transfer mode to binary before transferring the files?

Wade
     
Junior Member
Join Date: Apr 2002
Status: Offline
Reply With Quote
Dec 19, 2003, 03:37 PM
 
I am away from my mac at the moment, so can't turn the windows file sharing on. Perhaps it's possible through ssh but I've found that using "ftp voyager" works flawlessly, so problem solved!

I have no idea how to change the settings in the dos ftp prog, but your probably right about binary mode...

Thanks for your help.
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Dec 19, 2003, 04:21 PM
 
Originally posted by monkpea:
I am away from my mac at the moment, so can't turn the windows file sharing on. Perhaps it's possible through ssh but I've found that using "ftp voyager" works flawlessly, so problem solved!

I have no idea how to change the settings in the dos ftp prog, but your probably right about binary mode...

Thanks for your help.
No settings need be changed. The bin command switches the mode to binary:

Code:
[smith@shrapnel ~]$ ftp 10.1.100.201 Connected to 10.1.100.201. 220 WebAuthorize Microsoft FTP Service (Version 5.0). 500 'AUTH GSSAPI': command not understood 500 'AUTH KERBEROS_V4': command not understood KERBEROS_V4 rejected as an authentication type Name (10.1.100.201:smith): nnnnnnn 331 Password required for nnnnnn. Password: 230 User nnnnnn logged in. Remote system type is Windows_NT. ftp> ls 227 Entering Passive Mode (10,1,100,201,16,80). 125 Data connection already open; Transfer starting. -rwxrwxrwx 1 owner group 2067758 Dec 18 9:32 host.ear 226 Transfer complete. ftp> get host.ear local: host.ear remote: host.ear 227 Entering Passive Mode (10,1,100,201,16,83). 125 Data connection already open; Transfer starting. WARNING! 7835 bare linefeeds received in ASCII mode File may not have transferred correctly. 226 Transfer complete. 2067758 bytes received in 0.81 seconds (2.5e+03 Kbytes/s) ftp> bin 200 Type set to I. ftp> get host.ear local: host.ear remote: host.ear 227 Entering Passive Mode (10,1,100,201,16,86). 125 Data connection already open; Transfer starting. 226 Transfer complete. 2067758 bytes received in 0.18 seconds (1.1e+04 Kbytes/s) ftp> bye 221
     
   
Thread Tools
 
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:34 AM.
All contents of these forums © 1995-2008 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.7.2 © 2000-2008, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.2.0 RC8