chathura25
Posts: 20
Joined: Sat Mar 29, 2014 2:29 pm

FTP + MS SQL Server + Pi + Uploading

Tue Jun 24, 2014 5:22 am

hello,
i'm new to pi and linux. i need to upload a photo to web sever which has been created by my friend. i try to use ftp but it doesn't work. web server has created using www.somee.com and he gave me following details.
MS SQL Server address: SchoolVanMonitoring.mssql.somee.com
ogin name: *************
Login password: ********

i had install command line ftp client and in the root terminal i had write the below line.
ftp SchoolVanMonitoring.mssql.somee.com

but it gives me an error like this - ftp: connect: connection refused

why this happens? can't i upload file to a MS SQL Server using pi?

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: FTP + MS SQL Server + Pi + Uploading

Tue Jun 24, 2014 6:02 am

MSSQL is a database that isn't accessed via FTP. You connect to it with the given credentials using a client application or one of those: https://wiki.python.org/moin/SQL%20Server libraries. To operate on a database you create tables and insert data to them. No file upload but you probably can insert binary blobs into a table (where those blobs will be images from the camera).

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: FTP + MS SQL Server + Pi + Uploading

Tue Jun 24, 2014 7:44 am

It's quite common for SQL engines to provide a FTP service for data loading. DB2 does that on the mainframe. MSSQL does that with an add-on.

http://www.mssqltips.com/sqlservertip/2 ... -exchange/
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “General discussion”