收藏_FTP参数解释

CWD – change working directory 更改目录
DELE – delete a remote file 删除文件
LIST – list remote files 列目录
MKD – make a remote directory 新建文件夹
NLST – name list of remote directory
PWD – print working directory 显示当前工作目录
RETR – retrieve a remote file 下载文件
RMD – remove a remote directory 删除目录
RNFR – rename from 重命名
RNTO – rename to 重命名
STOR – store a file on the remote host 上传文件
ABOR – abort a file transfer 取消文件传输
CWD – change working directory 更改目录
DELE – delete a remote file 删除文件
LIST – list remote files 列目录
MDTM – return the modification time of a file 返回文件的更新时间
MKD – make a remote directory 新建文件夹
NLST – name list of remote directory
PASS – send password
PASV – enter passive mode
PORT – open a data port 打开一个传输端口
PWD – print working directory 显示当前工作目录
QUIT – terminate the connection 退出
RETR – retrieve a remote file 下载文件
RMD – remove a remote directory
RNFR – rename from # RNTO – rename to
SITE – site-specific commands
SIZE – return the size of a file 返回文件大小
STOR – store a file on the remote host 上传文件
TYPE – set transfer type 设置传输类型
USER – send username 发送用户名

windows批处理批量添加IP

使用BAT脚本批量添加IP,省去手工输入的时间。

  1. @echo off
  2. for /l %%a in (2,1,254) do netsh interface ip add address name="Local Area Connection" addr=1.1.1.%%a mask=255.255.255.248

windows2003 Event ID:5

windows2003系统日志出现大量event ID为5的错误日志,都是asp引起的
以下设置可以解决:
为C:\windows\Help\iisHelp\common添加network service默认权限
为C:\windows\system32\inetsrv\ASP Compiled Templates添加network service为全部控制

  1. Event Type: Error
  2. Event Source: Active Server Pages
  3. Event Category: None
  4. Event ID: 5
  5. Date: 2010-3-25
  6. Time: 0:34:14
  7. User: N/A
  8. Computer: xxx
  9. Description:
  10. Error: The Template Persistent Cache initialization failed for Application Pool 'brandshipper' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes..
  11.  
  12. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

asp虚拟主机支持flv格式

公司一合作伙伴抱怨他的客户在万网买的空间可以播放flv,而在他的空间却不行。

  1. 网站右键属性,HTTP头,MIME类型,新建
  2. 扩展名: .flv
  3. MIME 类型:video/x-flv

asp网站报错80070005及80004005

同事反映ASP网站打开报错

  1. Server object error 'ASP 0178 : 80070005'
  2.  
  3. Server.CreateObject Access Error
  4.  
  5. /conn/conn.asp, line 9
  6.  
  7. The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

给了 “C:\Program Files\Common Files” network的权限,又报错

  1. Microsoft JET Database Engine error 80004005 Selected collating sequence not supported by the operating system. /conn.asp
  2. 0x80004005 Unspecified error

需要给c盘windows的temp文件夹everyone读取写入权限

3 «123»