Results 1 to 4 of 4

Thread: Writing into a file on http server

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2001
    Location
    Hyderabad
    Posts
    19

    Lightbulb Writing into a file on http server

    I want to write into a .txt file which is located on a http remote server. Can you tell how can i write some text.

    Thanks in advance.

    Sreedhar

  2. #2
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    The file is on a remote server? How are you wanting to access that server?
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2001
    Location
    Hyderabad
    Posts
    19
    I want to connect using ftp as http is not possible. In my office we are connecting to internet using domain and domain IP.

    I have got some code from someone but its not working.

    I will be thankful if u can reply ASAP, alternatively my mail id is
    [email protected]

    Thanking you
    Sreedhar

  4. #4
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    I don't have enough time to write the whole project, and I don't have anything like that laying around, but a few pointers...

    As far as I know, FTP is not a protocol that will let you open and write to a file in real time. It will also not let you mount a remote volumne as a local one. You will have to physically write to a local file, and the move that file to the remote server (after you close it) via FTP. FTP will not support append either, you will have to copy it. It will over write a file, so what you are basicly doing it using FTP to keep a backup of a local file on a remote machine. If you keep doing that every few minutes, then whatever needs that file on the remote end will only be a few minutes behind.

    Sorry I can't be of more help. If you have a particular problem with the program, we might be able to help fix it.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width