~sschwarzer/ftputil

ftputil/sandbox/test_ticket_71.py -rwxr-xr-x 411 bytes
77f2ca24Stefan Schwarzer Move item "Push to repository" a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /usr/bin/env python

import ftplib
import ftputil


ftp_host = ftputil.FTPHost("localhost", "ftptest",
                           "d605581757de5eb56d568a4419f4126e")
ftp_host._session.set_debuglevel(2)
#import pdb; pdb.set_trace()
ftp_host.listdir("/rootdir2")

print

ftp = ftplib.FTP("localhost", "ftptest", "d605581757de5eb56d568a4419f4126e")
ftp.set_debuglevel(2)
ftp.cwd("/")
ftp.cwd("/")
ftp.dir("-a")