<pre>HI,ALL I am new ftputil user and I need help about something:<br />my prog:<br /><br />>>><i> import tkFileDialog<br /></i>>>><i> import ftputil<br /></i>>>><i> name=tkFileDialog.askopenfile()<br /></i>>>><i>ftp=ftputil.FTPHost() #Please when you want try this prog<br /></i>use your ftp server<br />>>><i> nesto1=name.name<br /></i>>>><i> ftp.upload(nesto1,nesto1,'b')<br /></i>ERROR IS:<br /><br />Traceback (most recent call last):<br /> File "<pyshell#6>", line 1, in -toplevel-<br /> ftp.upload(nesto1,nesto1,'b')<br /> File "C:\Python24\lib\ftputil.py", line 463, in upload<br /> self.__copy_file(source, target, mode, open, self.file)<br /> File "C:\Python24\lib\ftputil.py", line 452, in<br />__copy_file<br /> target = target_open(target, target_mode)<br /> File "C:\Python24\lib\ftputil.py", line 282, in file<br /> raise ftp_error.FTPIOError("directory '%s' is not<br />access
ible" %<br />FTPIOError: directory '/C:/Python24' is not accessible<br /><br /> <br />THANKS!!!!!!!!!!!!!!</pre>
<br>
<br>
-- <br>
Odaberite XXLadsl - od sada 2 x brži uz iste cijene priključka i paketa!<br>
Više saznajte na http://www.iskon.biz/xxladsl<br>