Mit cmd/c++ auf webspace zugreifen

Provider und eure Erfahrungen damit (Geschwindigkeit, Support, ...)

Mit cmd/c++ auf webspace zugreifen

Beitragvon Learner am 20.03.2008, 13:13

Hallo,
Ich habe einen kilu.de account und ich finde es umständlich mich dort immer einzuloggen und dann die daten hochzuladen.

Kann ich mir einen einfachen FTP-Client mit cmd oder c++ basteln?
in etwa so:

cd ServerIP (+username + passwort)
copy Index.html

oder so was.
Ich habe es schon mit diesem XP FTP-Client probiert, aber der will nicht...

MfG

Learner
Learner
 
Beiträge: 470
Registriert: 10.09.2006, 11:42


Beitragvon BlueScreen-Bertrand am 20.03.2008, 13:47

Hallo,

unter cmd funktioniert nur
Code: Alles auswählen
ftp domain.de

Allerdings ist die Verwendung von cmd-ftp noch umständlicher als ein Web-FTP-Interface.

Wie wäre es, wenn du ein herkömmliches FTP-Programm verwenden würdest (zum Beispiel SmartFTP)?
BlueScreen-Bertrand
Moderator
 
Beiträge: 10999
Registriert: 28.11.2005, 19:01
Wohnort: Waldshut-Tiengen

cmd und ftp upload

Beitragvon schwedenmann am 20.03.2008, 23:11

Hallo


Dann schau dir mal curl an

Gibts auch win win und für win mit cgwin.

Curl kann downlaoden (fast ales), aber auch upload zu ftp-sites incl. pw !

HP : http://curl.haxx.se/

manual:
http://curl.haxx.se/docs/manual.html

für dich interessant:
UPLOADING

FTP

Upload all data on stdin to a specified ftp site:

curl -T - ftp://ftp.upload.com/myfile

Upload data from a specified file, login with user and password:

curl -T uploadfile -u user:passwd ftp://ftp.upload.com/myfile

Upload a local file to the remote site, and use the local file name remote
too:

curl -T uploadfile -u user:passwd ftp://ftp.upload.com/

Upload a local file to get appended to the remote file using ftp:

curl -T localfile -a ftp://ftp.upload.com/remotefile

Curl also supports ftp upload through a proxy, but only if the proxy is
configured to allow that kind of tunneling. If it does, you can run curl in
a fashion similar to:

curl --proxytunnel -x proxy:port -T localfile ftp.upload.com



mfg
schwedenmann
schwedenmann
Moderator
 
Beiträge: 6705
Registriert: 29.12.2003, 16:14
Wohnort: 41844 Wegberg


Zurück zu Domains & Webspace

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste