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.

Batch

Empfohlene Antworten

Hallo zusammen ich weiss nicht ob ich hier richtig bin mit meiner Frage richtig bin.

Ich soll ein batchfile erstellen der einen Sftp client connectet und dann eine Datei hochlädt.

Ich habe ehrlich gesagt ka, von .bat dateien.

Ich habe so mal angefangen:

open *host*

username *user*

password*pw*

put C:\Desktop\Hallo.txt

Ich verwendet als Client den "psftp.exe" von der Seite PuTTY Download Page

und möchte dann später über eine Kommandozeile mit "psftp.exe -b test.bat

dann den Batchfile aufrufen kann mir vielleicht jemand sagen wie ich dies in den File hinein schreiben muss, weil ich nicht genau das weiss ich den username dem sftp client übergeben muss und bei dem passwort habe ich das gleiche problem.

Danke im vorraus

Mit der Hilfe wird eigendlich schon alles erklärt:

PSFTP -?
Die Batch könnte wie folgt aussehen:
CLS

@ECHO OFF


ECHO.

PSFTP -l USER -pw PASSWORD @HOSTNAMEorIP -b auto.txt


PAUSE

EXIT
Die Batch-Datei ("auto.txt") wie folgt:
put C:\Desktop\Hallo.txt

bye

Gruss,

tester2k5

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.