{"id":55000631,"date":"2008-10-01T00:00:00","date_gmt":"2020-05-06T15:19:09","guid":{"rendered":"http:\/\/access-im-unternehmen.aix-dev.de\/aiu\/?p=631"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T00:00:00","slug":"Automatischer_Up_und_Download_per_FTP","status":"publish","type":"post","link":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/","title":{"rendered":"Automatischer Up- und Download per FTP"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/vg06.met.vgwort.de\/na\/f383982062fc40d8999308942d00bfda\" width=\"1\" height=\"1\" alt=\"\"><\/p>\n<p><b>Eine einfache M&ouml;glichkeit f&uuml;r den Datentransfer via Internet ist FTP. Neben den &uuml;blichen Clients wie etwa Total Commander kann man FTP auch per Kommandozeile bedienen &#8211; und damit auch per VBA. Voraussetzung ist ein Zielrechner, der sich per FTP-Protokoll ansprechen l&auml;sst.<\/b><\/p>\n<p>Das Kommandozeilentool FTP wird &uuml;blicherweise mit Windows installiert und verbindet sich nach Absetzen der folgenden Anweisung etwa in der Eingabeaufforderung mit dem FTP-Server:<\/p>\n<pre>ftp<\/pre>\n<p>Der Server fragt dann Benutzername und Kennwort ab und dann kann man mit den folgenden Befehlen loslegen:<\/p>\n<ul>\n<li class=\"aufz-hlung\"><b>pwd<\/b>: Gibt das aktuelle Verzeichnis aus.<\/li>\n<li class=\"aufz-hlung\"><b>cd &lt;Verzeichnis&gt;<\/b>: Wechselt zum angegebenen Verzeichnis.<\/li>\n<li class=\"aufz-hlung\"><b>dir<\/b>: Gibt den Inhalt des aktuellen Verzeichnisses aus.<\/li>\n<li class=\"aufz-hlung\"><b>get<\/b>: Kopiert eine oder mehrere Dateien vom entfernten Rechner auf den lokalen Rechner.<\/li>\n<li class=\"aufz-hlung\"><b>put<\/b>: Kopiert eine oder mehrere Dateien vom lokalen Rechner auf den entfernten Rechner.<\/li>\n<li class=\"aufz-hlung\"><b>quit<\/b>: Schlie&szlig;t die aktuelle Verbindung.<\/li>\n<\/ul>\n<p><!--30percent--><\/p>\n<p>Mit diesen Anweisungen k&ouml;nnen Sie Daten zwischen den beiden beteiligten Rechnern hin- und hertransferieren. Wenn das auch noch vollautomatisch gehen soll, verwenden Sie beispielsweise das folgende Skript, das eine Datei vom lokalen Rechner zu einem anderen Rechner schickt:<\/p>\n<pre>Public Function FTPPut(strServer As String, _\r\n    strBenutzername As String, _\r\n    strKennwort As String, _\r\n    strQuelldatei As String, _\r\n    Optional strZieldatei As String)\r\n    Dim strFTP As String\r\n    strFTP = \"open \" &amp; strServer &amp; vbCrLf _\r\n    &amp; strBenutzername &amp; vbCrLf _\r\n    &amp; strKennwort &amp; vbCrLf _\r\n    &amp; \"binary\" &amp; vbCrLf _\r\n    &amp; \"put \" &amp; strQuelldatei &amp; \" \" _\r\n    &amp; strZieldatei &amp; vbCrLf _\r\n    &amp; \"quit\"\r\n    Open CurrentProject.Path _\r\n    &amp; \"\\ftptext.txt\" _\r\n    For Output As #1\r\n        Print #1, strFTP\r\n        Close #1\r\n        Call Shell(\"ftp.exe -s:\" &amp; _\r\n        CurrentProject.Path &amp; \"\\ftptext.txt\", _\r\n        vbNormalFocus)\r\n    End Function<\/pre>\n<p>Die Routine stellt ein Skript mit den f&uuml;r den Transfer der Quelldatei zum Server ben&ouml;tigten Befehlen zusammen, dass dann in einem Aufruf von ftp.exe als Parameter angegeben wird. Weitere Skripte lassen sich leicht von diesem ableiten.<\/p>\n<p>Eine &Uuml;bersicht der FTP-Befehle liefert die Eingabeaufforderung, wenn Sie nach dem Starten der <b>FTP.exe <\/b>den Befehl <b>help <\/b>eingeben. F&uuml;r weitere Informationen reicht dann help <b>&lt;Befehl&gt;<\/b>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eine einfache M&ouml;glichkeit f&uuml;r den Datentransfer via Internet ist FTP. Neben den &uuml;blichen Clients wie etwa Total Commander kann man FTP auch per Kommandozeile bedienen &#8211; und damit auch per VBA. Voraussetzung ist ein Zielrechner, der sich per FTP-Protokoll ansprechen l&auml;sst.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[662008,66052008,44000026,44000030],"tags":[],"class_list":["post-55000631","post","type-post","status-publish","format-standard","hentry","category-662008","category-66052008","category-Interaktiv","category-Internet"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.9 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Automatischer Up- und Download per FTP - Access im Unternehmen<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automatischer Up- und Download per FTP\" \/>\n<meta property=\"og:description\" content=\"Eine einfache M&ouml;glichkeit f&uuml;r den Datentransfer via Internet ist FTP. Neben den &uuml;blichen Clients wie etwa Total Commander kann man FTP auch per Kommandozeile bedienen - und damit auch per VBA. Voraussetzung ist ein Zielrechner, der sich per FTP-Protokoll ansprechen l&auml;sst.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/\" \/>\n<meta property=\"og:site_name\" content=\"Access im Unternehmen\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-06T15:19:09+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/vg06.met.vgwort.de\/na\/f383982062fc40d8999308942d00bfda\" \/>\n<meta name=\"author\" content=\"Andr\u00e9 Minhorst\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andr\u00e9 Minhorst\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/\"},\"author\":{\"name\":\"Andr\u00e9 Minhorst\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#\\\/schema\\\/person\\\/13395c4bcd7d7963efe33be9c584d93f\"},\"headline\":\"Automatischer Up- und Download per FTP\",\"datePublished\":\"2020-05-06T15:19:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/\"},\"wordCount\":262,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/vg06.met.vgwort.de\\\/na\\\/f383982062fc40d8999308942d00bfda\",\"articleSection\":[\"2008\",\"5\\\/2008\",\"Interaktiv\",\"Internet\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/\",\"url\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/\",\"name\":\"Automatischer Up- und Download per FTP - Access im Unternehmen\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/vg06.met.vgwort.de\\\/na\\\/f383982062fc40d8999308942d00bfda\",\"datePublished\":\"2020-05-06T15:19:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#primaryimage\",\"url\":\"http:\\\/\\\/vg06.met.vgwort.de\\\/na\\\/f383982062fc40d8999308942d00bfda\",\"contentUrl\":\"http:\\\/\\\/vg06.met.vgwort.de\\\/na\\\/f383982062fc40d8999308942d00bfda\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/Automatischer_Up_und_Download_per_FTP\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/access-im-unternehmen.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatischer Up- und Download per FTP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#website\",\"url\":\"https:\\\/\\\/access-im-unternehmen.de\\\/\",\"name\":\"Access im Unternehmen\",\"description\":\"Das Magazin f\u00fcr Datenbankentwickler auf Basis von Microsoft Access\",\"publisher\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/access-im-unternehmen.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#organization\",\"name\":\"Andr\u00e9 Minhorst Verlag\",\"url\":\"https:\\\/\\\/access-im-unternehmen.de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/access-im-unternehmen.de\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/aiu_wp.png\",\"contentUrl\":\"https:\\\/\\\/access-im-unternehmen.de\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/aiu_wp.png\",\"width\":370,\"height\":111,\"caption\":\"Andr\u00e9 Minhorst Verlag\"},\"image\":{\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/access-im-unternehmen.de\\\/#\\\/schema\\\/person\\\/13395c4bcd7d7963efe33be9c584d93f\",\"name\":\"Andr\u00e9 Minhorst\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b9d010cf1716692cb9c34f21554e07d17d461acaea5b61b8cb21cbec678d48a?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b9d010cf1716692cb9c34f21554e07d17d461acaea5b61b8cb21cbec678d48a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1b9d010cf1716692cb9c34f21554e07d17d461acaea5b61b8cb21cbec678d48a?s=96&d=mm&r=g\",\"caption\":\"Andr\u00e9 Minhorst\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Automatischer Up- und Download per FTP - Access im Unternehmen","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/","og_locale":"de_DE","og_type":"article","og_title":"Automatischer Up- und Download per FTP","og_description":"Eine einfache M&ouml;glichkeit f&uuml;r den Datentransfer via Internet ist FTP. Neben den &uuml;blichen Clients wie etwa Total Commander kann man FTP auch per Kommandozeile bedienen - und damit auch per VBA. Voraussetzung ist ein Zielrechner, der sich per FTP-Protokoll ansprechen l&auml;sst.","og_url":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/","og_site_name":"Access im Unternehmen","article_published_time":"2020-05-06T15:19:09+00:00","og_image":[{"url":"http:\/\/vg06.met.vgwort.de\/na\/f383982062fc40d8999308942d00bfda","type":"","width":"","height":""}],"author":"Andr\u00e9 Minhorst","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Andr\u00e9 Minhorst","Gesch\u00e4tzte Lesezeit":"2\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#article","isPartOf":{"@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/"},"author":{"name":"Andr\u00e9 Minhorst","@id":"https:\/\/access-im-unternehmen.de\/#\/schema\/person\/13395c4bcd7d7963efe33be9c584d93f"},"headline":"Automatischer Up- und Download per FTP","datePublished":"2020-05-06T15:19:09+00:00","mainEntityOfPage":{"@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/"},"wordCount":262,"commentCount":0,"publisher":{"@id":"https:\/\/access-im-unternehmen.de\/#organization"},"image":{"@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#primaryimage"},"thumbnailUrl":"http:\/\/vg06.met.vgwort.de\/na\/f383982062fc40d8999308942d00bfda","articleSection":["2008","5\/2008","Interaktiv","Internet"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/","url":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/","name":"Automatischer Up- und Download per FTP - Access im Unternehmen","isPartOf":{"@id":"https:\/\/access-im-unternehmen.de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#primaryimage"},"image":{"@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#primaryimage"},"thumbnailUrl":"http:\/\/vg06.met.vgwort.de\/na\/f383982062fc40d8999308942d00bfda","datePublished":"2020-05-06T15:19:09+00:00","breadcrumb":{"@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#primaryimage","url":"http:\/\/vg06.met.vgwort.de\/na\/f383982062fc40d8999308942d00bfda","contentUrl":"http:\/\/vg06.met.vgwort.de\/na\/f383982062fc40d8999308942d00bfda"},{"@type":"BreadcrumbList","@id":"https:\/\/access-im-unternehmen.de\/Automatischer_Up_und_Download_per_FTP\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/access-im-unternehmen.de\/"},{"@type":"ListItem","position":2,"name":"Automatischer Up- und Download per FTP"}]},{"@type":"WebSite","@id":"https:\/\/access-im-unternehmen.de\/#website","url":"https:\/\/access-im-unternehmen.de\/","name":"Access im Unternehmen","description":"Das Magazin f\u00fcr Datenbankentwickler auf Basis von Microsoft Access","publisher":{"@id":"https:\/\/access-im-unternehmen.de\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/access-im-unternehmen.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/access-im-unternehmen.de\/#organization","name":"Andr\u00e9 Minhorst Verlag","url":"https:\/\/access-im-unternehmen.de\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/access-im-unternehmen.de\/#\/schema\/logo\/image\/","url":"https:\/\/access-im-unternehmen.de\/wp-content\/uploads\/2019\/09\/aiu_wp.png","contentUrl":"https:\/\/access-im-unternehmen.de\/wp-content\/uploads\/2019\/09\/aiu_wp.png","width":370,"height":111,"caption":"Andr\u00e9 Minhorst Verlag"},"image":{"@id":"https:\/\/access-im-unternehmen.de\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/access-im-unternehmen.de\/#\/schema\/person\/13395c4bcd7d7963efe33be9c584d93f","name":"Andr\u00e9 Minhorst","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/1b9d010cf1716692cb9c34f21554e07d17d461acaea5b61b8cb21cbec678d48a?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1b9d010cf1716692cb9c34f21554e07d17d461acaea5b61b8cb21cbec678d48a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b9d010cf1716692cb9c34f21554e07d17d461acaea5b61b8cb21cbec678d48a?s=96&d=mm&r=g","caption":"Andr\u00e9 Minhorst"}}]}},"_links":{"self":[{"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/posts\/55000631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/comments?post=55000631"}],"version-history":[{"count":0,"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/posts\/55000631\/revisions"}],"wp:attachment":[{"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/media?parent=55000631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/categories?post=55000631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/access-im-unternehmen.de\/data\/wp\/v2\/tags?post=55000631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}