Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Excel VbA FTP Transfers

Hello,
I need for a small project to retrieve a file via ftp from the internet,
process it with Excel an save it back to the FTP site. How can I do that
with vba??
I tried to create a link in Explorer to that ftp site, but this does not
work, so I'm looking for a more programmatic solution.
Any help is much appreciated!!

Ernst




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Excel VbA FTP Transfers

Here are three links that offers solutions :

The first is a download. Search WebPage for "FTP example".

http://www.erlandsendata.no/english/downloads/tools.php
http://msdn.microsoft.com/library/en...fercontrol.asp
http://www.computerhope.com/software/ftp.htm

HTH
Paul
--------------------------------------------------------------------------------------------------------------
Be advised to back up your WorkBook before attempting to make changes.
--------------------------------------------------------------------------------------------------------------
On Thu, 25 Sep 2003 23:34:40 +0200, "E.Anderegg"
wrote:

Hello,
I need for a small project to retrieve a file via ftp from the internet,
process it with Excel an save it back to the FTP site. How can I do that
with vba??
I tried to create a link in Explorer to that ftp site, but this does not
work, so I'm looking for a more programmatic solution.
Any help is much appreciated!!

Ernst




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Excel VbA FTP Transfers

For the download side, have a look at this very simple API call:

Private Declare Function URLDownloadToFile Lib "urlmon" Alias _
"URLDownloadToFileA" (ByVal pCaller As Long, ByVal strURL As String, _
ByVal strFileName As String, ByVal dwReserved As Long, _
ByVal lpfnCB As Long) As Long

Usage:

if URLDownloadToFile(0, strFullURL, strLocation, 0, 0) = Then 'successful
download took place

Robin Hammond
www.enhanceddatasystems.com
Check out our XspandXL add-in


"E.Anderegg" wrote in message
...
Hello,
I need for a small project to retrieve a file via ftp from the internet,
process it with Excel an save it back to the FTP site. How can I do that
with vba??
I tried to create a link in Explorer to that ftp site, but this does not
work, so I'm looking for a more programmatic solution.
Any help is much appreciated!!

Ernst






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Transfers?? GA85 Excel Discussion (Misc queries) 1 September 24th 08 11:58 AM
File transfers between Excel Versions Tail Wind Excel Discussion (Misc queries) 3 December 15th 07 07:39 PM
Transfers [email protected] Excel Worksheet Functions 3 October 8th 05 03:16 PM
Automatic transfers Terri Excel Worksheet Functions 1 May 10th 05 09:05 PM
FTP Transfers with VBA E.Anderegg Excel Programming 3 September 25th 03 05:09 PM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"