Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VBA FTP Upload from Access 2010 64-BIT

Posted on 2013-06-17
9
Medium Priority
?
934 Views
Last Modified: 2013-07-08
I have been looking for a way to upload/download files from an FTP site.  I found some that work with 32-bit Access, but fail with 64-bit.

Any ideas on how to do this?

Thank you in advance.
0
Comment
Question by:Scamquist
[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
  • 5
  • 3
9 Comments
 
LVL 27

Expert Comment

by:MacroShadow
ID: 39254552
Haven't tested this but give it a try.
FTP-Demo.mdb
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 39254796
What problem were you having?  Was it a file permissions issue?  Was the DOS command line FTP client not installed?
0
 
LVL 1

Author Comment

by:Scamquist
ID: 39255008
AlexPace
I have had a problem getting started.  I searched and tried to cobble some code together and usually had errors that the code would not work with 64 bit software.  Also, I didn't see anything about dos FTP commands
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 27

Expert Comment

by:MacroShadow
ID: 39255173
Did you check my attachment?
0
 
LVL 1

Author Comment

by:Scamquist
ID: 39256050
MacroShadow.  I downloaded but there isn't a table named tblFTPFileList.  Also, the one of the modules will not compile.  I will try to determine the fields for the table and debug the code.
0
 
LVL 1

Author Comment

by:Scamquist
ID: 39291487
Long delay.  I'm sorry.  Just settling in to a new position.



I created the table tblFTPFileList, but the complie fails at:

    ret& = CreateProcessA(0&, Pathname, 0&, 0&, 1&, NORMAL_PRIORITY_CLASS, 0&, 0&, start, proc)

in the Public Sub ShellWait(Pathname As String, Optional WindowStyle As Long)

Will this work with Access 2010 64-bit.  I though the API functions were different in 64-bit.
0
 
LVL 27

Expert Comment

by:MacroShadow
ID: 39291634
Will this work with Access 2010 64-bit.
I thought it would.

I though the API functions were different in 64-bit.
They are. I updated the code to accommodate a 64-bit system.

I'm afraid I can't help you any more, I don't have a 64-bit machine.
0
 
LVL 1

Accepted Solution

by:
Scamquist earned 0 total points
ID: 39297945
The sample database does not work with 64-bit access.  I found a way around by using NetDrive, assigning a drive letter and using TransferSpreadsheet.
0
 
LVL 1

Author Closing Comment

by:Scamquist
ID: 39306606
I abandoned trying to use VB to solve the problem.  NetDrive assigns the FTP site with a drive letter and TransferSpreadsheet moves the file.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Suggested Courses

598 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