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.

Automatisch per FTP Dateien verschieben

Empfohlene Antworten

Hallo Zusammen,

ich habe ein Problem, ich muss regelmäßig Dateien von einem FTP Server auf einen anderen Server verschieben. Dies mache ich derzeit manuell per WinSCP. Hätte hier aber gerne einen automatismus.

Eine Kollege meinte, ich müsste einfach nur ein ShellScript programmieren.

Leider komme ich mit dieser Aussage und Google nicht richtig weiter.

Kann mir hier jemand mehr Input geben oder ein einfaches Script zur Verfügung stellen?

Vielen Dank für eure Hilfe...

VG

bastian210

Welches Betriebssystem?

Unter Windows:

DOS Befehl:

ftp -s:ftpcommands.txt

in ftpcommands.txt steht dann:

open ftp.xyz.de

user (username) (passwort)

cd (remoteverzeichnis)

lcd (lokales verzeichnis)

binary

send (Dateiname)

Also FTP aufrufen und ihm dann die commands aus einer Datei mitgeben.

WinSCP ist kein FTP, das ist auf SSH basierendes FTP.

Deshalb wird das gezeigte Bsp. nicht funktionieren.;)

Nimm Dir eine Linuxkiste oder installiere Dir auf Windows cgywin und realisiere das dann mit scp.

Unter Windows geht das bspw. mit pscp.exe (aus dem Putty-Paket).


C:\Programme\PuTTY>pscp c:\foo.txt root@192.168.0.100:/

Kopiert die Datei c\foo.txt in das Root-Verzeichnis des Linux-Systems. Es ist ebenfalls möglich, Dateien vom Linux-System auf den lokalen Client zu kopieren.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.