Greetings, Try our SendTFP command:
SendFTP “c:\myfile.txt”,”myfile.txt”,”127.0.0.0”, etc …. Here’s the listing of the parameters it accepts. Function SendFTP(File As String, RemoteFile As String, HostIP As String, [User As String], [PWD As String], [HostPort As Integer = 21], [RemoteDirectory As String], [Secure As Boolean], [AcceptCert As Boolean = False]) As String The function will return any error msg encountered if the FTP is unsuccessful. Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com <http://www.bossoft.com/> Sign up for my weekly webinar! <http://www.bostonworkstation.com/customer_center/special_events.aspx> LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. From: [email protected] [mailto:[email protected]] Sent: Thursday, December 11, 2008 3:58 To: Talk Subject: [talkbws] VB Code Hi all, I am trying to get a script to upload a file to an FTP server daily. Using VB, not rules. I have saved past emails from the List Serv and looked at the Script Center at Bostonworkstation.com, but they all seem to be retrieving files from an FTP server…does anyone have some code I could study? Thanks! -------------------------------------------------------------------- Heather Castillo HPMIN Analyst/Module Coordinator Information Systems Hays Medical Center 785.623.5084 office 785.623.5594 fax [email protected] "Shoot for the moon...even if you miss, you'll always land among the stars."
