Hi
 
Robert Abram's class ftp_service automates WinInet like so
 
o=createobject("ftp_service")
IF o.openinternet("zzz","zzz","ftp.zzz.co.uk","21")
****=o.getftpfile("/index.htm","c:\test.h")
 IF !o.putftpfile("/dist.txt","c:\dist.txt")
  =MESSAGEBOX("Unable to upload. Error returned: "+o.GetErrorText(),16,"Error 
In Upload")
 ELSE
  =MESSAGEBOX("File Uploaded",64,"Confirmation")
 ENDIF
 
o.closeinternet()
ELSE
  =MESSAGEBOX("Unable to Connect. Error returned: "+o.GetErrorText(),16,"Error 
In Upload")
ENDIF
RELEASE o

I believe I have it working on 98 upwards. 
 
I'll post the code if you'd like to see it.
 

________________________________

From: [email protected] on behalf of Peter Hart
Sent: Wed 26/01/2011 08:00
To: GrahamB
Subject: RE: FTP



Hi Sytze

Have you looked at SyncBackSE
http://www.2brightsparks.com/syncback/sbse.html

I use this to back up my clients data to my servers every night.  Works
well for me.

Cheers

Peter
Peter Hart Computers

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Sytze de Boer
Sent: 26 January 2011 00:30
To: profox
Subject: FTP

I want my system to FTP a backup file
What do you gurus recommend ?
I'm referring to the file transfer process

My thoughts at this stage is for my app to create a Zip file Then
transfer this to a server which has been set up to receive the file

--
Regards
Sytze de Boer
Kiss Systems

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to