Go to advanced search

by chathura25
Sun Jun 29, 2014 7:18 pm
Forum: General discussion
Topic: FreeTDS instalation problem
Replies: 2
Views: 1509

Re: FreeTDS instalation problem

thank you. it works
by chathura25
Sat Jun 28, 2014 6:25 pm
Forum: General discussion
Topic: MS SQL Server + pi
Replies: 2
Views: 2622

MS SQL Server + pi

can anyone give me help please. so far i'm connect to the MS SQL database after a huge effort. :( i also had created a table. but i need to upload an image to that table. but the below way of doing it gives me error. i google it for hours but i couldn't resolve it. if some one knows, help me please....
by chathura25
Sat Jun 28, 2014 7:38 am
Forum: General discussion
Topic: FreeTDS instalation problem
Replies: 2
Views: 1509

FreeTDS instalation problem

FreeTDS instalation problem hi i am installing php5 with mssql support in linux using apache2. i have installed apache2 successfully but while installing freetds. after all necessary commands supplied i have sent tsql -S 'mserver' -U 'sa' -P '' this give following error bash: tsql: command not found...
by chathura25
Sat Jun 28, 2014 6:12 am
Forum: Python
Topic: Python pip unable to locate pyodbc
Replies: 1
Views: 1818

Python pip unable to locate pyodbc

I was trying to run run pip install pyodbc .but it has very strange error. Could not find any downloads that satisfy the requirement pyodbc Some externally hosted files were ignored (use --allow-external pyodbc to allow). Cleaning up... No distributions at all found for pyodbc Storing debug log for ...
by chathura25
Sat Jun 28, 2014 3:51 am
Forum: General discussion
Topic: MS SQL Server + pi
Replies: 0
Views: 599

MS SQL Server + pi

How to connect to a Microsoft SQL Server database from our Pi ? any guidance please?
thank you
by chathura25
Fri Jun 27, 2014 8:52 pm
Forum: General discussion
Topic: Upload an Images to database
Replies: 12
Views: 3896

Re: Upload an Images to database

Hi, If the other guy made a mistake in the approach (design), you don't have to follow it... You will spent much less effort by not writing the image in a database for the same result. Even better, the server's response is slightly faster if you don't use database. Best wishes, Ivan Zilic. <?php My...
by chathura25
Fri Jun 27, 2014 8:37 pm
Forum: General discussion
Topic: Upload an Images to database
Replies: 12
Views: 3896

Re: Upload an Images to database

Hi, Ok,... you don't need database for this. Install Apache and find a way to automatically update it... ftp might be one option (which is simple and not really secure). When the RasPi and Web server are on the same internal network, you might use it, else I'd rather not. Best wishes, Ivan Zilic. o...
by chathura25
Fri Jun 27, 2014 8:25 pm
Forum: General discussion
Topic: Upload an Images to database
Replies: 12
Views: 3896

Re: Upload an Images to database

Hi, i need to put this image on to that database. Ok, you don't believe me much... let's start with the question: why do you want to upload image to the database ? I'd really like to know this... Best wishes, Ivan Zilic. me and my friend has working on school project. project is about safety of a c...
by chathura25
Fri Jun 27, 2014 8:17 pm
Forum: General discussion
Topic: Upload an Images to database
Replies: 12
Views: 3896

Re: Upload an Images to database

Install a LAMP stack sudo apt-get install apache2 php5-cli phpmyadmin mysql-client mysql-server Create a database and a table in that database with a blob column (and some other columns so you can find your rows). Write a PHP program that accepts the file from the web browser and inserts the blob i...
by chathura25
Fri Jun 27, 2014 8:05 pm
Forum: General discussion
Topic: Upload an Images to database
Replies: 12
Views: 3896

Re: Upload an Images to database

DougieLawson wrote:Why do you want to use FTP? What do you think that gives you?
It's a billion times easier with HTTP (Apache2, Lightttpd or NGinx) and a PHP program.
So how could i begin? what has to be my next step? what i need to install to Pi?
by chathura25
Fri Jun 27, 2014 7:03 pm
Forum: General discussion
Topic: Upload an Images to database
Replies: 12
Views: 3896

Upload an Images to database

I'm new to pi and linux. i want to upload an image to a database. i know, database has some tables, columns and row.. etc.How can i do it? can i do it via FTP? please help me
if you can provide with me some code, or script,i will be really glad to you. thank you
by chathura25
Tue Jun 24, 2014 5:22 am
Forum: General discussion
Topic: FTP + MS SQL Server + Pi + Uploading
Replies: 2
Views: 1055

FTP + MS SQL Server + Pi + Uploading

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: ********...
by chathura25
Wed Jun 11, 2014 6:44 pm
Forum: General discussion
Topic: FTP/DATABASE Help please
Replies: 4
Views: 1402

FTP/DATABASE Help please

my friend has create a data base in somee.com. he give me user name and password and asked to upload a data from my raspberry pi. i'm not new to python and raspberry pi. but i'm so confused. he asked me to upload data to this address. AAAgps.mssql.somee.com. it has own it passwrd and user name. but ...
by chathura25
Wed Jun 11, 2014 5:44 pm
Forum: General discussion
Topic: FTP Help PLEASE
Replies: 5
Views: 811

Re: FTP Help PLEASE

import ftplib session = ftplib.FTP('dilgps.mssql.somee.com','xxx','xxx') file = open('a.xlsx','rb') session.storbinary('STOR a.xlsx', file) file.close() session.quit() this code give me a error. i can understand please help. error is - socket.error: [Errrno 1111] connection refused something wrong w...
by chathura25
Wed Jun 11, 2014 5:32 pm
Forum: General discussion
Topic: FTP Help PLEASE
Replies: 5
Views: 811

Re: FTP Help PLEASE

thank you very much. i will try those methods
by chathura25
Tue Jun 10, 2014 7:32 am
Forum: General discussion
Topic: FTP Help PLEASE
Replies: 5
Views: 811

FTP Help PLEASE

please help me guys; I'm new to raspberry pi, Linux, python etc. i'm doing a project, i need to upload gps coordinates to web server. but i have managed to configure gps device and save the gps coordinates into a excel sheet. and i had also managed to configure 3G internet on raspberry pi. but i nee...
by chathura25
Mon Mar 31, 2014 10:34 am
Forum: General discussion
Topic: How to send gpsd data through the internet
Replies: 37
Views: 13675

Re: How to send gpsd data through the internet

i'm doing the extract thing but i want to save latitude and longitude values in to a text file. can you tell me how to do this? any coding? please.. it will be a huge help thanks
by chathura25
Sun Mar 30, 2014 5:28 pm
Forum: General discussion
Topic: GPS not working
Replies: 2
Views: 756

GPS not working

i'm a beginner to raspberry pi and to its peripherals. i got the GlobalSat BU-353S4 USB gps receiver and i had wrote the following code to interface gps module as instructed on their web site. but now nothing shows and i don't have any clear sky view either because gps receiver is inside my room. re...
by chathura25
Sat Mar 29, 2014 7:17 pm
Forum: General discussion
Topic: Raspberry Pi camera Taking Pictures
Replies: 2
Views: 446

Re: Raspberry Pi camera Taking Pictures

ThomasS wrote:You can use the picamera python library. See http://www.raspberrypi.org/archives/5672 .
Thank you so much for the help.
by chathura25
Sat Mar 29, 2014 3:03 pm
Forum: General discussion
Topic: Raspberry Pi camera Taking Pictures
Replies: 2
Views: 446

Raspberry Pi camera Taking Pictures

i'm a beginner and new to the linux environment. i'm hoping to build a device which take photos at regular interval and upload these photos to a web sever. when i run "raspistill -o image.jpg" command in the terminal it works perfectly but when i write this extract line in geany and try to execute t...

Go to advanced search