[Gambas-user] FTPClient
Mr JH Deval
johdeval at ...43...
Wed Nov 17 17:31:55 CET 2004
Can someone please post a simple exmaple of the Put
and Get functions within the FTPClient.
Currently I have:
DIM dtUpload AS FtpClient
DIM hFile AS String
dtUpload = NEW FtpClient
dtUpload.URL = GetSetting("FTPServer")
dtUpload.User = GetSetting("FTPUser")
dtUpload.Password = GetSetting("FTPPass")
FOR EACH hFile IN Dir("/DIRECTORY/")
dtUpload.Put(hFile)
NEXT hFile
dtUpload.Stop
I believe this should go through the DIRECTORY and
upload all files. The Problem I am having is the Get
side. I need to do the same thing there but I see no
way of geting the list of Files.
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
More information about the User
mailing list