ftp://

ftps://

ftp:// -- ftps://Accessing FTP(s) URLs

Beschreibung

Allows read access to existing files and creation of new files via FTP. If the server does not support passive mode ftp, the connection will fail.

You can open files for either reading or writing, but not both simultaneously. If the remote file already exists on the ftp server and you attempt to open it for writing but have not specified the context option overwrite, the connection will fail. If you need to overwrite existing files over ftp, specify the overwrite option in the context and open the file for writing. Alternatively, you can use the FTP extension.

If you have set the from directive in php.ini, then this value will be sent as the anonymous FTP password.

Verwendung

  • ftp://example.com/pub/file.txt
  • ftp://user:password@example.com/pub/file.txt
  • ftps://example.com/pub/file.txt
  • ftps://user:password@example.com/pub/file.txt

Optionen

Wrapper Summary
Attribute Supported
Restricted by allow_url_fopen Yes
Allows Reading Yes
Allows Writing Yes (new files/existing files with overwrite)
Allows Appending Yes
Allows Simultaneous Reading and Writing No
Supports stat() filesize(), filemtime(), filetype(), file_exists(), is_file(), and is_dir() elements only.
Supports unlink() Yes
Supports rename() Yes
Supports mkdir() Yes
Supports rmdir() Yes

Anmerkungen

Hinweis:

FTPS is only supported when the openssl extension is enabled.

If the server does not support SSL, then the connection falls back to regular unencrypted ftp.

Hinweis: Appending
Files may be appended via the ftp:// URL wrapper.

Siehe auch

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

Wo Sie die Wohnungsangebote eines internationalen Unternehmens einsehen können

Wenn ich mir diese Website ansehe, scheint alles sehr ernsthaft gestaltet zu sein. Ist jemand beim Kauf auf sie gestoßen? Ich frage mich, wie der ...

Geschrieben von daberty am 29.06.2025 10:35:52
Forum: Apps und PHP Script Gesuche
Wo Sie die Wohnungsangebote eines internationalen Unternehmens einsehen können

Bei der Suche nach Immobilien im Ausland kann es schwierig sein, den Markt und die Dokumente zu verstehen. Da ist es praktisch, alles an einem Ort ...

Geschrieben von einermeiner am 29.06.2025 10:32:17
Forum: Apps und PHP Script Gesuche
Spielplan für 4 Gruppen zu je 6 Teams auf 2 Feldern

I have quite confidence in your abilities. Fnaf 1 (https://fnaf1.io/)

Geschrieben von DumbleJum am 28.06.2025 10:51:48
Forum: PHP Developer Forum
memory size abfragen möglich?

Prima, Dankeschön. Hat funktioniert. Und das sind die "echten" Zahlen oder das was im Tarif steht? Laut Abfrage sind es 768MB/900s. Womit sich da ...

Geschrieben von Faulkner am 28.06.2025 03:23:04
Forum: PHP Developer Forum