0

I am trying to deploy the files in my web application to the server using the pscp tool. It works for all the files in the directory, except sqlite (.db) file.

For the sqlite file, it throws this error:

C:\Projects>pscp weblog.db user@host:/home/data

pscp: weblog.db: Cannot open file

The same command works for all the other files/directories.

How do I copy the .db file for sqlite using ssh/pscp?

1 Answer 1

0

I had the database open in the DB Browser for Sqlite, which was preventing the operation. Closing the application did the trick.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .