FirstClassトップページ


 ヘルプの目次
このヘルプについて このヘルプについて
 
エンドユーザ向けヘルプ エンドユーザ向けヘルプ
Client Help クライアントヘルプ
Web Help Webアクセスヘルプ
ScreenReader Help スクリーンリーダ
Form フォーム
Synchronization 同期
Definitions 用語
container コンテナ
 
管理者向けヘルプ 管理者向けヘルプ
Administration サーバの管理
Internet Services インターネットサービス
Customization Tools カスタマイズツール(英語)
Administering OTSW OTSWの管理
OTSW Custodian OTSW Custodian
Using FirstClass ED FirstClass ED(英語)
 
バナー:
 
 HTTP.SendAttachMIMEType
ホーム • Customization Tools • FCAS • Language Reference • HTTP.SendAttachMIMEType
 
Purpose
Specifies the MIME type of an attachment to be sent to the remote server.
Syntax
HTTP.SendAttachMIMEType [(Index)] = "MIMEType"


Index
The integer index that identifies the attachment, in the case of multiple attachments.

Example
Dim WebService as HTTP
Dim f as File

f.OpenFile("test.jpg")

WebService.SendBody = "Hello World"
WebService.Timeout = 5
WebService.SendContentType = "application/octet-stream"
WebService.UseChunking = FALSE
WebService.SendHeader("X-SPECIAL","Orangutan")
WebService.SendAttachFilename = "test.jpg"
WebService.SendAttachContentType = "application/octet-stream"
WebService.SendAttachMIMEType = "image/jpeg"
WebService.SendAttachment = f
WebService.Post("127.0.0.1")
Debug "Return code from HTTP server is " & WebService.Error
Debug "Reply is:" & fcCR & WebService.ReplyBody
Debug "X-SPECIAL header is " & WebService.ReplyHeader("X-SPECIAL")
Debug "Attachment content ID separator is " & WebService.ReplyAttachContentID
Debug "Attachment length is " & Len(WebService.ReplyAttachment)

 

Copyright(C) 2002-2012 FC Management Co. All Rights Reserved<