ftp常用密令作文11500字

五年级作文

FTP 常用命令

Ftp 命令的功能是在本地机和远程机之间传送文件。该命令的一般格式如下: c:> ftp 主机名/IP

最常用的命令有:

ls 列出远程机的当前目录

cd 在远程机上改变工作目录

lcd 在本地机上改变工作目录

ascii 设置文件传输方式为ASCII 模式

binary 设置文件传输方式为二进制模式

close 终止当前的ftp 会话

hash 每次传输完数据缓冲区中的数据后就显示一个#号

get (mget ) 从远程机传送指定文件到本地机

put (mput ) 从本地机传送指定文件到远程机

open 连接远程ftp 站点

quit 断开与远程机的连接并退出ftp

关闭weblogic 命令:./stopWebLogic.sh

启动weblogic 命令:nohup ./startWebLogic.sh &

? 显示本地帮助信息

打war 包:

jar -cvf *.war ./

解war 包:

jar vxf *.war ./

删除文件夹

rm –rf 文件夹名

linux :

删除文件夹

Rm –r –f 文件夹名(删除文件夹中含有文件)

Rm –r 文件夹名;

创建文件

Mkdir –m 777 文件名

返回根目录

Cd /

拷贝

Cp 文件名 文件夹名

看tomcat 的日志

Tail –f catalina.out

查看磁盘空间

Df –k

清空日志

磁盘系统信息读取

Df –l

进程系统信息读取

ps -ef

> catalina.out

创建文件

touch 文件名。

2.

apache-ant-1.6.5-bin.tar.gz 的压缩包

首先用gunzip apache-ant-1.6.5-bin.tar.gz 密令去掉.gz

然后用 tar xvf apache-ant-1.6.5-bin.tar 密令去掉tar 解压缩

netstat -an|grep 21

查看进程的用户标识(UID )、进程号(PID )、进程占用CPU 时间(Time )、进程执行命令(CMD )四个字段的值

ps -ef | awk ‘{ print $1,$2,$7,$8 }' ----linux 下

查看服务器上进程的内存使用情况

ps -aux|awk '{print $3,$11}'|sort -r ------linux 下

ps -ef | awk '{print $3,$11,$8}'|sort -r --unix 下

# ioscan -fnC processor-------unix查看cpu

Class I H/W Path Driver S/W State H/W Type Description

===================================================================

processor 0 0/10 processor CLAIMED PROCESSOR Processor

processor 1 0/11 processor CLAIMED PROCESSOR Processor

processor 2 0/14 processor CLAIMED PROCESSOR Processor

processor 3 0/15 processor CLAIMED PROCESSOR Processor

processor 4 1/10 processor CLAIMED PROCESSOR Processor

processor 5 1/11 processor CLAIMED PROCESSOR Processor

processor 6 1/12 processor CLAIMED PROCESSOR Processor

processor 7 1/13 processor CLAIMED PROCESSOR Processor

processor 8 1/14 processor CLAIMED PROCESSOR Processor

processor 9 1/15 processor CLAIMED PROCESSOR Processor

#

cat /proc/cpuinfo---linux 查看cpu

[root@dl360 ismpweb-test]# free----linux 查看内存

total used free shared buffers cached

Mem: 2061652 1973624 88028 0 39548 785168 -/+ buffers/cache: 1148908 912744

Swap: 2044072 34284 2009788

[root@dl360 ismpweb-test]#

[root@dl360 ismpweb-test]# df -h---linux 查看硬盘

Filesystem Size Used Avail Use% Mounted on

/dev/cciss/c0d0p2 32G 29G 1.2G 96% /

/dev/cciss/c0d0p1 97M 15M 77M 16% /boot

none 1007M 0 1007M 0% /dev/shm

[root@dl360 ismpweb-test]#

# model

9000/800/rp7420

FTP 常用命令

2006年08月02日 星期三 15:59

1. 登陆命令:

$ftp 服务器命或服务器ip 地址

username:用户名

password:密码

ftp>

2. 目录操命令:

显示目录下的文件:

ftp>ls

显示服务器上的目录:

ftp>ls H*

查看当前目录:

ftp>cd(或pwd)

进入上一级目录

ftp>cd ..

更改本地机上的当前目录

ftp>lcd /usr/loca //把当前目录改成/usr/loca

进入子目录:

ftp>cd 子目录名

3. 文件传输命令:

下载命令:

ftp>get 诗经·氓.rtf

下载多个文件:

ftp>mget 诗经·氓.rtf hello.rtp 郭鹏翔.jpg

**注:mget 命令允许用通配符考贝多个文件。mget 命令会提示用户输入待拷

贝的每个文件。如果回答y ,那么文件拷贝到本地机上的当前目录下。 上传命令:

ftp>put hello.rtf //上传hello.rtf 文件到远端的ftp 服务器上。 上传多个文件:

ftp>mput 诗经·氓.rtf hello.rtf pr命令.rtf

**注意:mput 和mget 命令要注意两个问题:

(1)、不能对目标文件指定命字,在命令行上所有的文件都视做源文件

(2)、mput,mget 两个命令不能对目录进行上传下载,只能对文件

4. 设置文件的传输方式:

二进制传输:

ftp>binary //把传输模式转换一下

ftp>put putty.exe

ascII 传输:

ftp>ascii //把传输模式转换成ascII 模式

ftp>put hello.txe

**注:文件传送有两种方式,即ASCII 码和二进制码。ASCII 方式传送略快些,但要求被传送文件必须是ASCII 码文本文件。二进制码方式可以传送文本和非文本,因此,对所有文件传送都可以用二进制方式。输入命令ascii ,设置为ASCII 方式。输入命令binary 为二进制方式。

5. 退出命令:

ftp>quit

6. 文件处理:

我们在传输文件时常会遇到传输大文件这时我们要做到提高上传速度,和以后上传后以后下载的输度,我们就需要对文件在上传前做些处里如压缩,切割等操做。 还有就是有时为了不破坏原有结构,我们要做传一个目录里的文件,这时我们就要在上传前对文件做个打包如我们要把/home/eagle下的所有文件全传到ftp 服务器里,我们要把文件打个包方法如下:

$tar czvf a.tar.gz /home/eagle //把/home/eagle目录打一个a.tar.gz 的压缩包

ftp>put a.tar.gz

解压:

ftp>get a.tar.gz

$tar zxvf a.tar.gz

7. 其它常用命令:

bye:退出ftp 命令状态。

cd directory:改变远地计算机的工作目录

close :结束与远地主机系统的会话,回到ftp 命令状态。

delete filename:删除远地主机系统上指定名的文件。

dir:列出当前目录下的所有文件信息,包括文件名,文件长度及建立日期、时间。 driver:改变本地计算机的磁盘驱动器

exit:退出ftp 命令状态。

help:帮助

ls -LR:递归列表输出当前目录下的文件清单。

open:建立与远地计算机的连接,当你把文件上传到一台主机后,希望与另一个

新主机连接时可以用到它。(类似于群发)

prompt:在用mget 或mput 时很可能把以存在的或同名的文件覆盖,用它就可以防止了,如果有重复就可以把提示关掉把原有的覆盖,如不关就无法下载了。 user:用户名传送到远程计算机上,重新登陆

!:当ftp 运行时,可不退出ftp ,直接运行"!" 后就结束了你的操作。 crtl+退格:中断ftp 命令。

触发器

create or replace trigger SYNC_CMS_CONTENTS_ITEMS_TRG

after insert or update on cms_content_items

for each row

declare

mime_type varchar2(255);

syncntid number;

begin

select t.type into mime_type from cms_contents t where t.id=:new.content_id;

SELECT MAX(T.ID) INTO syncntid FROM dev.SYNC_CONTENTS T WHERE T.CONTENTID=:NEW.content_id; if inserting then

--video

if mime_type='06' then

insert into dev.sync_video_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--mms:image

elsif mime_type='02' then

insert into dev.sync_image_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--download:application

elsif mime_type='04' then

insert into dev.sync_application_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--audio

elsif mime_type='09' then

insert into dev.sync_audio_content(id,syncntid,contentid,itemid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

end if;

elsif updating then

--video

if mime_type='06' then

insert into dev.sync_video_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--mms:image

elsif mime_type='02' then

insert into dev.sync_image_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--download:application

elsif mime_type='04' then

insert into dev.sync_application_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--audio

elsif mime_type='09' then

insert into dev.sync_audio_content(id,syncntid,contentid,itemid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

end if;

end if;

end SYNC_CMS_CONTENTS_ITEMS_TRG;

===========================================================

2。。。。

create or replace trigger SYNC_CMS_CONTENTS_TRG

after insert or update or delete on cms_contents

for each row

declare

-- local variables here

begin

if inserting then

--t.id,t.name_cn,t.name_en,t.description_cn,t.description_en,t.keywords,t.type,t.original_source,

--t.copyright_owner_cn,t.copyright_owner_en,t.effectivetime,t.expiretime,t.preview_info

insert into dev.sync_contents(id,opflag,contentid,flag,serviceid,namecn,nameen,descriptioncn,descriptionen,keywords,contenttype,originalsource,copyrightownercn,copyrightowneren,effecti vedate,expirydate,useragent,previewurl)

--

values(SYNC_CMS_CONTENTS_SEQ.nextval,'1',:new.id,'1',:new.SERIAL_NO,:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

values(SYNC_CMS_CONTENTS_SEQ.nextval,'1',:new.id,'1','1',:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

elsif updating then

insert into dev.sync_contents(id,opflag,contentid,flag,serviceid,namecn,nameen,descriptioncn,descriptionen,keywords,contenttype,originalsource,copyrightownercn,copyrightowneren,effecti vedate,expirydate,useragent,previewurl)

--

values(SYNC_CMS_CONTENTS_SEQ.nextval,'2',:new.id,'1',:new.SERIAL_NO,:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

values(SYNC_CMS_CONTENTS_SEQ.nextval,'2',:new.id,'1','1',:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

elsif deleting then

insert into dev.sync_contents(id,opflag,contentid,flag,serviceid,namecn,nameen,descriptioncn,descriptionen,keywords,contenttype,originalsource,copyrightownercn,copyrightowneren,effecti vedate,expirydate,useragent,previewurl)

--

values(SYNC_CMS_CONTENTS_SEQ.nextval,'3',:old.id,'1',:old.SERIAL_NO,:old.name_cn,:old.name_en,:old.description_cn,:old.description_en,:old.keywords,:old.content_type,:old.original_source,:old.copyright_owner_cn,:old.copyright_owner_en,:old.effectivetime,:old.expiretime,'0',:old.preview_info);

values(SYNC_CMS_CONTENTS_SEQ.nextval,'3',:old.id,'1','1',:old.name_cn,:old.name_en,:old.description_cn,:old.description_en,:old.keywords,:old.content_type,:old.original_source,:old.copyright_owner_cn,:old.copyright_owner_en,:old.effectivetime,:old.expiretime,'0',:old.preview_info);

end if;

end SYNC_CMS_CONTENTS_TRG;

wsdl 参数配置

Options:

-h, --help

print this message and exit

-v, --verbose

print informational messages

-n, --noImports

only generate code for the immediate WSDL document

-O, --timeout <argument>

timeout in seconds (default is 45, specify -1 to disable)

-D, --Debug

print debug information

-W, --noWrapped

turn off support for "wrapped" document/literal

-q, --quiet

do not print any informational or debug messages (except err

ors)

-s, --server-side

emit server-side bindings for web service

-S, --skeletonDeploy <argument>

deploy skeleton (true) or implementation (false) in deploy.wsdd. Default is false. Assumes --server-side.

-N, --NStoPkg <argument>=<value>

mapping of namespace to package

-f, --fileNStoPkg <argument>

file of NStoPkg mappings (default NStoPkg.properties)

-p, --package <argument>

override all namespace to package mappings, use this package

name instead

-o, --output <argument>

output directory for emitted files

-d, --deployScope <argument>

add scope to deploy.wsdd: "Application", "Request", "Session

"

-t, --testCase

emit junit testcase class for web service

-a, --all

generate code for all elements, even unreferenced ones

-T, --typeMappingVersion <argument>

indicate 1.1 or 1.2. The default is 1.1 (SOAP 1.1 JAX-RPC c

ompliant. 1.2 indicates SOAP 1.1 encoded.)

-F, --factory <argument>

name of a custom class that implements GeneratorFactory inte

rface (for extending Java generation functions)

-H, --helperGen

emits separate Helper classes for meta data

-B, --buildFile

emit Ant Buildfile for web service

-U, --user <argument>

username to access the WSDL-URI

-P, --password <argument>

password to access the WSDL-URI

-X, --classpath

additional classpath elements

-i, --nsInclude <argument>

include namespace in generated code

-x, --nsExclude <argument>

exclude namespace from generated code

-c, --implementationClassName <argument>

custom name of web service implementation

-u, --allowInvalidURL

emit file even if WSDL endpoint URL is not a valid URL

-w, --wrapArrays

Prefers building beans to straight arrays for wrapped XML ar ray types (defaults to off). //unix proftpd安装 Mysql 常用命令:

1. 如果mysql 在自己的本机。

比如说mysql 装在. C:\mysql

命令行;c:mysql/bin/

Mysql –uroot; Show databases; Use databasename; Create tabalename; Drop tatablename

FTP 常用命令

Ftp 命令的功能是在本地机和远程机之间传送文件。该命令的一般格式如下: c:> ftp 主机名/IP

最常用的命令有:

ls 列出远程机的当前目录

cd 在远程机上改变工作目录

lcd 在本地机上改变工作目录

ascii 设置文件传输方式为ASCII 模式

binary 设置文件传输方式为二进制模式

close 终止当前的ftp 会话

hash 每次传输完数据缓冲区中的数据后就显示一个#号

get (mget ) 从远程机传送指定文件到本地机

put (mput ) 从本地机传送指定文件到远程机

open 连接远程ftp 站点

quit 断开与远程机的连接并退出ftp

关闭weblogic 命令:./stopWebLogic.sh

启动weblogic 命令:nohup ./startWebLogic.sh &

? 显示本地帮助信息

打war 包:

jar -cvf *.war ./

解war 包:

jar vxf *.war ./

删除文件夹

rm –rf 文件夹名

linux :

删除文件夹

Rm –r –f 文件夹名(删除文件夹中含有文件)

Rm –r 文件夹名;

创建文件

Mkdir –m 777 文件名

返回根目录

Cd /

拷贝

Cp 文件名 文件夹名

看tomcat 的日志

Tail –f catalina.out

查看磁盘空间

Df –k

清空日志

磁盘系统信息读取

Df –l

进程系统信息读取

ps -ef

> catalina.out

创建文件

touch 文件名。

2.

apache-ant-1.6.5-bin.tar.gz 的压缩包

首先用gunzip apache-ant-1.6.5-bin.tar.gz 密令去掉.gz

然后用 tar xvf apache-ant-1.6.5-bin.tar 密令去掉tar 解压缩

netstat -an|grep 21

查看进程的用户标识(UID )、进程号(PID )、进程占用CPU 时间(Time )、进程执行命令(CMD )四个字段的值

ps -ef | awk ‘{ print $1,$2,$7,$8 }' ----linux 下

查看服务器上进程的内存使用情况

ps -aux|awk '{print $3,$11}'|sort -r ------linux 下

ps -ef | awk '{print $3,$11,$8}'|sort -r --unix 下

# ioscan -fnC processor-------unix查看cpu

Class I H/W Path Driver S/W State H/W Type Description

===================================================================

processor 0 0/10 processor CLAIMED PROCESSOR Processor

processor 1 0/11 processor CLAIMED PROCESSOR Processor

processor 2 0/14 processor CLAIMED PROCESSOR Processor

processor 3 0/15 processor CLAIMED PROCESSOR Processor

processor 4 1/10 processor CLAIMED PROCESSOR Processor

processor 5 1/11 processor CLAIMED PROCESSOR Processor

processor 6 1/12 processor CLAIMED PROCESSOR Processor

processor 7 1/13 processor CLAIMED PROCESSOR Processor

processor 8 1/14 processor CLAIMED PROCESSOR Processor

processor 9 1/15 processor CLAIMED PROCESSOR Processor

#

cat /proc/cpuinfo---linux 查看cpu

[root@dl360 ismpweb-test]# free----linux 查看内存

total used free shared buffers cached

Mem: 2061652 1973624 88028 0 39548 785168 -/+ buffers/cache: 1148908 912744

Swap: 2044072 34284 2009788

[root@dl360 ismpweb-test]#

[root@dl360 ismpweb-test]# df -h---linux 查看硬盘

Filesystem Size Used Avail Use% Mounted on

/dev/cciss/c0d0p2 32G 29G 1.2G 96% /

/dev/cciss/c0d0p1 97M 15M 77M 16% /boot

none 1007M 0 1007M 0% /dev/shm

[root@dl360 ismpweb-test]#

# model

9000/800/rp7420

FTP 常用命令

2006年08月02日 星期三 15:59

1. 登陆命令:

$ftp 服务器命或服务器ip 地址

username:用户名

password:密码

ftp>

2. 目录操命令:

显示目录下的文件:

ftp>ls

显示服务器上的目录:

ftp>ls H*

查看当前目录:

ftp>cd(或pwd)

进入上一级目录

ftp>cd ..

更改本地机上的当前目录

ftp>lcd /usr/loca //把当前目录改成/usr/loca

进入子目录:

ftp>cd 子目录名

3. 文件传输命令:

下载命令:

ftp>get 诗经·氓.rtf

下载多个文件:

ftp>mget 诗经·氓.rtf hello.rtp 郭鹏翔.jpg

**注:mget 命令允许用通配符考贝多个文件。mget 命令会提示用户输入待拷

贝的每个文件。如果回答y ,那么文件拷贝到本地机上的当前目录下。 上传命令:

ftp>put hello.rtf //上传hello.rtf 文件到远端的ftp 服务器上。 上传多个文件:

ftp>mput 诗经·氓.rtf hello.rtf pr命令.rtf

**注意:mput 和mget 命令要注意两个问题:

(1)、不能对目标文件指定命字,在命令行上所有的文件都视做源文件

(2)、mput,mget 两个命令不能对目录进行上传下载,只能对文件

4. 设置文件的传输方式:

二进制传输:

ftp>binary //把传输模式转换一下

ftp>put putty.exe

ascII 传输:

ftp>ascii //把传输模式转换成ascII 模式

ftp>put hello.txe

**注:文件传送有两种方式,即ASCII 码和二进制码。ASCII 方式传送略快些,但要求被传送文件必须是ASCII 码文本文件。二进制码方式可以传送文本和非文本,因此,对所有文件传送都可以用二进制方式。输入命令ascii ,设置为ASCII 方式。输入命令binary 为二进制方式。

5. 退出命令:

ftp>quit

6. 文件处理:

我们在传输文件时常会遇到传输大文件这时我们要做到提高上传速度,和以后上传后以后下载的输度,我们就需要对文件在上传前做些处里如压缩,切割等操做。 还有就是有时为了不破坏原有结构,我们要做传一个目录里的文件,这时我们就要在上传前对文件做个打包如我们要把/home/eagle下的所有文件全传到ftp 服务器里,我们要把文件打个包方法如下:

$tar czvf a.tar.gz /home/eagle //把/home/eagle目录打一个a.tar.gz 的压缩包

ftp>put a.tar.gz

解压:

ftp>get a.tar.gz

$tar zxvf a.tar.gz

7. 其它常用命令:

bye:退出ftp 命令状态。

cd directory:改变远地计算机的工作目录

close :结束与远地主机系统的会话,回到ftp 命令状态。

delete filename:删除远地主机系统上指定名的文件。

dir:列出当前目录下的所有文件信息,包括文件名,文件长度及建立日期、时间。 driver:改变本地计算机的磁盘驱动器

exit:退出ftp 命令状态。

help:帮助

ls -LR:递归列表输出当前目录下的文件清单。

open:建立与远地计算机的连接,当你把文件上传到一台主机后,希望与另一个

新主机连接时可以用到它。(类似于群发)

prompt:在用mget 或mput 时很可能把以存在的或同名的文件覆盖,用它就可以防止了,如果有重复就可以把提示关掉把原有的覆盖,如不关就无法下载了。 user:用户名传送到远程计算机上,重新登陆

!:当ftp 运行时,可不退出ftp ,直接运行"!" 后就结束了你的操作。 crtl+退格:中断ftp 命令。

触发器

create or replace trigger SYNC_CMS_CONTENTS_ITEMS_TRG

after insert or update on cms_content_items

for each row

declare

mime_type varchar2(255);

syncntid number;

begin

select t.type into mime_type from cms_contents t where t.id=:new.content_id;

SELECT MAX(T.ID) INTO syncntid FROM dev.SYNC_CONTENTS T WHERE T.CONTENTID=:NEW.content_id; if inserting then

--video

if mime_type='06' then

insert into dev.sync_video_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--mms:image

elsif mime_type='02' then

insert into dev.sync_image_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--download:application

elsif mime_type='04' then

insert into dev.sync_application_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--audio

elsif mime_type='09' then

insert into dev.sync_audio_content(id,syncntid,contentid,itemid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

end if;

elsif updating then

--video

if mime_type='06' then

insert into dev.sync_video_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--mms:image

elsif mime_type='02' then

insert into dev.sync_image_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--download:application

elsif mime_type='04' then

insert into dev.sync_application_content(id,syncntid,itemid,contentid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

--audio

elsif mime_type='09' then

insert into dev.sync_audio_content(id,syncntid,contentid,itemid,mimetype,contentsize,contenturl)

values(SYNC_CMS_CONTENTS_ITEM_SEQ.NEXTVAL,syncntid,:new.id,:new.CONTENT_ID,mime_type,:new.SIZENUM,:new.CONTENT_URL);

end if;

end if;

end SYNC_CMS_CONTENTS_ITEMS_TRG;

===========================================================

2。。。。

create or replace trigger SYNC_CMS_CONTENTS_TRG

after insert or update or delete on cms_contents

for each row

declare

-- local variables here

begin

if inserting then

--t.id,t.name_cn,t.name_en,t.description_cn,t.description_en,t.keywords,t.type,t.original_source,

--t.copyright_owner_cn,t.copyright_owner_en,t.effectivetime,t.expiretime,t.preview_info

insert into dev.sync_contents(id,opflag,contentid,flag,serviceid,namecn,nameen,descriptioncn,descriptionen,keywords,contenttype,originalsource,copyrightownercn,copyrightowneren,effecti vedate,expirydate,useragent,previewurl)

--

values(SYNC_CMS_CONTENTS_SEQ.nextval,'1',:new.id,'1',:new.SERIAL_NO,:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

values(SYNC_CMS_CONTENTS_SEQ.nextval,'1',:new.id,'1','1',:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

elsif updating then

insert into dev.sync_contents(id,opflag,contentid,flag,serviceid,namecn,nameen,descriptioncn,descriptionen,keywords,contenttype,originalsource,copyrightownercn,copyrightowneren,effecti vedate,expirydate,useragent,previewurl)

--

values(SYNC_CMS_CONTENTS_SEQ.nextval,'2',:new.id,'1',:new.SERIAL_NO,:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

values(SYNC_CMS_CONTENTS_SEQ.nextval,'2',:new.id,'1','1',:new.name_cn,:new.name_en,:new.description_cn,:new.description_en,:new.keywords,:new.content_type,:new.original_source,:new.copyright_owner_cn,:new.copyright_owner_en,:new.effectivetime,:new.expiretime,'0',:new.preview_info);

elsif deleting then

insert into dev.sync_contents(id,opflag,contentid,flag,serviceid,namecn,nameen,descriptioncn,descriptionen,keywords,contenttype,originalsource,copyrightownercn,copyrightowneren,effecti vedate,expirydate,useragent,previewurl)

--

values(SYNC_CMS_CONTENTS_SEQ.nextval,'3',:old.id,'1',:old.SERIAL_NO,:old.name_cn,:old.name_en,:old.description_cn,:old.description_en,:old.keywords,:old.content_type,:old.original_source,:old.copyright_owner_cn,:old.copyright_owner_en,:old.effectivetime,:old.expiretime,'0',:old.preview_info);

values(SYNC_CMS_CONTENTS_SEQ.nextval,'3',:old.id,'1','1',:old.name_cn,:old.name_en,:old.description_cn,:old.description_en,:old.keywords,:old.content_type,:old.original_source,:old.copyright_owner_cn,:old.copyright_owner_en,:old.effectivetime,:old.expiretime,'0',:old.preview_info);

end if;

end SYNC_CMS_CONTENTS_TRG;

wsdl 参数配置

Options:

-h, --help

print this message and exit

-v, --verbose

print informational messages

-n, --noImports

only generate code for the immediate WSDL document

-O, --timeout <argument>

timeout in seconds (default is 45, specify -1 to disable)

-D, --Debug

print debug information

-W, --noWrapped

turn off support for "wrapped" document/literal

-q, --quiet

do not print any informational or debug messages (except err

ors)

-s, --server-side

emit server-side bindings for web service

-S, --skeletonDeploy <argument>

deploy skeleton (true) or implementation (false) in deploy.wsdd. Default is false. Assumes --server-side.

-N, --NStoPkg <argument>=<value>

mapping of namespace to package

-f, --fileNStoPkg <argument>

file of NStoPkg mappings (default NStoPkg.properties)

-p, --package <argument>

override all namespace to package mappings, use this package

name instead

-o, --output <argument>

output directory for emitted files

-d, --deployScope <argument>

add scope to deploy.wsdd: "Application", "Request", "Session

"

-t, --testCase

emit junit testcase class for web service

-a, --all

generate code for all elements, even unreferenced ones

-T, --typeMappingVersion <argument>

indicate 1.1 or 1.2. The default is 1.1 (SOAP 1.1 JAX-RPC c

ompliant. 1.2 indicates SOAP 1.1 encoded.)

-F, --factory <argument>

name of a custom class that implements GeneratorFactory inte

rface (for extending Java generation functions)

-H, --helperGen

emits separate Helper classes for meta data

-B, --buildFile

emit Ant Buildfile for web service

-U, --user <argument>

username to access the WSDL-URI

-P, --password <argument>

password to access the WSDL-URI

-X, --classpath

additional classpath elements

-i, --nsInclude <argument>

include namespace in generated code

-x, --nsExclude <argument>

exclude namespace from generated code

-c, --implementationClassName <argument>

custom name of web service implementation

-u, --allowInvalidURL

emit file even if WSDL endpoint URL is not a valid URL

-w, --wrapArrays

Prefers building beans to straight arrays for wrapped XML ar ray types (defaults to off). //unix proftpd安装 Mysql 常用命令:

1. 如果mysql 在自己的本机。

比如说mysql 装在. C:\mysql

命令行;c:mysql/bin/

Mysql –uroot; Show databases; Use databasename; Create tabalename; Drop tatablename


相关作文

  • 常用的cmd密令作文20200字
  • cmd 命令大全(第一部分) systeminfo 查看电脑基本信息 winver---------检查Windows 版本 wmimgmt.msc----打开windows 管理体系结构(WMI) wupdmgr--------windows 更新程序 wscript--------windows ...

  • ORACLE常用密令作文1300字
  • //创建临时表空间 create temporary tablespace test_temp tempfile 'E:\oracle\product\10.2.0\oradata\testserver\test_temp01.dbf' size 32m autoextend on next 32m ...

  • 从头开始学代理(新手必读)作文12200字
  • 什么是免费代理服务器 在使用代理猎手等软件搜索代理服务器地址时,会在验证状态栏中出现类似"要 密码"."Free "等字样.如果你把"Free "的地址设置为代理服务器,那你就 会发现访问网页时不会要求你输入密码了.这就是"免费的 ...

  • 不思议迷宫密令游民获取 大量资源密令汇总作文1000字
  • 不思议迷宫密令游民获取 大量资源密令汇总 来源:网络 作者:哒哒猫 时间:2017-01-05 不思议迷宫密令能帮助大家获取非常多的材料资源,很多小伙伴都不知道怎么获取这些材料,接下来就和18183小编一起来看看吧. 密令:T7532 密令:LT6382 密令汇总 接下来是每人可用一次的全部密令汇总 ...

  • 联通手机密令作文700字
  • 联通手机密令 业务名称:联通手机密令 使用范围:联通手机用户 适用终端:目前中国联通手机密令已推出ios .android 两个版本,即iphone 手机及安装android 操作系统的手机. 产品介绍:手机密令是安全工具的一种,是由中国联通和时代亿宝公司联合推出的一款采用动态口令技术的安全产品.该 ...

  • 密令作文600字
  • 今天的阅读课,周老师一进教室便喜滋滋地告诉我们说:"下面,我们要玩一个非常有趣的游戏,游戏的名字叫作'密令 接下来,周老师把游戏规则告诉了我们.要求全体同学分成两队,各自站在指定的位置.老师将"密令"说给各队的第一位同学,从他开始挨个往后传达."密令" ...

  • 密令作文1100字
  • 今天下午因为要写作文,同学们像泄了气的皮球--无精打采.没想到老师却说,这节课我们不写作文了,玩一个游戏.同学们听了这个好消息,个个摩拳擦掌,兴高采烈. 周老师先把我们分成两队.Me,周文洁,王嘉乐,刘子睿,刘佳欣,刘斯琪六人一队.经商量后,我们这队叫"特工队",而另一队叫&qu ...

  • android密令创建emulator作文0字
  • 创建 emulator 启动 emulator 安装 apk 删除 apk

  • ★电脑高手密令作文0字
你可能喜欢
聚合