Results 1 to 9 of 9

Thread: [2005] Opening database from FTP server without downloading it

  1. #1

    Thread Starter
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    [2005] Opening database from FTP server without downloading it

    elloooo

    As the title says, I'd like to open a database file (access) from an FTP server without downloading it, is this possible?

    Thank you!
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  2. #2
    Addicted Member skea's Avatar
    Join Date
    Mar 2006
    Posts
    187

    Re: [2005] Opening database from FTP server without downloading it

    I think you may need to use windows scripting.

  3. #3

    Thread Starter
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2005] Opening database from FTP server without downloading it

    that sounds completely new to me, any examples?
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  4. #4
    Addicted Member skea's Avatar
    Join Date
    Mar 2006
    Posts
    187

    Re: [2005] Opening database from FTP server without downloading it

    VB Code:
    1. Sub btnExample_onclick()
    2.          dim wShell        
    3.          set wshell = createobject("wscript.shell")
    4.          wshell.run ("msaccess ""O:\Databases\Databases\DatabaseName.mdb""")
    5.          wshell.visible=true
    6.          wshell.UserControl = True 
    7.          set wshell = nothing
    8. end sub

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Opening database from FTP server without downloading it

    FTP stands for File Transfer Protocol. It is used for transferring files. I think that that says it all.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2005] Opening database from FTP server without downloading it

    The reason I dont wanna download the database is that I dont wanna have to upload and overwrite the entire database file after just editing some small bits.
    Since its linked to a website with users making changes a bit now and then, it would be devastating if my application overwrites something that a user had just changed.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  7. #7
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Opening database from FTP server without downloading it

    This is not a job for FTP.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  8. #8
    Lively Member darktown's Avatar
    Join Date
    Apr 2006
    Posts
    85

    Re: [2005] Opening database from FTP server without downloading it

    Can't you make a direct link to your accessdb in your connectionstring?
    There is an easy way, there is a hard way and there is My way of doing things!

  9. #9

    Thread Starter
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2005] Opening database from FTP server without downloading it

    Quote Originally Posted by darktown
    Can't you make a direct link to your accessdb in your connectionstring?
    The problem is that I have to specify username and password in order to access the FTP server...
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

Posting Permissions

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



Click Here to Expand Forum to Full Width