Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

per FTP ein nicht leeres Verzeichnis löschen

Empfohlene Antworten

Hallo Leute,

Kennt jemand einen Befehl, wie ich ein nicht leeres Verzeichnis auf einem FTP-Server löschen kann. Der Befehl zum Verzeichnislöschen (leeres Verzeichnis) heißt ja rmdir Verzeichnisname. Gibt es da irgendwelche Parameter zum setzen?

Danke!

Leider funktioniert rmdir -r nicht. Hab ich auch schon ausprobiert.

Trotzdem Danke!

[old]

mhm... hatte editiert...

rmd -r

greetz

[/old]

okok, geht tatsaechlich net... :confused:

ich hab allerdings ein perl script gefunden, falls dir das auch was bringt...

$dir = 'temp_files';

# lokales Verzeichnis erstellen

mkdir($dir) || die "Can't create local $dir $!";

# remote-Verzeichis erstellen

$path = $ftp->mkdir($dir) || die "Can't create remote $dir $!";

weiter infos hier: http://www.thomas-fahle.de/pub/perl/Net/Net_FTP.html

greetz

Alles klar! Danke für eure Hilfe.

Wer dann mal weiter sehen!

:D

mist. hab in der eile den falschen kontext kopiert... :rolleyes:

aber da steht auch das script zum rekursiven loeschen... ;)

greetz

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.