?
Solved

VBA FTP Upload from Access 2010 64-BIT

Posted on 2013-06-17
9
Medium Priority
?
917 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
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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