Results 1 to 8 of 8

Thread: msaccess file transfer

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    msaccess file transfer

    Hello There,

    i just like to ask if how to do file transfer in msaccess 2007..
    i would like to send csv file from my local pc to a remote server..

    any idea?

    glen.a

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: msaccess file transfer

    ftp server?
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    Re: msaccess file transfer

    hi westconn1,it is not ftp server..just a windows server..i would like to put my csv file in the given directory inside the folder..

  4. #4
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: msaccess file transfer

    how do you connect to the server now, just http on port 80?
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    Re: msaccess file transfer

    actually westconn1,right now i still dont have an idea on what to use to connect to a server..if you have a sample code there in how to connect to a server you can post it here..

    btw,i see FileCopy() method in ms access is this method can copy file and send it to remote server using internet and vpn?..

  6. #6
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: msaccess file transfer

    no filecopy only work on local and lan drives

    there is no easy way to copy files to web servers, as they are protected, unless they have a file upload page, but even then, i do not know any way to automate an html file input
    if the server has ftp access then there is some simple code to do what you want

    there is some code in the vb6 forum to upload files, but i was never successful at making it work, which may have been a problem with my server, this would indicate even if it did work it would be server dependent
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Aug 2009
    Posts
    135

    Re: msaccess file transfer

    hi westconn1,you mean there's no other way to send file to a remoter server,unless using ftp?..

  8. #8
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: msaccess file transfer

    hi westconn1,you mean there's no other way to send file to a remoter server,unless using ftp?..
    pretty much

    why would web servers want you to dump your files on them, those that do provide methods to do so
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

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