473,320 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

updating on ftplib from 2.1 to 2.3

Hi,
I have a script that is not running on a freeBSD 4.4 with Python 2.1
that uses ftplib. I'm wondering if it's possible to update only the
ftplib module from 2.1 to 2.3. I only ask because I have no idea how to
upgrade anything for freeBSD 4.4. I know there is are doc's available
but I sure don't want to screw anything up on the freeBSD 4.4 server
because I didn't understand what I was doing.
Thanks
John
Jul 18 '05 #1
1 1751
On 2004-07-01, John fabiani <jf******@yolo.com> wrote:
Hi,
I have a script that is not running on a freeBSD 4.4 with Python 2.1
that uses ftplib. I'm wondering if it's possible to update only the
ftplib module from 2.1 to 2.3. I only ask because I have no idea how to
upgrade anything for freeBSD 4.4. I know there is are doc's available
but I sure don't want to screw anything up on the freeBSD 4.4 server
because I didn't understand what I was doing.
Thanks
John

You can have multiple versions of python installed ...

# pkg_info | grep python
py23-gui-1.4 A cross-platform pythonic GUI API
python-2.1.3_5 An interpreted object-oriented programming language
python-2.2.3_4 An interpreted object-oriented programming language
python-2.3.4 An interpreted object-oriented programming language
python-doc-html-2.3.4 Documentation for the Python programming language
zodb-py23-3.2.2 The Z - Object Database for python

Did you try just downloading the python-2.3.4 package from
ftp.freebsd.org and installing it? I think that is your quickest
and easiest path.

One thing to be careful of is the link from /usr/local/bin/python
to one particular python instance. The package may overwrite the
link to python2.1 when it installs python2.3. If you want to put
it back to python2.1 you can ...

rm /usr/local/bin/python
ln /usr/local/bin/python2.1 /usr/local/bin/python

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: python | last post by:
Hi: I want to write a procedure to automatically upload some files for me, but I'm getting stuck. Before I write my own gruesome put() function, I wanted to check if there is an easier way. ...
0
by: Eric Williams | last post by:
Hello all, I'm working on a little application using PyQt. The main window is just a dialog with 2 progress bars and a few labels. In its original form, the dialog started, then ran a function...
5
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else. =) Basically, I'm trying to upload a series of...
0
by: Joshua Burvill | last post by:
Hello, I am trying to print something to a print server using the following function but I get errors, does anyone have any pointers? Rgds, Josh Traceback (most recent call last): File...
2
by: Matija Papec | last post by:
I would like to reimplement ftplib "nlst" using ftplib.dir (ftp server doesn't support nlst) so I'm trying to guess how to use ftp callbacks. Any help is appreciated. tia! ============...
2
by: siggy2 | last post by:
Hi, I'm using Python 2.3.4 (#53, May 25 2004, 21:17:02) on win32 I've noticed a strange (= not deterministic) behaviour of ftplib.py: sometimes (not always) it fails (after a variable number of...
2
by: Harlin Seritt | last post by:
Using ftplib from Python I am trying to get all files in a particular directory using ftplib and then send those same files to another ftp server. I have tried using commands like 'get *' and 'mget...
6
by: half.italian | last post by:
Hi all, I'm using ftplib to transfer large files to remote sites. The process seems to work perfectly with small files, but when the file gets to large ~20GB I begin getting errors that...
1
by: Jon Bowlas | last post by:
Hi All, I've written a little method to connect to an ftpserver which works well, however when I send a file using this ftp connection oddly I _sometimes_ get returned an EOFError from...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.