version 1.361, 2006/01/06 10:12:57
|
version 1.362, 2006/04/04 15:09:48
|
Line 3420 int PutObjectWWW (int docid, char *fileN
|
Line 3420 int PutObjectWWW (int docid, char *fileN
|
} |
} |
|
|
AmayaLastHTTPErrorMsg [0] = EOS; |
AmayaLastHTTPErrorMsg [0] = EOS; |
AmayaLastHTTPErrorMsgR [0] = EOS; |
|
|
|
|
|
if (urlName == NULL || docid == 0 || fileName == NULL |
if (urlName == NULL || docid == 0 || fileName == NULL |
|| !TtaFileExist (fileName)) |
|| !TtaFileExist (fileName)) |
/* no file to be uploaded */ |
/* no file to be uploaded */ |
Line 3481 int PutObjectWWW (int docid, char *fileN
|
Line 3478 int PutObjectWWW (int docid, char *fileN
|
tmp = strrchr (me->default_put_name, URL_SEP); |
tmp = strrchr (me->default_put_name, URL_SEP); |
if (tmp) |
if (tmp) |
{ |
{ |
/* it is a URL finishing in /. Only add the resrouce name */ |
/* it is a URL finishing in /. Only add the resource name */ |
tmp++; |
tmp++; |
strcpy (tmp, resource_name); |
strcpy (tmp, resource_name); |
} |
} |