Comments (10)
Thanks for reporting this. We'll work on a fix as soon as possible. For now best way is to DeleteFile() and the UploadFile()
from fluentftp.
I can confirm the same problem. Deleting before uploading seems to resolve the issue for me.
from fluentftp.
I can confirm the same problem.
I've tried the following versions: 16.2.0 and 16.2.1.
Now, instead of upload with overwrite I'm doing a delete upload (with no overwrite).
from fluentftp.
@Fjomp08 @stefanouic
I've implemented a fix for this in 16.2.3. Can you guys check and see if it works? I'm internally checking for the file existence before every upload, and deleting the file if it exists before uploading. I had earlier assumed that using OpenWrite would guarantee that the remote file is overwritten, but since all of you have problems with that I had to implement such a fix.
@daveaglick - Can you try uploading without DeleteFile() and see if all goes ok?
https://www.nuget.org/packages/FluentFTP/16.2.3
from fluentftp.
I'm still having trouble with this in 16.2.4. When I attempt to UploadFile()
without first doing a FileExists()
followed by a DeleteFile()
, I get timeouts similar to #55.
from fluentftp.
@daveaglick - Thats very strange. Because I'm simply doing a FileExists()
check internally then DeleteFile()
if the file exists. No other code has been added/changed.
from fluentftp.
I having this trouble with 16.3.0.0 ( filename that already exists and the uploaded file is smaller than the existing one. )
Can You fix this, I need Your dll on production site?
from fluentftp.
@przemekwa - Can you ensure that checkFileExistance
is true? If its true there should be no problem...
from fluentftp.
OK, I have false
client.UploadFile(fs, txtFilePath, true, true, false);
OK, I will check and I will back to you with feedback.
Thx.
from fluentftp.
I'm closing this. If you are still having this issue then add a comment and I'll reopen it.
from fluentftp.
Related Issues (20)
- Libs not included into CLickOnce publish app root folder HOT 23
- FTP Transfer is not working in Active mode HOT 6
- Progress should include all operations of a single file transfer HOT 16
- Problem transfering file with particular FXP destination server HOT 4
- DownloadStream method ignores stopPosition HOT 2
- Download with stopPosition overdownloads within last chunk, breaks progress report too HOT 7
- Multi-File operations should provide a overall progress HOT 13
- How often do you update NuGet? HOT 2
- Release page and release tags are missing HOT 1
- Request for Nuget 49.0.2 HOT 4
- Question about 'DownloadDirectory()' HOT 1
- Error using clone function with async client HOT 5
- Disposing a connected AsyncFtpClient throws non-fatal System.InvalidCastException in version 49.0.* HOT 42
- System.InvalidCastException exception Thrown After File Upload Completes HOT 1
- Reuse Connection? HOT 3
- Error 550 file not found HOT 1
- ACTIVE mode FTP is raising Exception of Timeout but working in FileZilla and WinSCP HOT 7
- Resume Progress Problem
- timeout exception after download and upload all bytes HOT 8
- GetListing during DownloadFile/UploadFile async error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentftp.