s*o
2 楼
断断续续查了几天,知道要申请,但是不知道还需要申请啥?知道的同学能不能上来说
一下呀。谢谢啦!
一下呀。谢谢啦!
f*7
3 楼
TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
senator office打个电话让他们帮忙问问。
没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
bless all!
出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
senator office打个电话让他们帮忙问问。
没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
bless all!
S*x
4 楼
靠,居然和个棒子谈恋爱还送上门,还激情,哎哎哎
以后决定抵制高圆圆的片子
以后决定抵制高圆圆的片子
l*6
5 楼
到底有啥牛逼的功能?
c*m
6 楼
【 以下文字转载自 Linux 讨论区 】
发信人: chatham (聊天火腿), 信区: Linux
标 题: 在服务器端如何确认一个文件已经ftp传输完毕?
发信站: BBS 未名空间站 (Fri Mar 14 12:01:49 2014, 美东)
我需要在服务器上监测一个ftp目录,客户上传文件之后,这里把文件拷贝(mv)到
backup目录然后解压分析处理。
我总能用列文件的方式对在这个目录出现的文件处理,但是我怎么能知道这个文件是“
正在传输中”还是“已经完成传输”?
我所能想到的方法就是用file modified time跟当前 server clock比较,如果已经超
过1分钟(或者更长时间,5分钟?)就认为完成传输。
有什么建议?谢谢。
Ubuntu 12.04服务器。
发信人: chatham (聊天火腿), 信区: Linux
标 题: 在服务器端如何确认一个文件已经ftp传输完毕?
发信站: BBS 未名空间站 (Fri Mar 14 12:01:49 2014, 美东)
我需要在服务器上监测一个ftp目录,客户上传文件之后,这里把文件拷贝(mv)到
backup目录然后解压分析处理。
我总能用列文件的方式对在这个目录出现的文件处理,但是我怎么能知道这个文件是“
正在传输中”还是“已经完成传输”?
我所能想到的方法就是用file modified time跟当前 server clock比较,如果已经超
过1分钟(或者更长时间,5分钟?)就认为完成传输。
有什么建议?谢谢。
Ubuntu 12.04服务器。
s*n
7 楼
PLEASE show your support and share your comments!
Both anonymous and non-anonymous are welcome!
【 以下文字转载自 Military 讨论区 】
发信人: laodou (别拿豆包不当干粮), 信区: Military
标 题: 好象UCSD的校报报道了,而且还有投票,赶紧去投
发信站: BBS 未名空间站 (Thu May 26 09:41:25 2011, 美东)
http://www.ucsdguardian.org/news/chem-prof.apologizes-for-websi
racial-slur/
Chem Prof.Apologizes for Website With Racial Slur
Posted on 25 May 2011
By Rebecca Horwitz
Polls
Was the use of the word "China man" offensive?
It was meant as a joke (44%, 4 Votes)
Yes, it was a racial slur (33%, 3 Votes)
I'm not personally offended (23%, 2 Votes)
Total Voters: 9
Loading ...
Polls Archive
Both anonymous and non-anonymous are welcome!
【 以下文字转载自 Military 讨论区 】
发信人: laodou (别拿豆包不当干粮), 信区: Military
标 题: 好象UCSD的校报报道了,而且还有投票,赶紧去投
发信站: BBS 未名空间站 (Thu May 26 09:41:25 2011, 美东)
http://www.ucsdguardian.org/news/chem-prof.apologizes-for-websi
racial-slur/
Chem Prof.Apologizes for Website With Racial Slur
Posted on 25 May 2011
By Rebecca Horwitz
Polls
Was the use of the word "China man" offensive?
It was meant as a joke (44%, 4 Votes)
Yes, it was a racial slur (33%, 3 Votes)
I'm not personally offended (23%, 2 Votes)
Total Voters: 9
Loading ...
Polls Archive
s*o
9 楼
Haha, I found it:
"foreign workers must also obtain a Temporary Resident Visa, which is
usually issued along with the work permit."
Quoted from http://www.servicecanada.gc.ca/eng/goc/work_permits.shtml
【在 s***o 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 断断续续查了几天,知道要申请,但是不知道还需要申请啥?知道的同学能不能上来说
: 一下呀。谢谢啦!
"foreign workers must also obtain a Temporary Resident Visa, which is
usually issued along with the work permit."
Quoted from http://www.servicecanada.gc.ca/eng/goc/work_permits.shtml
【在 s***o 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 断断续续查了几天,知道要申请,但是不知道还需要申请啥?知道的同学能不能上来说
: 一下呀。谢谢啦!
h*7
10 楼
CONG!
g*y
12 楼
apple's cloud
b*6
13 楼
只是一个想法
查看文件 node 是不是有别的打开,如果有,是不是 ftp
看看 lsof 命令能不能帮忙。
【在 c*****m 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: chatham (聊天火腿), 信区: Linux
: 标 题: 在服务器端如何确认一个文件已经ftp传输完毕?
: 发信站: BBS 未名空间站 (Fri Mar 14 12:01:49 2014, 美东)
: 我需要在服务器上监测一个ftp目录,客户上传文件之后,这里把文件拷贝(mv)到
: backup目录然后解压分析处理。
: 我总能用列文件的方式对在这个目录出现的文件处理,但是我怎么能知道这个文件是“
: 正在传输中”还是“已经完成传输”?
: 我所能想到的方法就是用file modified time跟当前 server clock比较,如果已经超
: 过1分钟(或者更长时间,5分钟?)就认为完成传输。
查看文件 node 是不是有别的打开,如果有,是不是 ftp
看看 lsof 命令能不能帮忙。
【在 c*****m 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: chatham (聊天火腿), 信区: Linux
: 标 题: 在服务器端如何确认一个文件已经ftp传输完毕?
: 发信站: BBS 未名空间站 (Fri Mar 14 12:01:49 2014, 美东)
: 我需要在服务器上监测一个ftp目录,客户上传文件之后,这里把文件拷贝(mv)到
: backup目录然后解压分析处理。
: 我总能用列文件的方式对在这个目录出现的文件处理,但是我怎么能知道这个文件是“
: 正在传输中”还是“已经完成传输”?
: 我所能想到的方法就是用file modified time跟当前 server clock比较,如果已经超
: 过1分钟(或者更长时间,5分钟?)就认为完成传输。
F*x
14 楼
vote了,现在98%
【在 s*********n 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: PLEASE show your support and share your comments!
: Both anonymous and non-anonymous are welcome!
: 【 以下文字转载自 Military 讨论区 】
: 发信人: laodou (别拿豆包不当干粮), 信区: Military
: 标 题: 好象UCSD的校报报道了,而且还有投票,赶紧去投
: 发信站: BBS 未名空间站 (Thu May 26 09:41:25 2011, 美东)
: http://www.ucsdguardian.org/news/chem-prof.apologizes-for-websi
: racial-slur/
: Chem Prof.Apologizes for Website With Racial Slur
: Posted on 25 May 2011
【在 s*********n 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: PLEASE show your support and share your comments!
: Both anonymous and non-anonymous are welcome!
: 【 以下文字转载自 Military 讨论区 】
: 发信人: laodou (别拿豆包不当干粮), 信区: Military
: 标 题: 好象UCSD的校报报道了,而且还有投票,赶紧去投
: 发信站: BBS 未名空间站 (Thu May 26 09:41:25 2011, 美东)
: http://www.ucsdguardian.org/news/chem-prof.apologizes-for-websi
: racial-slur/
: Chem Prof.Apologizes for Website With Racial Slur
: Posted on 25 May 2011
m*y
16 楼
有。我。nsc的。
bless
bless
M*G
17 楼
唉,可惜了当年我惊为天人的周芷若啊
n*t
18 楼
先 ftp to ./tmp,然后 mv to ./upload,假设你是用 web 做 upload
【在 c*****m 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: chatham (聊天火腿), 信区: Linux
: 标 题: 在服务器端如何确认一个文件已经ftp传输完毕?
: 发信站: BBS 未名空间站 (Fri Mar 14 12:01:49 2014, 美东)
: 我需要在服务器上监测一个ftp目录,客户上传文件之后,这里把文件拷贝(mv)到
: backup目录然后解压分析处理。
: 我总能用列文件的方式对在这个目录出现的文件处理,但是我怎么能知道这个文件是“
: 正在传输中”还是“已经完成传输”?
: 我所能想到的方法就是用file modified time跟当前 server clock比较,如果已经超
: 过1分钟(或者更长时间,5分钟?)就认为完成传输。
【在 c*****m 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: chatham (聊天火腿), 信区: Linux
: 标 题: 在服务器端如何确认一个文件已经ftp传输完毕?
: 发信站: BBS 未名空间站 (Fri Mar 14 12:01:49 2014, 美东)
: 我需要在服务器上监测一个ftp目录,客户上传文件之后,这里把文件拷贝(mv)到
: backup目录然后解压分析处理。
: 我总能用列文件的方式对在这个目录出现的文件处理,但是我怎么能知道这个文件是“
: 正在传输中”还是“已经完成传输”?
: 我所能想到的方法就是用file modified time跟当前 server clock比较,如果已经超
: 过1分钟(或者更长时间,5分钟?)就认为完成传输。
a*e
20 楼
Congrats!!!!baozi!
m*r
23 楼
Gx.
l*s
24 楼
look at your ftp server's log, they will contain the information.
f*1
25 楼
cong!
k*b
27 楼
Congratulations! Hope your LP gets hers soon!
【在 f*******7 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
【在 f*******7 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
m*t
28 楼
http://www.perlmonks.org/?node_id=582713
两个方案:
1. 设置ftp server,上传完成后自动转存到指定目录 (inotify或者cronjob这里应该
都可以)
2. 定义parse ftp server的log,找完成标识
【在 c*****m 的大作中提到】![](/moin_static193/solenoid/img/up.png)
:
: 客户是用普通ftp软件上传,我这里就是要判断何时上传完毕,再mv.
: 查 node的方式听起来不错,我查一些资料看,谢了。
两个方案:
1. 设置ftp server,上传完成后自动转存到指定目录 (inotify或者cronjob这里应该
都可以)
2. 定义parse ftp server的log,找完成标识
【在 c*****m 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
:
: 客户是用普通ftp软件上传,我这里就是要判断何时上传完毕,再mv.
: 查 node的方式听起来不错,我查一些资料看,谢了。
R*s
29 楼
Cong! 希望她很快拿到。
【在 f*******7 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
【在 f*******7 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
n*s
31 楼
cong!
c*m
32 楼
文件会是zip文件。也许我可以用zip来检查它是否完整?
M*1
33 楼
Bless!
c*m
34 楼
谢了。看起来还是很古老的问题呢,8年了。
【在 m******t 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://www.perlmonks.org/?node_id=582713
: 两个方案:
: 1. 设置ftp server,上传完成后自动转存到指定目录 (inotify或者cronjob这里应该
: 都可以)
: 2. 定义parse ftp server的log,找完成标识
k*o
35 楼
凑整,发十个包子吧,人品就上来啦:)
c*m
36 楼
最后还是用验证zip file的方式来做了。因为我所拿到的都是 zip file,如果最后部
分没有上传上来的话,unzip -v 会说:
unzip -v a1.zip
Archive: a1.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of a1.zip or
a1.zip.zip, and cannot find a1.zip.ZIP, period.
(exit code=9)
而用python的 zipfile.is_zipfile(filelocation) 就会得到 false.
所以我用这个就足够判断了。
谢谢大家的讨论。
分没有上传上来的话,unzip -v 会说:
unzip -v a1.zip
Archive: a1.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of a1.zip or
a1.zip.zip, and cannot find a1.zip.ZIP, period.
(exit code=9)
而用python的 zipfile.is_zipfile(filelocation) 就会得到 false.
所以我用这个就足够判断了。
谢谢大家的讨论。
r*o
37 楼
Cong~
m*t
38 楼
上传是zip的话就容易不少,:)
【在 c*****m 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 最后还是用验证zip file的方式来做了。因为我所拿到的都是 zip file,如果最后部
: 分没有上传上来的话,unzip -v 会说:
: unzip -v a1.zip
: Archive: a1.zip
: End-of-central-directory signature not found. Either this file is not
: a zipfile, or it constitutes one disk of a multi-part archive. In the
: latter case the central directory and zipfile comment will be found on
: the last disk(s) of this archive.
: unzip: cannot find zipfile directory in one of a1.zip or
: a1.zip.zip, and cannot find a1.zip.ZIP, period.
【在 c*****m 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 最后还是用验证zip file的方式来做了。因为我所拿到的都是 zip file,如果最后部
: 分没有上传上来的话,unzip -v 会说:
: unzip -v a1.zip
: Archive: a1.zip
: End-of-central-directory signature not found. Either this file is not
: a zipfile, or it constitutes one disk of a multi-part archive. In the
: latter case the central directory and zipfile comment will be found on
: the last disk(s) of this archive.
: unzip: cannot find zipfile directory in one of a1.zip or
: a1.zip.zip, and cannot find a1.zip.ZIP, period.
P*e
39 楼
n*t
40 楼
Calluploadscript 更省事吧,天生为你这个问题设计的
【在 c*****m 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 最后还是用验证zip file的方式来做了。因为我所拿到的都是 zip file,如果最后部
: 分没有上传上来的话,unzip -v 会说:
: unzip -v a1.zip
: Archive: a1.zip
: End-of-central-directory signature not found. Either this file is not
: a zipfile, or it constitutes one disk of a multi-part archive. In the
: latter case the central directory and zipfile comment will be found on
: the last disk(s) of this archive.
: unzip: cannot find zipfile directory in one of a1.zip or
: a1.zip.zip, and cannot find a1.zip.ZIP, period.
【在 c*****m 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 最后还是用验证zip file的方式来做了。因为我所拿到的都是 zip file,如果最后部
: 分没有上传上来的话,unzip -v 会说:
: unzip -v a1.zip
: Archive: a1.zip
: End-of-central-directory signature not found. Either this file is not
: a zipfile, or it constitutes one disk of a multi-part archive. In the
: latter case the central directory and zipfile comment will be found on
: the last disk(s) of this archive.
: unzip: cannot find zipfile directory in one of a1.zip or
: a1.zip.zip, and cannot find a1.zip.ZIP, period.
L*a
41 楼
gxgx
baozi plz
baozi plz
c*3
43 楼
gxgx!
c*3
44 楼
FTP协议是控制和数据两个不同TCP连接,用正常关闭数据连接,来表示文件传输完毕。
协议是这么设计的,TCP连接不是通过正常方式关闭,都算文件传输不完整,这只有服
务器知道,没有其他办法。
但有的服务器端有选项,能自动删除上传不完整的文件,找找你的服务器又没有这个选
项。
协议是这么设计的,TCP连接不是通过正常方式关闭,都算文件传输不完整,这只有服
务器知道,没有其他办法。
但有的服务器端有选项,能自动删除上传不完整的文件,找找你的服务器又没有这个选
项。
h*c
45 楼
顶
a*d
46 楼
cong and bless
m*y
47 楼
s*a
48 楼
s*g
49 楼
恭喜!
m*o
50 楼
d*g
51 楼
恭喜恭喜,包子!
m*s
52 楼
y*p
53 楼
Congrats!!!!baozi!
y*o
54 楼
CONG!
z*6
55 楼
gxgx
B*g
56 楼
me too.
主申请人的批了,副的还pending, TSC
【在 f*******7 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
主申请人的批了,副的还pending, TSC
【在 f*******7 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
t*t
57 楼
cong
f*7
58 楼
Just called a 2nd tier officer. Said my wife's case was approved last Friday
and approval notice will be sent out soon.
and approval notice will be sent out soon.
t*b
59 楼
Cong
a*e
60 楼
恭喜
l*y
62 楼
gxgx
R*s
63 楼
Cong!
w*0
64 楼
gongxi!
Q*K
65 楼
恭喜恭喜,兄台你辛苦了
【在 f*******7 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
【在 f*******7 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: TSC, PD 10/9/2006, RD 08/06/2007, ND 06/13/2011
: 出门了两天, 今天回家在信箱拿到了我的approval notice和green card, 但是我lp还
: 没有消息。 两个人都是6/1做的SR, 联系了senator. 网上状态没有任何更新。
: 这种主申请人拿到了绿卡但是副申请人pending的情况常见吗? 我打算星期一再给
: senator office打个电话让他们帮忙问问。
: 没有多少伪币,就先发9个包子吧, 等我lp的绿卡到了就把剩下的都发了。
: bless all!
y*n
66 楼
cong
c*3
67 楼
gxgx!
j*3
68 楼
C*l
69 楼
L*a
70 楼
k*n
71 楼
gxgx
c*p
72 楼
Cong!!!
y*u
73 楼
cong
相关阅读
Paper help加州San Diego 生物公司招聘Sr. Scientist or Product managerPaper Help! Thank you!Paper help, Thanks!Paper helppaper help (Progress in Polymer Science)老板说 学生不需要自由,博士期间就是最好的年代paper help (RSC Adv.)Paper help, Thanks!深圳化学实验室招聘分析化学博士 (转载)Help on paper, Thanks!Paper help!Paper help with link.1 baozi, if you get this paper for me. Thanks!a book chapter project (转载)有机杂化合成方向的小文章的审稿(review)机会,有需要私信联系,谢谢!paper help (RSC Adv.)Paper help, Thanks!Paper help, Thanks!26岁中国博士生 在斯坦福实验室自杀身亡 (转载)