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.
Quoted from "DrStrange"
...laufen denn alle Automaten noch?
Quoted from "Tom"
BTW: Wieviel Aufwand ist es eine Datei (binary, passive, no-proxy) per FTP auf einen Server zu schmeissen?
Source code |
|
1 2 3 4 5 6 7 8 9 |
from __future__ import with_statement import ftplib FILENAME = 'foo.dat' ftp = ftplib.FTP('ftp.example.com', 'someuser', 'somepass') with open(FILENAME, 'rb') as f: ftp.storbinary('STOR filename_on_server.dat', f) ftp.quit() |
Quoted from "Anonymous"
Tja, ich hab aber kein Python aufm Router. Hat da ja nix verloren.. Das sollte ja wohl irgendwie anders lösbar sein als mit nem Pythonscript..
-