Solved

MS Access 2010 VBA FTP

Posted on 2013-07-01
5
2,957 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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…

740 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