ftp function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Spam sucks

    ftp function

    Hello,

    Everybody knows that you can edit a file directly from the ftp server with a
    ftp tool, if you close the file localy the ftp server uploads the file and
    it is saved on the server.

    Is this also possible with php? i have seen a script (asp) do this, we only
    work with php so i want a solution for php.

    Thanks in advance for some info.

    G


  • MuffinMan

    #2
    Re: ftp function


    "Spam sucks" <nomail> wrote in message
    news:3faf60d8$0 $58707$e4fe514c @news.xs4all.nl ...[color=blue]
    > Hello,
    >
    > Everybody knows that you can edit a file directly from the ftp server with[/color]
    a[color=blue]
    > ftp tool, if you close the file localy the ftp server uploads the file and
    > it is saved on the server.
    >
    > Is this also possible with php? i have seen a script (asp) do this, we[/color]
    only[color=blue]
    > work with php so i want a solution for php.[/color]

    You don't edit a file directly from the ftp server.... you download the
    file, edit it, and replace the original... .... I think...

    Maarten


    Comment

    • Stefan Hilfiker

      #3
      Re: ftp function

      That's right, FTP does not offer the possibility for edit any files. FTP can
      just create directory's, upload files, download files. Also not you can
      create a emtpy textfile, you MUST create it local and then upload the file.
      If ASP or a FTP client can do that, it makes simply this few steps
      (download, edit, upload).



      "MuffinMan" <blah5ReMoVe*TH iS@custodis.cis tron.nl> schrieb im Newsbeitrag
      news:bonp6n$5re $1@news.cistron .nl...[color=blue]
      >
      > "Spam sucks" <nomail> wrote in message
      > news:3faf60d8$0 $58707$e4fe514c @news.xs4all.nl ...[color=green]
      > > Hello,
      > >
      > > Everybody knows that you can edit a file directly from the ftp server[/color][/color]
      with[color=blue]
      > a[color=green]
      > > ftp tool, if you close the file localy the ftp server uploads the file[/color][/color]
      and[color=blue][color=green]
      > > it is saved on the server.
      > >
      > > Is this also possible with php? i have seen a script (asp) do this, we[/color]
      > only[color=green]
      > > work with php so i want a solution for php.[/color]
      >
      > You don't edit a file directly from the ftp server.... you download the
      > file, edit it, and replace the original... .... I think...
      >
      > Maarten
      >
      >[/color]


      Comment

      Working...