User Profile

Collapse

Profile Sidebar

Collapse
fredniggle
fredniggle
Joined: Jan 4 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • fredniggle
    started a topic FTP.storlines/storbinary method

    FTP.storlines/storbinary method

    Hello again,

    After searching over many sources, and examples, I am still experiencing trouble with uploading files to a FTP server.

    Can any explain the differences between storlines and storbinary?

    I ask because i have seen examples where text files are uploaded with storbinary!

    Many thanks
    Fred.
    See more | Go to post

  • fredniggle
    replied to Python FTP issues
    Hello again,

    I keep trawling the web looking for help with my FTP issue, and i keep seeing examples of code where ftp.stobinary is used to upload text files! Is this because of trouble with using storlines?
    See more | Go to post

    Leave a comment:


  • fredniggle
    replied to Python FTP issues
    Update on FTP issue:

    Can anyone PLEASE help?
    I've been plugging away at this when ive had the chance.

    Having restructured the code, and after trying different approaches as suggested by various sources, the program now looks like this:

    Code:
    import sys, os, ftplib, MOD
    print"running"
    print
    ndsFTPtry = ftplib.FTP('ftp.members.lycos.co.uk','username','password') #
    ...
    See more | Go to post

    Leave a comment:


  • fredniggle
    replied to Telit GM862-GPS software.
    I see what you mean. That is a lot easier to read....
    See more | Go to post

    Leave a comment:


  • fredniggle
    replied to ADC commands in python
    Hello,

    try:
    [code]
    MDM.send('AT#GP IO=3,1,1\n',0) #turn gpio 3 high
    ab= MDM.receive(5)
    MOD.sleep(10) wait a second
    MDM.send('AT#GP IO=3,0,1\n',0) # turn gpio 3 low
    ab= MDM.receive(5)

    Please let me know if you require more help

    Fred....
    See more | Go to post

    Leave a comment:


  • fredniggle
    replied to Problem with GM862 QUAD PY de telit
    Are you still working on this?

    Double check all the usual RS232 settings.

    It may help to jolt the module by using hyperterminal.
    When you can get the AT commands to work on the terminal, then re-load pythonwin and re-try...
    See more | Go to post

    Leave a comment:


  • fredniggle
    replied to Telit GM862-GPS software.
    I have a LOT of experience in this area:

    configure the GPIO pin 1 direction (input or output)
    MDM.send('AT#GP IO=1,1\n',0) # pin 1 set high as output
    zx = MDM.receive(5)
    #now reset it so LED is off
    MDM.send('AT#GP IO=1,2\n',0) #ask module for pin status
    zx = MDM.recieve(5) # and capture the reply

    Check that your hardware is correct - I strongly advise using opto-isolators for debug...
    See more | Go to post

    Leave a comment:


  • fredniggle
    replied to Python Sandbox
    Opps

    I was about to adive you about fuinctions, then I realised your skill level far exceeds mine.
    See more | Go to post
    Last edited by fredniggle; Jan 5 '08, 08:12 PM. Reason: Didnt read original post properly

    Leave a comment:


  • My i suggest that you make your program pause between sending the individual print jobs.
    Or adjusting the system resources on the print server.

    Hope this is of use.

    Fred....
    See more | Go to post

    Leave a comment:


  • fredniggle
    replied to What is your OS and Python Version
    Im currently using the Telit Python 1.5.2+ Package on XP ServicePk 2, but am planning a move to Linux next week.
    See more | Go to post

    Leave a comment:


  • fredniggle
    started a topic Python FTP issues

    Python FTP issues

    Hello,

    This is my first post here, and i'd like to thank you in advance for any help you can provide.

    While working on a python program to make HTML pages, i have encountered a problem when it comes to <br>
    uploading the pages.

    The 'sandbox' script which i am using to test my methods is:::
    Code:
    import sys, os, ftplib, MOD
    print"running"
    #oooo this is insert
    ...
    See more | Go to post
No activity results to display
Show More
Working...