Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > FTPUTIL WITH TKFILEDIALOG

Reply
Thread Tools

FTPUTIL WITH TKFILEDIALOG

 
 
veki
Guest
Posts: n/a
 
      06-24-2006
HI,ALL I am new ftputil user and I need help about something
my prog

>>> import tkFileDialo
>>> import ftputi
>>> name=tkFileDialog.askopenfile(
>>>ftp=ftputil.FTPHost() #Please when you want try this pro

use your ftp serve
>>> nesto1=name.nam
>>> ftp.upload(nesto1,nesto1,'b'

ERROR IS

Traceback (most recent call last)
File "<pyshell#6>", line 1, in -toplevel
ftp.upload(nesto1,nesto1,'b'
File "C:\Python24\lib\ftputil.py", line 463, in uploa
self.__copy_file(source, target, mode, open, self.file
File "C:\Python24\lib\ftputil.py", line 452, i
__copy_fil
target = target_open(target, target_mode
File "C:\Python24\lib\ftputil.py", line 282, in fil
raise ftp_error.FTPIOError("directory '%s' is no
accessible"
FTPIOError: directory '/C:/Python24' is not accessibl


THANKS!!!!!!!!!!!!!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ftputil.py Sheldon Python 2 05-24-2006 10:32 AM
[ANN] ftputil 2.1 released Stefan Schwarzer Python 0 03-30-2006 09:40 PM
Question regarding mkdir of ftputil s99999999s2003@yahoo.com Python 1 02-13-2006 10:41 AM
ftputil - uploading many files too long geon Python 1 07-12-2005 12:35 AM
[ANN] ftputil 2.0 Stefan Schwarzer Python 0 02-08-2004 05:37 PM



Advertisments