Problem with ftp_put function

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 6
Joined: Tue Nov 26, 2002 1:40 pm

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?
If my calculations are correct, you're about to see some serious shit.

User avatar
New php-forum User
New php-forum User
Posts: 26
Joined: Sat Nov 23, 2002 5:20 pm
Location: St. Louis, Missouri

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.
Hold on just a moment, I'm talking to myself.

Post Reply