[ftputil] FTPUTIL PROBLEM

programer_vedran_d programer_vedran_d at net.hr
Sat Aug 5 19:33:59 CEST 2006


HI,ALL I am new ftputil user and I need help about something:my prog:>>> import tkFileDialog>>>
import ftputil>>> name=tkFileDialog.askopenfile()>>>ftp=ftputil.FTPHost() #Please when you want try
this proguse  your ftp server>>> nesto1=name.name>>> ftp.upload(nesto1,nesto1,'b')ERROR IS:Traceback
(most recent call last):  File &quot;<pyshell#6>&quot;, line 1, in -toplevel-   
ftp.upload(nesto1,nesto1,'b')  File &quot;C:\Python24\lib\ftputil.py&quot;, line 463, in upload   
self.__copy_file(source, target, mode, open, self.file)  File
&quot;C:\Python24\lib\ftputil.py&quot;, line 452, in__copy_file    target target_mode)  File &quot;C:\Python24\lib\ftputil.py&quot;, line 282, in file    raise
ftp_error.FTPIOError(&quot;directory '%s' is notaccessible&quot; %FTPIOError: directory
'/C:/Python24' is not accessible                                                           
THANKS!!!!!!!!!!!!!!



 -- 
 Odaberite XXLadsl - od sada 2 x brži uz iste cijene priključka i paketa!
 Više saznajte na http://www.iskon.biz/xxladsl
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/ftputil/attachments/20060805/01ef8fef/attachment.htm 


More information about the ftputil mailing list