SitePoint Sponsor

User Tag List

Results 1 to 1 of 1

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Oct 2001
    Location
    Dallas/Ft. Worth
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP v.4.04pl1 and ftp_put problem

    PROBLEM SOLVED!



    PHP General

    --------------------------------------------------------------------------------

    Subject: ftp_put problems...
    Author: Amir Hajdar (dialup-64.157.113.45.Dial1.Dallas1.Level3.net)
    Date: 27/10/2001 04:33

    Hello,

    I am having problems with ftp_put() command in PHP4 and have no clue how to fix it. The exact error is:
    "error opening C:\test.jpg in /home/mydir/".
    After using file_exists(), I realized that the script cannot find the file ("C:\test.jpg"), but it's there. (By the way, I also tried without striping C slashes and the result is the same - error openning C:\\test.jpg)

    PHP4 engine is compiled with --enable-ftp and it runs on Linux.

    Please let me know if you have a clue what is the problem. Thanks in advance!

    Amir
    Last edited by ahajdar; Oct 28, 2001 at 10:35.


Bookmarks

Posting Permissions

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