Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 06-27-2010, 07:18 PM   #1
MartinXP
Junior Member
 
Join Date: Jun 2010
Posts: 2
Default Replace file after upload is finished

On upload FlashFXP deletes the existing file and then starts writing the new file.

I have this problem: I update a big php file very often, and while the file is uploaded the website returns an error (since the php file is incomplete while for a short time).

Is there a setting to avoid this?

I could rename > upload > delete original > rename new file. But that's annoying, esp. multiple times per day.

I use Version 3.2 from 2005 tho.

Last edited by MartinXP; 06-27-2010 at 07:25 PM.
MartinXP is offline  
Old 06-27-2010, 08:50 PM   #2
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

how big is your file or how slow is your connection that this makes a difference?!
if you can, enable compression during transfer, that will make your transfer go faster.

BUY FLASHFXP!
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 06-27-2010, 09:15 PM   #3
MartinXP
Junior Member
 
Join Date: Jun 2010
Posts: 2
Default

The file is 350 KB (and growing) and it takes 2 seconds which DO make a difference since no error message should be returned EVER for such a stupid bug.

Compression (Mode Z) is enabled for uploads.
The manual rename "solution" wouldn't be much faster tho.
MartinXP is offline  
Old 06-27-2010, 10:32 PM   #4
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

if you get so much traffic and you can't afford 2 seconds it takes to upload a file, setup a separate development environment, do all your coding and testing there and then deploy your code when you are ready.
or setup 2 web servers in a load balanced config, and when take out one server at a time from your cluster to push your code.

you've been using FlashFXP since at least 2005, for what appears to be a business purpose and you can't afford $25 for a lifetime license?

there's another way to rename files which is much faster than manual.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Closed Thread

Tags
file, flashfxp, php, rename, upload

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:18 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)