51
SQLite / Re: SQLite3 SB ext. module
« Last post by Script_test on June 29, 2017, 03:37:12 AM »Thank you!!
Forum Registration Disabled - Send a request to support@scriptbasic.org to join the forum.
User Guide
Developers Guide
directo="c:\\scriptbasic\\database\\"
fileno="registro_fechas.db"
hdb=sqlite::open(directo & fileno)
directo="c:\\scriptbasic\\database\\"
fileno="registro_fechas.db"
ofile = directo & fileno
hdb=sqlite::open(ofile)
directo="c:\\scriptbasic\\database\\"
hdb=sqlite::open(directo & "registro_fechas.db")
ScriptBasic v2.0
c:\scriptbasic\bin>scriba -v
ScriptBasic v2.0
Variation >>STANDARD<< build 0
Magic value 859011890
Node size is 16
Extension interface version is 11
Compilation: Aug 22 2003 14:01:34
Executable: c:\scriptbasic\bin\scriba.exe
curl::option CURL,"UPLOAD" |
(0): error 0x00081103:Extension specific error: %s
* Uploading to a URL without a file name!
* Uploaded unaligned file size (0 out of 179712 bytes)
Import "c:\scriptbasic\include\curl.bas"
archivo = "C:\\Windows\\notepad.exe"
USER = "YOURftpuser"
password = "YOURftppassword"
ftpurl ="ftp://YOURSERVER.com/"
rem
CURL = curl::init()
curl::option CURL,"VERBOSE"
curl::option CURL,"URL",ftpurl
curl::option CURL,"USERPWD",USER & ":" & password
rem
rem server dir
rem logs
rem html
rem errors
rem cgi-bin
curl::option Curl,"QUOTE","cd /html"
curl::option CURL,"INFILE",archivo
curl::option CURL,"UPLOAD"
curl::perform CURL
curl::finish CURL
rem
* About to connect() to myftpserver port 21 (#0)
* Trying 000.00.000.220... * connected
* Connected to myftpserver (000.00.000.220) port 21 (#0)
< 220 Welcome to FTP service.
> USER myusername
< 331 Please specify the password.
> PASS mypass
< 230 Login successful.
> PWD
< 257 "/"
* Uploading to a URL without a file name!
* Uploaded unaligned file size (0 out of 179712 bytes)
* Closing connection #0
(0): error 0x00081103:Extension specific error: %s