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 > 10.2.6 and FTP problems

10.2.6 and FTP problems
Thread Tools
Mac Enthusiast
Join Date: Feb 1999
Status: Offline
Reply With Quote
Jun 6, 2003, 11:23 PM
 
I'm having huge problems uploading to my FTP sites recently. I tried Transmit 2.5.3 and rBrowser and both send corrupt files, specifically ZIP files. I know the problem is in the FTP transfer because the files work fine locally, and when I transfer them using my ISP's browser based upload, they work fine.

Do all the FTP programs in X use some command-line program that's built-in and broken in the 10.2.6 update so that's why neither program worked? Or, is this some more complicated interaction between OS X and FTP in general. Everything worked fine in 10.2.5. I've tried 3 different servers as well, including one from a different ISP and 9/10 files are corrupt when I upload them.
     
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Reply With Quote
Jun 7, 2003, 06:47 AM
 
No problems here. I use my cube as an FTP server for clients, and Captain FTP for accessing outside FTP servers. Both are working fine. GoLive's site-based FTP server works, too.

CV

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Senior User
Join Date: Sep 2000
Location: Noo Yawk
Status: Offline
Reply With Quote
Jun 7, 2003, 10:32 AM
 
Try using FTP from the Terminal -- if that does not corrupt your files then you will be able to start narrowing down the problem:


------------------
Here's a quick redux of the process for anyone who needs it. (I know I've had to refresh my memory of this a few times already when dreamweaver has had a bad hair day. (and because I'd rather not fork out another 25 bucks for Fetch.

in the terminal type:

ftp <enter>

you will then receive a prompt eg:

ftp>

so then type:

www.yourdomain.com

and you'll receive a new message:

Connected to yourdomain.com.
220 FTP server (Version wu-2.4.2-academ[BETA-13](8) Fri Nov 14 12:46:03 PST 1997) ready.
Name (www.yourdomain.com:username):

at this point type your user ID and hit enter,

you will then be prompted for your password, type it, and hit enter. And if all goes well the next prompt will be

230 User userID logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>

Then navigate to your www directory and use the 'put' command to transfer a file

eg

put ~/sites/mywebsite/testing.html /testing.html

-------------------------------
put local-file [remote-file]
Store a local file on the remote machine. If remote-file is left unspecified, the local file name is used after processing according to any ntrans or nmap settings in naming the remote file. File transfer uses the current settings for type, format, mode, and structure.
     
Mac Enthusiast
Join Date: Dec 2002
Location: Newport Beach, CA
Status: Offline
Reply With Quote
Jun 7, 2003, 11:17 AM
 
If you are upload/downloading binary files, such as a jpg or .sit file, before you start the transfer don't forget to type:

ftp> bin

as a response, you will get:

Type set to I

This sets the transfer mode to binary.

For text files (html), use:

ftp> asc

as a response, you will get:

Type set to A

Fyi: bin is short for Binary, and asc is short for ascii. If you use the wrong transfer mode it will corrupt the file you are transfering.

Be a traveler, not a tourist
     
gunnar  (op)
Mac Enthusiast
Join Date: Feb 1999
Status: Offline
Reply With Quote
Jun 7, 2003, 11:29 AM
 
Thanks,

I logged in and navigated to the right directory but I can't get the right path in the terminal. I dropped the file in and it gave me this path:

/Users/gunnar/Desktop/test1.zip

when I retyped it with the put command it said

553 Could not determine cwdir: No such file or directory.

since the file is on the desktop I think the path is correct.

When I put the file on the root of the hard drive and upload as put /test1.zip it says permission denied.

What could be going wrong?
     
gunnar  (op)
Mac Enthusiast
Join Date: Feb 1999
Status: Offline
Reply With Quote
Jun 7, 2003, 12:12 PM
 
OK, I figured out the directory structure and uploaded and downloaded the test files. They're corrupt just like when I use Transmit and rBrowser.

Why would the built-in Mac OS X FTP be messed up on my computer? How can I replace it with a fresh version. As I said in the first post, the files work locally, and can be uploaded and downloaded without corruption using my ISP's browser based file transfer.
     
Dedicated MacNNer
Join Date: Feb 2000
Location: New Haven, CT
Status: Offline
Reply With Quote
Jun 9, 2003, 10:35 AM
 
have you checked the permissions of the files on the server?
     
Senior User
Join Date: Apr 2000
Location: Woodridge, IL
Status: Offline
Reply With Quote
Jun 10, 2003, 01:57 PM
 
You know, when every client you use gives the same result, that usually indicates that their FTP server is messed up in some way. Just because their browser-based stuff works doesn't mean they can set up a proper FTP server. Just out of curiosity, what does their FTP server identify itself as when ftp connects? Such as lukemftpd, wuftpd, pureftpd, etc?
     
gunnar  (op)
Mac Enthusiast
Join Date: Feb 1999
Status: Offline
Reply With Quote
Aug 11, 2003, 12:25 PM
 
I've tried 4 different servers so it's unlikely it's the server. Outgoing e-mails are also affected at times, although maybe only 1 out of 20 times, unlike 1 of 3 or something with the FTP.
     
   
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 11:28 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2