#lang racket
(require net/ftp)
(define server "ENTER_YOUR_SERVER_ADDRESS")
(define username "ENTER_YOUR_USERNAME")
(define password "ENTER_YOUR_PASSWORD")
(define ftp-connection (ftp-establish-connection server 21 username password))
(define remote-path "/content/")
(ftp-cd ftp-connection remote-path)
(ftp-upload-file ftp-connection "c:/tempupload/a.txt")
(ftp-close-connection ftp-connection)
'Programming' 카테고리의 다른 글
Javascript 에서 replace정규식 그리고 replaceall과 같은 함수 구현하기. (0) | 2015.09.08 |
---|---|
Make your javascript a Windows .exe (0) | 2015.09.02 |
Python 3 – upload files over FTP (0) | 2015.08.19 |
Python urllib tutorial for Accessing the Internet (0) | 2015.07.28 |
Reference Counting Garbage Collection (0) | 2015.07.13 |