mirror of https://github.com/schollz/croc.git
check if file exists
This commit is contained in:
parent
669aeb377a
commit
7ac7be37af
|
@ -1239,10 +1239,10 @@ func (c *Client) updateIfRecipientHasFileInfo() (err error) {
|
|||
if _, ok := c.FilesHasFinished[i]; ok {
|
||||
continue
|
||||
}
|
||||
log.Debugf("checking %+v", fileInfo)
|
||||
if i < c.FilesToTransferCurrentNum {
|
||||
continue
|
||||
}
|
||||
log.Debugf("checking %+v", fileInfo)
|
||||
recipientFileInfo, errRecipientFile := os.Lstat(path.Join(fileInfo.FolderRemote, fileInfo.Name))
|
||||
var errHash error
|
||||
var fileHash []byte
|
||||
|
|
Loading…
Reference in New Issue