Solved

MS Access 2010 VBA FTP

Posted on 2013-07-01
5
2,995 Views
Last Modified: 2013-08-11
I am trying to upload a file via FTP in a procedure. I have researched various links on how to do this, but they seem to refer to older Access Versions, and I receive error messages when trying to use in Access 2010, stating that the code was written for older versions. Can someone point me in the correct direction for this. The information I tried to use was:

 Internet Data Transfer Library - http://access.mvps.org/access/modules/mdl0037.htm

Thank you
0
Comment
Question by:rrudolph
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 500 total points
ID: 39290098
Here is the code is use with Access 2010 32-bit.

See:  FTP Client functions

** Note:  It has not been converted to work with Access 2010 64-bit
0
 

Author Comment

by:rrudolph
ID: 39290139
Thank you, I am in a 64 bit environment, and did not realize I should mention that.
0
 
LVL 21
ID: 39291007
If you are running Access 2010 64-bit, you will have to modify same VBA code to get it to work. . Especially any Windows API calls.

Most VBA code examples will work in new versions excepy when switching to Access 2010 64-bit.   Because of all the issues with Access 2010 64-bit, most people avoid it. That is why you are not finding many example for Aces 2010 64-bit.

See:

 Compatibility Between the 32-bit and 64-bit Versions of Office 2010


Declare Statment And Ptrsafe Attribues, Office 2010

FWIW:
"Office 2010 (64 bit versions) "
Well ... at the 2010 mvp summit (2011 in 2 weeks) ... the Access product peeps specifically told us ... "avoid O2010x64 unless you really need super giant large Excel spreadsheets"
0
 
LVL 21
ID: 39291435
Here is a previous question related to the same issue that I answered:

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_28153370.html#a39236338
0
 

Author Comment

by:rrudolph
ID: 39302720
Well I was wrong....I'm on a 64 bit server, but the Office is 32 bit. I will go back and review all of the suggestions to date and then update the question as to what seems to work. Thank you.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question