Trying to capture some sql server/sybase related research (minimal). I need to tell the underlying RDBMS type the current statement is running on and run a raiserror dependant on it (as the method signature is heterogenous). Intra-procedure to support portable code. However, @@servername is the closest I’ve got so far, which is crap, and the [...]
Archive for January, 2009
Tell RDBMS Intra SQL Transaction?
Posted in 1, tagged sql on Thursday, January 22nd, 2009 | Leave a Comment »
cURL FTP Usage
Posted in 1, tagged curl, ftp on Monday, January 12th, 2009 | Leave a Comment »
Transfer file by FTP
curl -T /home/mrsock/tactical/recurseExceptionMessages.txt ftp://login:password@ftpserver.com/test/recurseExceptionMessages.txt
FTP rename transferred file:
curl -Q “RNFR test/recurseExceptionMessages.txt” -Q “RNTO test/recurseExceptionMessages.txt.newname” “ftp://login:password@ftpserver.com”