• 27.08.2025, 20:49
  • Register
  • Login
  • You are not logged in.

 

Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Mastercooling

God

FTP per Batch

Thursday, September 15th 2005, 1:42pm

Hallo

Ich will mich mit einem gerät an einem anderen Gerät per FTP verbinden und eine Datei rüberschieben.Dazu habe ich folgende Batch geschrieben:

Quoted

echo user >>update.txt
echo password >>update.txt
echo bin >>update.txt
echo cd /tmp >>update.txt
echo put text.txt >>update.txt
ftp -s:update.txt xx.xx.xx.xx


Nur leider wird der User und das Passwort einfach nicht akzeptiert sondern die Konsole sagt immer "Please Log in with USer and Password"

Was mache ich falsch?

Gruß Hanni

Y0Gi

God

Re: FTP per Batch

Thursday, September 15th 2005, 9:04pm

gab es da nicht 'netrc'-konfigurationsdateien für sowas?

edit:
http://www.die.net/doc/linux/man/man5/netrc.5.html
http://www.mavetju.org/unix/netrc.php

das sollte dir weiterhelfen, was das automatische einloggen angeht.