Click here to Skip to main content
15,878,852 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi I'm developing Window application. But i Need to maintain my Database in Ftp. So How Could i Apply Connection String.

By Default
Dim con as New SqlConnection("My Conn String")
Posted
Comments
ZurdoDev 25-Feb-13 12:14pm    
What do you mean you have to maintain your db in ftp? That doesn't make sense to me.
sencsk 25-Feb-13 12:19pm    
I need to connect my application Database With Ftp. I Run My Application in Multiple Systems. I've Access My DB Through FTP. How to connect my app to FTP
CHill60 25-Feb-13 12:25pm    
FTP = File TRANSFER Protocol ... I'm not convinced you are CONNECTing to a DB that way. If your database is on another server then you will need the name of the sql instance
sencsk 25-Feb-13 12:26pm    
is that Right way?
connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=ftp:\\ftp.MyUrl.com\db\MyApplicationDB.accdb;Persist Security Info=True;UName="test";Password="test""
[no name] 25-Feb-13 12:30pm    
I have serious doubts that this would work. If it does in fact work, I think you will have problems eventually with it. Why don't you just use SQL Server (as your tag suggests)?

1 solution

You can't do that. I don't know of a single database provider that will work over FTP, including Access.

You MUST have the Access database on either a local drive OR on a UNC path on a server, NOT an FTP or HTTP path. Those will not work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900