|
-
May 8th, 2011, 08:42 PM
#1
Thread Starter
Addicted Member
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
-
May 8th, 2011, 09:27 PM
#2
Re: msaccess file transfer
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
-
May 8th, 2011, 10:35 PM
#3
Thread Starter
Addicted Member
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..
-
May 9th, 2011, 12:44 AM
#4
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
-
May 9th, 2011, 03:34 AM
#5
Thread Starter
Addicted Member
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?..
-
May 9th, 2011, 04:58 AM
#6
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
-
May 9th, 2011, 05:18 AM
#7
Thread Starter
Addicted Member
Re: msaccess file transfer
hi westconn1,you mean there's no other way to send file to a remoter server,unless using ftp?..
-
May 9th, 2011, 08:47 AM
#8
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|