Skip to content

Commit

Permalink
mody READEME
Browse files Browse the repository at this point in the history
  • Loading branch information
smallfish committed May 9, 2011
1 parent 7f473b7 commit e30b398
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ example:

func main() {
ftp := new(FTP)
ftp.Connect("10.250.6.139", 2222)
ftp.Login("admin", "admin")
ftp.Connect("10.0.0.1", 20)
ftp.Login("user", "****")
ftp.Request("TYPE I")
ftp.Stor("a.txt", "d:/a.txt")
ftp.Stor("get-pip.py", "d:/get-pip.py")
ftp.Stor("putty.exe", "d:/putty.exe")
ftp.Stor("a.txt", "/path/a.txt")
ftp.List()
ftp.Pwd()
ftp.List()
Expand Down

0 comments on commit e30b398

Please sign in to comment.