Groups | Blog | Home
all groups > sql server dts > july 2004 >

sql server dts : Re: need to learn how to get and put table on my web site (via ftp?)


Allan Mitchell
7/28/2004 2:20:12 PM
Just reread the mail.

Did you actually mean that you wanted to upload a table to an FTP site?

In what format?

Remember SQL Server is not file based.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


[quoted text, click to view]

Neil Jarman
7/29/2004 5:44:05 PM


Allan

A) I have a SQL table locally which I need to send to my web host's SQL
server using the ftp address provided.

B) I wish to retrieve specific tables on my web host's SQL server back to my
local server for processing.

NEIL




[quoted text, click to view]

Allan Mitchell
7/29/2004 6:10:38 PM
How do you intend to use FTP to do this?

FTP is for moving files here and there. The only vague way, and this would
be very ugly, is to export to a text file at an FTP address and then read
that in at the destination.

Can you not connect using the IP address and port provided by your hosting
company to the database?
You should be able to and once you do that then transferring th table over
is no more difficult than if the other server were local (except it will be
slower)



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


[quoted text, click to view]

Neil Jarman
7/29/2004 8:08:05 PM
[quoted text, click to view]

Do you mean create an entry in my list of servers? Maybe this is where i'm
going wrong. How do I do this? I have tried to - did New Server and then
Register Server, but it only showed me my local server. This is the point I
get confused. Have to admit to using SQLserver for only 2 months now and all
at a developmental level, not actual live data (YET)
N



[quoted text, click to view]

Allan Mitchell
7/29/2004 8:15:43 PM
Ahhhh


than it all becomes clearer to me now.

Your hosting company will have given you

An IP address for the SQL Server
Possibly a port number
A login name
A password


On your home PC I would do

Start | Run | Cliconfg

Go to aliases and create a TCP IP Alias to the IP address and port you were
given

You can now register that name (typing might be required) in EM.


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


[quoted text, click to view]

Neil Jarman
7/30/2004 9:38:43 AM
Err, why don't I have that app?

Have searched on sys W2000AS and WXP laptop.

I do have the logon info, however.

NEIL


[quoted text, click to view]

Neil Jarman
7/30/2004 9:53:49 AM
OK, found it in start menu.

Now problem is I have a host name, not IP address.

Does the alias form take a host as well as dotted quad?

NEIL

[quoted text, click to view]

Neil Jarman
7/30/2004 10:04:57 AM
Another thing:

The web host actually provides stuff I havent used -

as well as host name (mssql06.???.co.uk)
there is database name (db???)
and then username (dbo???)
and password (xyz)

so if I use the host name in the cliconfig and follow with UN and PW, I
have not used DBname so how can this connect?

Sorry to bombard you, but your help is appreciated.

NEIL



[quoted text, click to view]

Allan Mitchell
7/30/2004 12:44:01 PM
You have a login to the server and you are a user in your DB

You connect to the server in QA using your UserName and Pwd
You will then only see the DBs in the dropdown to which you have permissions



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


[quoted text, click to view]

Neil Jarman
7/31/2004 5:01:53 AM
Allan,

this has not worked - I will take it up with my host.

Many thanks for your help

NEIL

[quoted text, click to view]

AddThis Social Bookmark Button