Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2006

Tip: Looking for answers? Try searching our database.

FTP transfer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian - 28 Jan 2006 01:02 GMT
As part of a data import process, I must, from within VBA in my Access
application:

1. Poll an FTP site periodically (Form_Timer probably) for existence of a
tag file in a remote FTP folder (its existence will indicate that a couple of
CSV data files to be downloaded are complete and in place, and it will
contain basic checksum information on those CSV files, such as the sum of a
particular column/field and/or the number of rows/records).
2. If it exists, download the tag file and CSV data files
3. After comparing the checksum to ensure that the three files were received
correctly, move the three files to an archive subfolder on the FTP server, or
at least rename them so that my customer who manages the other end of this
process can archive them.

Where do I start with this? I will obviously need a way to pass the URL
along with the user ID and password to log on, for starters.
Jesper F - 28 Jan 2006 10:10 GMT
> 1. Poll an FTP site periodically (Form_Timer probably) for existence of a
> tag file in a remote FTP folder (its existence will indicate that a couple
[quoted text clipped - 13 lines]
> Where do I start with this? I will obviously need a way to pass the URL
> along with the user ID and password to log on, for starters.

I used this article to get started with something similar I made.
http://www.databasejournal.com/features/msaccess/article.php/3513061

Jesper Fjølner
Brian - 28 Jan 2006 16:28 GMT
Thanks. It looks like that's a lot easier than reinventing the wheel on this
one.

> > 1. Poll an FTP site periodically (Form_Timer probably) for existence of a
> > tag file in a remote FTP folder (its existence will indicate that a couple
[quoted text clipped - 18 lines]
>
> Jesper Fjølner
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.