You should just be able to use a relative path, i.e.
"./static/dbbackup/backup.csv" rather than
"C:/Users/me/Desktop/web2py/applications/webapp1/static/dbbackup/backup.csv".
("../" would take you to one folder above where you started, and "../../"
would go two folder levels up. )
You may need to
I have a folder in my desktop that contains a CSV file that backs up
information everytime something gets saved into the database. What i wanna
know is how can I instead have this folder and CSV backup file saved in the
app somewhere so that even if i relocate the application or take it online
2 matches
Mail list logo