async하게 수정
This commit is contained in:
@@ -1067,7 +1067,7 @@ namespace FluentFTP {
|
||||
// seek to required offset
|
||||
fileData.Position = offset;
|
||||
|
||||
} catch (Exception ex2) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1208,12 +1208,15 @@ namespace FluentFTP {
|
||||
Stream upStream = null;
|
||||
try {
|
||||
long offset = 0;
|
||||
bool checkFileExistsAgain = false;
|
||||
//bool checkFileExistsAgain = false;
|
||||
|
||||
// check if the file exists, and skip, overwrite or append
|
||||
if (existsMode == FtpExists.NoCheck) {
|
||||
checkFileExistsAgain = true;
|
||||
} else {
|
||||
if (existsMode == FtpExists.NoCheck)
|
||||
{
|
||||
//checkFileExistsAgain = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!fileExistsKnown) {
|
||||
fileExists = await FileExistsAsync(remotePath);
|
||||
}
|
||||
@@ -1254,7 +1257,7 @@ namespace FluentFTP {
|
||||
// seek to required offset
|
||||
fileData.Position = offset;
|
||||
|
||||
} catch (Exception ex2) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user