Python

Moderators: None (Apply to moderate this forum)
Number of threads: 473
Number of posts: 1172

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help Posted by noobske on 25 Feb 2004 at 10:18 AM
Help people!!!!!!!!!!!!!!!!

I have wroten a program,
but it doesn't work,
can someone help me??
plssssssssssssssss

thx

Report
Re: Help Posted by Jonathan on 25 Feb 2004 at 10:55 AM
: Help people!!!!!!!!!!!!!!!!
:
: I have wroten a program,
: but it doesn't work,
: can someone help me??
: plssssssssssssssss
:
Might I suggest that you post your program, so that folks can see what is wrong? I don't think even Python programmers are psychic...

Jonathan

###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Report
Re: Help Posted by infidel on 25 Feb 2004 at 10:57 AM
: : Help people!!!!!!!!!!!!!!!!
: :
: : I have wroten a program,
: : but it doesn't work,
: : can someone help me??
: : plssssssssssssssss
: :
: Might I suggest that you post your program, so that folks can see what is wrong? I don't think even Python programmers are psychic...

Howdy, Jon. Didn't think you visited these parts.


infidel

$ select * from users where clue > 0
no rows returned


Report
Re: Help Posted by Jonathan on 25 Feb 2004 at 11:07 AM
: : : Help people!!!!!!!!!!!!!!!!
: : :
: : : I have wroten a program,
: : : but it doesn't work,
: : : can someone help me??
: : : plssssssssssssssss
: : :
: : Might I suggest that you post your program, so that folks can see what is wrong? I don't think even Python programmers are psychic...
:
: Howdy, Jon. Didn't think you visited these parts.
:
I watch, from a distance, mostly out of curiosity.

Jonathan

###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Report
Re: Help Posted by infidel on 25 Feb 2004 at 11:42 AM
: : : : Help people!!!!!!!!!!!!!!!!
: : : :
: : : : I have wroten a program,
: : : : but it doesn't work,
: : : : can someone help me??
: : : : plssssssssssssssss
: : : :
: : : Might I suggest that you post your program, so that folks can see what is wrong? I don't think even Python programmers are psychic...
: :
: : Howdy, Jon. Didn't think you visited these parts.
: :
: I watch, from a distance, mostly out of curiosity.

Not much to see here. Please feel free to contribute!


infidel

$ select * from users where clue > 0
no rows returned


Report
ok, look Posted by infidel on 25 Feb 2004 at 10:56 AM
: Help people!!!!!!!!!!!!!!!!
:
: I have wroten a program,
: but it doesn't work,
: can someone help me??
: plssssssssssssssss

We're not psychics, you twit. Post some code and/or ask specific questions. And do try to be clear and concise.


infidel

$ select * from users where clue > 0
no rows returned


Report
Re: ok, look Posted by noobske on 26 Feb 2004 at 11:42 AM
ok m8s
i will post the origanal code

thx all
Report
the code Posted by noobske on 26 Feb 2004 at 11:45 AM
hi all
here is the code:


import os, ftplib
localdir = r"C:\important"
ftp = ftplib.FTP( 'ftp.myserver.com', user='dmo', psswd='secret' )
for fn in os.listdir( localdir ):

fullpath = os.path.join( localdir, fn )
openfile = open( fullpath, "b" )
print "ftp'ing (%d bytes)" % (fn, os.path.getsize(fullpath))
ftp.storbinary( "stor" + fn, openfile )
openfile.close()
ftp.quit()


here is it
pls can help someone me
Report
Re: the code Posted by noobske on 26 Feb 2004 at 11:45 AM
only the links are without ftp://
Report
dude Posted by infidel on 26 Feb 2004 at 12:52 PM
: hi all
: here is the code:
:
:
: import os, ftplib
: localdir = r"C:\important"
: ftp = ftplib.FTP( 'ftp.myserver.com', user='dmo', psswd='secret' )
: for fn in os.listdir( localdir ):
:     fullpath = os.path.join( localdir, fn )
:     openfile = open( fullpath, "b" )
:     print "ftp'ing (%d bytes)" % (fn, os.path.getsize(fullpath))
:     ftp.storbinary( "stor" + fn, openfile )
:     openfile.close()
: ftp.quit()
: 

:
: here is it
: pls can help someone me

help you with what? what is the problem?


infidel

$ select * from users where clue > 0
no rows returned


Report
Re: dude Posted by infidel on 26 Feb 2004 at 12:56 PM
: : hi all
: : here is the code:
: :
: :
: : import os, ftplib
: : localdir = r"C:\important"
: : ftp = ftplib.FTP( 'ftp.myserver.com', user='dmo', psswd='secret' )
: : for fn in os.listdir( localdir ):
: :     fullpath = os.path.join( localdir, fn )
: :     openfile = open( fullpath, "b" )
: :     print "ftp'ing (%d bytes)" % (fn, os.path.getsize(fullpath))
: :     ftp.storbinary( "stor" + fn, openfile )
: :     openfile.close()
: : ftp.quit()
: : 

: :
: : here is it
: : pls can help someone me
:
: help you with what? what is the problem?

Not knowing specifically what problem you're having or what errors you may or may not be receiving, I can only guess. It appears that your STOR command is probably not sending an appropriate string. "stor" + fn should probably be "stor " + fn.


infidel

$ select * from users where clue > 0
no rows returned





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.