+ Reply to Thread
Results 1 to 4 of 4

save password for ftp drive for data connection

  1. #1
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    save password for ftp drive for data connection

    Hi Guys. When i refresh my workbook it keeps giving this error. It updates a sheet from a FTP location. How can save the password so I don't need to enter it each time to provent this error?

    Thanks.
    Attached Images Attached Images
    Last edited by San75; 11-03-2016 at 09:54 AM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: save password for ftp drive for data connection

    1. Click a cell in the external data range.
    2. Click Data > Connections, click the arrow next to Refresh All, and then click Connection Properties.

    eb718c0f-e633-4a84-bda1-413a915f4526.jpg

    1. Click the Definition tab.
    2. Add your password
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    08-18-2015
    Location
    Birmimgham
    MS-Off Ver
    2015
    Posts
    78

    Re: save password for ftp drive for data connection

    Thanks. I did try that and the save password box is checked. I have the below in the connection string. Should the User ID be for the PC or FTP? I have noticed there are many Password="". Should one of these be for the FTP?

    Provider=Microsoft.ACE.OLEDB.12.0;Password="";User ID=Admin;Data Source=C:\Users\XXXXXXX\AppData\Local\Microsoft\Windows\INetCache\Content.MSO\XXXXXXX.xls;Mode=Share Deny Write;Extended Properties="HDR=YES;";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Database Password="";Jet OLEDB:Engine Type=35;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False;Jet OLEDB:Bypass UserInfo Validation=False;Jet OLEDB:Limited DB Caching=False;Jet OLEDB:Bypass ChoiceField Validation=False

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: save password for ftp drive for data connection

    Sorry. I don't know the answer to that one. You can test it by putting the passwords in and see what happens.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Save A Data Connection In A CSV File
    By jo15765 in forum Excel General
    Replies: 0
    Last Post: 05-15-2015, 01:36 PM
  2. Excel External Connection Dropping Password from Connection String?
    By mar0isa in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-06-2015, 10:35 AM
  3. Replies: 2
    Last Post: 07-12-2013, 11:36 AM
  4. Replies: 3
    Last Post: 07-24-2006, 03:30 PM
  5. Save to hard drive and backup to thumb drive.
    By sungen99 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-27-2006, 09:17 AM
  6. Cant make connection to save stuff to CD Drive!!??
    By daveboylan in forum Excel General
    Replies: 0
    Last Post: 10-03-2005, 12:05 PM
  7. [SOLVED] Connection error to network drive
    By dmlw96 in forum Excel General
    Replies: 0
    Last Post: 09-30-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1