由买买提看人间百态

topics

全部话题 - 话题: afile
(共0页)
B**z
发帖数: 153
1
for afile in *;do
if echo $afile |grep [A-Z] >/dev/null;then
mv $afile `echo $afile|tr "[:upper:]" "[:lower:]"`
fi
done
B**z
发帖数: 153
2
来自主题: Unix版 - 有关Unix shell script的问题
#!/bin/ksh
if [ $# -lt 2 -o $# -gt 3 ];then
echo "Usage:$0 ext newext [path]"
exit 1
fi
if [ $# -eq 2 ];then
DIR=.
else
if [ -d $3 ];then
DIR=$3
else
echo "$3 does not exit."
exit 2
fi
fi
oldext=$1
newext=$2
((fileschanged=0))
files=$DIR/*.$oldext
for afile in $files;do
if [ -f $afile ];then
mv $afile ${afile%$oldext}$newext
((fileschanged=fileschanged+1))
fi
done
echo "$fileschanged \c"
if [ $fileschanged -gt 1 ];then
echo "files changed."
else
echo "file changed.
l******9
发帖数: 579
3
来自主题: JobHunting版 - IIS7.5 大于 64KB 文件不能下载 ?
大于 64KB 文件不能下载 (from C# code). 大于 文件不能完全下载, 只能下载 64KB
, 然后
truncated. Why ?
I have published a web service application (C# built in VS2010) to a desktop
with IIS 7.5 win7.
The web service has been hosted successfully on win 7.
Now I can install the application on my laptop (win 7) by accessing the URL
http://myDesktopName.domain.com/MyApp/MyAppSetup.msi
pointing to a physical location in desktop
E:myPathmyAppmyAppService.svc
Now, in my application, I need to download (from C# on my laptop) a .da... 阅读全帖
j**y
发帖数: 462
4
来自主题: Visa版 - 关于加拿大签证:寄护照
lots of error during my applied online, spent about 5 days to finish
submitting,
for uploading, make sure the file type is correct, it would be crushed once
u submit afile with wrong type, eg. require img but pun or sth like that
m***k
发帖数: 83
5
没填,USCIS会去帮你找的,或者assign个新的然后和你之前的都归在一个afile里。乱
填是不行的。
r*******k
发帖数: 1423
6
谢谢版主!
那请问什么Afile name check还会进行么?
y******0
发帖数: 8807
7
会。但是等你current了还会再check。


: 谢谢版主!

: 那请问什么Afile name check还会进行么?

x***n
发帖数: 98
8
问题本身和Mac无关,只是我用Mac而已。
知道一个人网页, 例如 http://abcdef.edu/~Person/
而且我也知道有这么一个文件(在主页中没有任何link),例如 http://abcdef.edu/~Person/afile.pdf
怎么能够知道还有什么别的类似的文件在同一个网址下呢?
thanks
L*****y
发帖数: 4290
9
wget

问题本身和Mac无关,只是我用Mac而已。
知道一个人网页, 例如 http://abcdef.edu/~Person/
而且我也知道有这么一个文件(在主页中没有任何link),例如 http://abcdef.edu/~Person/afile.pdf
怎么能够知道还有什么别的类似的文件在同一个网址下呢?
thanks
m*****y
发帖数: 224
10
来自主题: Java版 - 新手问一个多线程的问题
我要实现一个简单的web server,不需要考虑过载之类太复杂的情况,就假定有20个左
右的clients会同时连接上来。需要对于每一个进来的client都分一个thread去处理。
我做了一个clientHandler class
public class ClientHandler implements Runnable{
private Socket imcoming; //client
private BufferredReader reader; //read from client socket
private PrintWriter writer; //write to client socket
public void clientInterpreter(){
//处理client的各种请求
}

public void run(){
clientInterpreter();
}

private int methodA(String filePath){
File afile = new File(file
l******9
发帖数: 579
11
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: IIS7.5 大于 64KB 文件不能下载 ?
发信站: BBS 未名空间站 (Tue Jun 23 12:47:53 2015, 美东)
大于 64KB 文件不能下载 (from C# code). 大于 文件不能完全下载, 只能下载 64KB
, 然后
truncated. Why ?
I have published a web service application (C# built in VS2010) to a desktop
with IIS 7.5 win7.
The web service has been hosted successfully on win 7.
Now I can install the application on my laptop (win 7) by accessing the URL
http://myDesktopName.domain.com/MyApp/MyAppSetup.msi
... 阅读全帖
l******9
发帖数: 579
12
【 以下文字转载自 JobHunting 讨论区 】
发信人: light009 (light009), 信区: JobHunting
标 题: IIS7.5 大于 64KB 文件不能下载 ?
发信站: BBS 未名空间站 (Tue Jun 23 12:47:53 2015, 美东)
大于 64KB 文件不能下载 (from C# code). 大于 文件不能完全下载, 只能下载 64KB
, 然后
truncated. Why ?
I have published a web service application (C# built in VS2010) to a desktop
with IIS 7.5 win7.
The web service has been hosted successfully on win 7.
Now I can install the application on my laptop (win 7) by accessing the URL
http://myDesktopName.domain.com/MyApp/MyAppSetup.msi
... 阅读全帖
(共0页)