Thoor
Thoor

Reputation: 137

Http POST to an FTP Server

I want to upload a file to a directory of a ftp server. I have credentials for the ftp part, and know the http/ftp adress.

But i need to upload the file via POST (for certain purposes), url is something like http://myserver.de/directory

Is that even possible? Because there is no php script whatsoever

Upvotes: 0

Views: 3929

Answers (1)

user1220636
user1220636

Reputation:

Basically you can not speak HTTP with an FTP Service. Still though you may speak HTTP to the HTTP Service on the same Machine (or server if you will).

You may consider using WebDAV for this purpose, which basically enables you to put files on a server. If your HTTP server is Apache, you may want to start with this article.

Upvotes: 2

Related Questions