PDA

View Full Version : Problem with uploading files


piz
08-20-2002, 12:23 AM
I hav e a problem uploading files from a client to a server.

The PHP Script works fantastically on my own server - uploading files from the harddisk to the web server.

But when I upload the homepage and try it there I get this error:

Warning: ftp_put(): error opening C:\\file_to_upload in PHP_Skript_File on line 79

(Line 79 is where I try to upload the file with ftp_put().)

:confused:

Thx for all help.
piz

Spookster
08-20-2002, 01:14 AM
Any particular reason you need to upload it via ftp verses just uploading though http?

Most likely their ftp server is configured differently than your own.

Unless you need to do this with ftp it might be better to stick with http uploads.

You can search this forum for file upload scripts via http.