Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 27th, 2005, 04:59 AM
Authorized User
 
Join Date: Oct 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default FTP

Is it possible to FTP a file to my website within VBA?

 
Old June 27th, 2005, 11:46 PM
Registered User
 
Join Date: Jun 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not aware of any built in function that can do that, but maybe this workaround will help you

http://www.bygsoftware.com/Excel/VBA/ftp.htm

And maybe google for more...
 
Old June 30th, 2005, 05:58 AM
Authorized User
 
Join Date: Oct 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the suggestion, I had already sorted this by shelling to the FTP command line.

Basically created an FTP script file within VBA for the necessary instructions, then used shell to launch FTP.

t = Shell("ftp -s:path\ftpscript", 1)

Works OK for what i need.

Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP zaghmout C# 2005 3 December 9th, 2007 09:28 AM
FTP Error caveatashish VB How-To 1 December 5th, 2007 09:15 AM
ftp zaghmout C# 2005 2 November 6th, 2007 09:55 AM
FTP pakman BOOK: Excel 2003 VBA Programmer's Reference 0 June 27th, 2005 04:24 AM
FTP? Nasimov Visual C++ 1 December 24th, 2003 09:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.