Umar Ali Ahmad

MSA : A lot of Fun and Experience
See also: Other Geeks@INDC

June 2005 - Posts

FTP Upload from Pocket PC

ternyata ada yang lebih menarik untuk masalah ftp upload dari pocket pc di :

http://www.devbuzz.com/content/ftp_controls_compact_framework_pg1.asp 

sedikit gambaran tentang FTP Control :

Connecting to an FTP Server

This example shows how to connect to a remote FTP server.

Public Declare Function ConnectServer Lib "TriliumNETFTP.dll" (ByVal strServer As String, ByVal strUserName As String, ByVal strPassword As String, ByVal bPassive As Boolean, ByVal iPort As Integer) As Boolean

strServer = FTP Server’s address “ftp.triliumsoftware.com”
strUserName = FTP UserName “user1”
strPassword = FTP Password “password1”
bPassive = true = Passive Connection | false = Non Passive Connection
iPort = FTP Server Port 21

Uploading a file

Public Declare Function UploadFile Lib "TriliumNETFTP.dll" (ByVal strFile As String, ByVal strFile2 As String, ByVal bBinary As Boolean) As Boolean

strFile = File “/File” Server File Name
strFile2 = File “/File” Pocket PC File Name

Downloading a file

Public Declare Function DownloadFile Lib "TriliumNETFTP.dll" (ByVal strFile As String, ByVal strFile2 As String, ByVal bBinary As Boolean) As Boolean

strFile = File “/File” Pocket PC File Name
strFile2 = File “/File” Server File Name

The demo project includes documentation on all the FTP functions of the .NET CF FTP Control.

demo dan trialnya download di :

http://www.triliumsoftware.com/downloads.html

 

Share this post: | | | |
FTp Upload from Pocket PC
lagi googling ftp upload dari pocket pc, dan ada trialnya di: www.pocketgear.com/software_detail.asp?id=263 entah berhasil atau tidak, yang jelas saya coba dulu deh...
Share this post: | | | |