Search:

Type: Posts; User: jmace; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    0
    Views
    12,344

    Java ASCII file output

    When I try to output an ASCII value to a file, it sometimes writes the wrong value. Example:



    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileOutputStream;
    import...
  2. Thread: FTP delete?

    by jmace
    Replies
    2
    Views
    11,074

    I actually knew the command, just now how to send...

    I actually knew the command, just now how to send it. I actually just figured it out though, and now my project is finally done! Thanks for your willingness to help.
  3. Thread: FTP delete?

    by jmace
    Replies
    2
    Views
    11,074

    FTP delete?

    Hey everyone!

    I've been working on a new project, and FTP client. I managed to create functions that upload and download files from a server. Oddly, the thing I can't figure out is how to do an...
  4. Replies
    0
    Views
    1,782

    text selection in iframe?

    Does anyone know anything about selecting text in an editable iframe? The following code kind of works in FireFox (it's a little buggy), but doesn't work at all in anything else.



    <!DOCTYPE...
  5. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    No, your last post wasn't ambiguous-- I...

    No, your last post wasn't ambiguous-- I understood it. I've already talked to my web host and nothing should be keeping this code from working. Besides, I have a similar script that is sending feeds...
  6. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    Thank you again for all of your help. I guess I'm...

    Thank you again for all of your help. I guess I'm either not going to be able to do this or I'll have to pray someone on ebay decides to help me. (The latter doesn't seem likely, given their lack of...
  7. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    Thank you for continuing to help me, traq. You've...

    Thank you for continuing to help me, traq. You've been a great help so far.

    The $contents variable isn't that big. In my last test, it was 2490 characters. Files that other people are sending the...
  8. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    ARGH!!! I am so close and yet so far away! ...

    ARGH!!! I am so close and yet so far away!

    Here is my code now:

    <?php

    set_time_limit(0);

    // GET THE FEED FILE
    $options = array(
  9. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    So instead of: fputs($conn, "POST...

    So instead of:

    fputs($conn, "POST /ws/eBayISAPI.dll?FileExchangeProgrammaticDownload HTTP/1.1\r\n");
    fputs($conn, "Connection: Keep-Alive\r\n");
    fputs($conn, "User-Agent: My Client App...
  10. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    Whoops! I figured out the problem. It was a...

    Whoops! I figured out the problem. It was a really stupid mistake on my part. :o I did in fact have to connect to the domain, not the path. But the

    fputs($conn, "POST...
  11. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    Thank you very much for your help, traq. I...

    Thank you very much for your help, traq.

    I understand that ssl:// and https:// are the same page, but the problem is that I cannot connect to...
  12. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    Did you click this link?...

    Did you click this link?
    https://bulksell.ebay.com/ws/eBayISAPI.dll?FileExchangeProgrammaticDownload
    Because this definitely is working for me. This is the page I am suppose to go to, from what I...
  13. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    traq was right. That was one of the problems--...

    traq was right. That was one of the problems-- possibly the biggest. It's working better now with this code (at least it does something):


    <?php

    // GET THE FEED FILE
    $options = array(
    ...
  14. Thread: Sockets help

    by jmace
    Replies
    19
    Views
    4,607

    Sockets help

    Hey everyone!

    I am trying to post a feed file to ebay from our site via a PHP script, but I am new to this stuff and having some trouble. On ebay's website they have an example of the request you...
  15. Thread: Preg_match help

    by jmace
    Replies
    2
    Views
    1,648

    Thanks for the quick reply. Sorry I didn't...

    Thanks for the quick reply.

    Sorry I didn't post more code. I guess I could have, but it didn't seem really relevant. The string is being pulled in from an error file. From there, the lines are cut...
  16. Thread: Preg_match help

    by jmace
    Replies
    2
    Views
    1,648

    Preg_match help

    Hey! I'm trying to get this PCRE syntax right, but so far I can't get it to work. I have stings like this: (The parts in between the [ and ] are suppose be matched)



    Please provide more data...
  17. Replies
    1
    Views
    1,756

    Yeah, I kind of figured that I wouldn't really...

    Yeah, I kind of figured that I wouldn't really get a response on this one. Guess I'm on my own.
  18. Replies
    1
    Views
    1,756

    Feed products into Amazon.com

    Oh, man. I am close to pulling out my hair with this one. I am trying to figure out how to upload products from my clients MySQL tables and send them to Amazon.com as product feeds to list....
Results 1 to 18 of 18