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

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 05-04-2012, 11:06 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Are you seeing situations where FlashFXP is leaving a 0 kb file and not actually transferring the file, or are you just thinking ahead to avoid this type of issue in the future?

Assuming that you have FlashFXP configured to retry failed transfers and restart the transfer if stalled then this should never occur.

But if you really wanted to do something like this it could be done, however to do this is a rather advanced process.

What you would need to do is queue the file for transfer, edit the queue item properties, (right-click the queue item and select it), and then change the target name to something else, say "rfc959.txt_tmp", then click the OK button to save your changes.

Save the queue to a file, then transfer it, creating the new temporary file on the remote server.

Next you'd need to en-queue a rename operation, select the temporary file on the remote server, right-click, select EnQueue > Rename and then enter the correct name.

You should now have two entries in your queue.
1. upload the file to a temporary file name.
2. rename the temporary file to the correct name.

Save the queue file again.

Now whenever this queue runs it will upload the file and then rename it.

Some FTP servers do not allow you to rename a file if the new name already exists, in which case you would need to add a 3rd item to the queue to delete the existing file prior to the rename operation. This would be done the same way, EnQueue > Delete

The queue would then look something like this:

bigstar is offline  
 

Tags
file, flashfxp, it´s, rnfr, 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 05:24 AM.

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