Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Problem with ftp_put function

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Problem with ftp_put function

Postby Grigory » Sat Dec 14, 2002 3:21 pm

This is the error that I get.

Code: Select all
Warning: ftp_put(): error opening D:\WEB_PAGES\LVFF\Images\lvff_logo_shadow.jpg


That file is on my D drive and it has full permission to read and write off that drive and directory and everything. Does it matter if they are forward slashes or backslashes? Any ideas as to what it might be?
Grigory
New php-forum User
New php-forum User
 
Posts: 6
Joined: Tue Nov 26, 2002 1:40 pm

Postby webwired » Sat Dec 14, 2002 4:59 pm

You didn't have the picture opened somewhere else did you? One thing I can confirm though is, yes, it does matter whether you use forward slashes or back slashes, back slashes are local directories, and forward slashes are for remote directories.
User avatar
webwired
New php-forum User
New php-forum User
 
Posts: 26
Joined: Sat Nov 23, 2002 5:20 pm
Location: St. Louis, Missouri


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 5 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.