This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: can't send files via ftp on my MacOS X 10.3.9
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: liquid333, ronaldoussoren, terry.reedy
Priority: normal Keywords:

Created on 2006-02-23 18:48 by liquid333, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
erase.py liquid333, 2006-02-23 18:48 Small, simple script that doesn't work
Messages (3)
msg27604 - (view) Author: Li Quid (liquid333) Date: 2006-02-23 18:48
When trying to do a simple ftp upload using Python
2.3's ftplib, it fails and I get a socket error.  The
exact error is (61, 'Connection refused').  This
happens to me in all my scripts that use the ftplib on
MacOS 10.3.9, but not in scripts on my Windows box. 
I've attached the small, simple source code.
msg27605 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2006-03-06 02:26
Logged In: YES 
user_id=593130

This could be a problem in your specific machine and its 
setup, the specific OS version, the specific target (maybe 
nyx doesn't like MACs), or the specific Python version.

I would start by installing 2.4.2 and see if there have 
maybe been helpful changes to its socket code.  And try to 
find another Mac box.  And then ask on python-
list/comp.lang.python for other experiences with Max, OSX, 
sockets, and maybe ftp.  Since the error message comes 
from the OS blaming nyx, I think more likely than not that 
this is not a Python bug.
msg27606 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2006-04-02 19:28
Logged In: YES 
user_id=580910

I use ftplib on OSX and don't see problems (both python 2.3 and 2.4 on OSX 
10.3 and 10.4). I agree with tjreedy that this is most likely a problem with the 
environment of the user.
History
Date User Action Args
2022-04-11 14:56:15adminsetgithub: 42941
2006-02-23 18:48:01liquid333create