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-03-2009, 03:39 PM   #1
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Cool Question of How to tell FXP to refresh folder after I stop an upload?

FlashFXP 3.6

Eg. I have a 100mb file to upload and I have it stop to upload when it uploaded 2mb
at this moment, if I resume this upload, it will re-upload instead of resume
because when I hit stop, it didn't refresh the server
so FXP "assume" there's no this file on the server, it then re-upload...

Is it possible to tell FXP to refresh first when I hit stop?
So FXP will always get the correct file size to resume.

Similar to the method of download, cause everytime when I download a file, it will always refresh local folder when I hit stop.

Hope I have made it clear.


Thank you.

Last edited by NiGHTsC; 06-03-2009 at 03:50 PM.
NiGHTsC is offline  
Old 06-03-2009, 09:34 PM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

When you transfer a file FlashFXP sends the SIZE command to determine 2 things the 1. if the file exists and 2. the file size, it does not use the size in the file listing unless SIZE returns an invalid reply.

If you abort the transfer and refresh the listing does FlashFXP resume correctly?
bigstar is offline  
Old 06-03-2009, 11:30 PM   #3
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Default

yah, it will resume correctly, if I refresh manually
because by doing refresh, the file size will change to correct one as well

due to my newbieness with FXP, how do I send the SIZE command?


Thanx again.
NiGHTsC is offline  
Old 06-04-2009, 09:29 AM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

The SIZE command is sent automatically, however you will not see it in the session status window.

What happens if you manually send SIZE <filename> via a raw command (CTRL+R)

Does it show the correct size?
bigstar is offline  
Old 06-04-2009, 09:52 AM   #5
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Default

I can't see the files on server
but if I do this command, yes, it'll display the correct size in status window
You have to type the filename though
NiGHTsC is offline  
Old 06-04-2009, 01:28 PM   #6
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

if it returns the correct size then it should work automatically with FlashFXP. yes, must enter the filename.
bigstar is offline  
Old 06-04-2009, 01:32 PM   #7
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Default

hm..but it didn't work automatically?
everytime I upload without refresh the server, it'll just keep re-upload at same place.

Can I tell to FXP that everytime I stop upload, it will check the file size automatically?
Cause I have many videos in queue and I can't watch it 24/7


Thank you.
NiGHTsC is offline  
Old 06-04-2009, 05:49 PM   #8
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Well, that's how its supposed to work, its not really clear to me why its not working properly.

You might try the latest beta and see if it helps.
bigstar is offline  
Old 06-04-2009, 10:48 PM   #9
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Default

Can't I make it to work with Download-like method?
cause you know, when you download something, it'll always auto-refresh local folder when you stop it

I have just tried 3.7.8 Build 1332 (or 3.7.9.1343?) and it is still the same...><

am I the only one who has this problem?


Thank you.
NiGHTsC is offline  
Old 06-05-2009, 02:41 PM   #10
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Do you know what ftp server software is being used on the server?

This does work on all the FTP servers I've tested. The fact that the SIZE command is sent makes refreshing list unnecessary.
bigstar is offline  
Old 06-05-2009, 02:48 PM   #11
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Default

I'm afraid that I can't not know about that...

can you explain once again how it worked on the servers you've tested?
they just all refresh automatically once you hit stop? just like Download method?

and the SIZE command you are talking about, is it the one you have to type filename? or is it different one?

cause as I mentionned before, I have many videos in queue and I can't type this command manually 24/7, so I need something "automatically"...


Thanx again.
NiGHTsC is offline  
Old 06-06-2009, 08:34 AM   #12
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

It seems to me like there might be a compatibility issue with the ftp server but without knowing what ftp server software is being used I've hit a dead end.

Like i previously said, a refresh isn't needed because FlashFXP sends the SIZE command. It's all completely automatic..

Can you at least include a copy of the ftp session log?
bigstar is offline  
Old 06-06-2009, 12:04 PM   #13
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Default

Hm...that's weird...@_@


Sure, of course.

[13:30:46] REST 352256
[13:30:46] 350 Restarting at 352256. Send STORE or RETRIEVE to initiate transfer
[13:30:46] 150 Opening BINARY mode data connection for XXXXXXX.video
[13:30:53] (soft abort)
[13:30:55] 226 Transfer complete
[13:30:55] Resumed: XXXXXXX.video 659.02 MB in 905 hours 18 minutes 39 seconds (0.2 KB/s)
[13:30:55] Transferred 1 file totaling 659.02 MB in 14.09 seconds (0.2 KB/s)
[13:30:55] User Aborted
[13:30:59] PASV
[13:31:00] 227 Entering Passive Mode (XXX,XXX,XXX,XX,XXX,XXX).
[13:31:00] Opening data connection IP: XXX,XXX,XXX,XX,XXX,XXX PORT: XXXX
[13:31:01] REST 352256
[13:31:02] 350 Restarting at 352256. Send STORE or RETRIEVE to initiate transfer
[13:31:02] STOR XXXXXXX.video
[13:31:02] 150 Opening BINARY mode data connection for XXXXXXX.video
[13:31:09] (soft abort)
[13:31:11] 226 Transfer complete
[13:31:11] Resumed: XXXXXXX.video 659.02 MB in 905 hours 18 minutes 23 seconds (0.2 KB/s)
[13:31:11] Transferred 1 file totaling 659.02 MB in 14.84 seconds (0.2 KB/s)
[13:31:11] User Aborted

Last edited by NiGHTsC; 06-06-2009 at 12:09 PM.
NiGHTsC is offline  
Old 06-07-2009, 09:19 AM   #14
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

The only thing I can think of is that when the transfer is aborted and then SIZE is sent the reply is garbled, the problem however is that since the SIZE command and reply aren't shown we can't see what the result is.

When the transfer is stopped are you always manually aborting it?

What if you do your abort and then manually send a raw command something random such i.e. "HELLO", what is the reply? After sending that command if you start the queue does it resume correctly?

In my opinion there seems to be some sort of bug but I am not able to reproduce it.
bigstar is offline  
Old 06-07-2009, 11:40 AM   #15
NiGHTsC
Junior Member
 
Join Date: Oct 2006
Posts: 10
Talking

Quote:
Originally Posted by bigstar View Post
The only thing I can think of is that when the transfer is aborted and then SIZE is sent the reply is garbled, the problem however is that since the SIZE command and reply aren't shown we can't see what the result is.

When the transfer is stopped are you always manually aborting it?
not everytime.
It happent once before, when I spent 40mins to upload this video and the trasnfer fail, it then get back to 40mins ago and re-upload...

Quote:
What if you do your abort and then manually send a raw command something random such i.e. "HELLO", what is the reply? After sending that command if you start the queue does it resume correctly?
Nope, still not refreshing the folder.

[13:06:06] REST 1490944
[13:06:06] 350 Restarting at 1490944. Send STORE or RETRIEVE to initiate transfer
[13:06:06] STOR XXXXXXX.video
[13:06:06] 150 Opening BINARY mode data connection for XXXXXXX.video
[13:06:12] (soft abort)
[13:06:14] 226 Transfer complete
[13:06:14] Resumed: XXXXXXX.video 657.94 MB in 881 hours 43 minutes 19 seconds (0.2 KB/s)
[13:06:14] Transferred 1 file totaling 657.94 MB in 16.77 seconds (0.2 KB/s)
[13:06:14] User Aborted
[13:06:18] HELLO
[13:06:18] 500 HELLO not understood
[13:06:23] PASV
[13:06:23] 227 Entering Passive Mode (XXX,XXX,XXX,XX,XXX,XXX).
[13:06:23] Opening data connection IP: XXX,XXX,XXX,XX,XXX,XXX PORT: XXXX
[13:06:23] REST 1490944
[13:06:24] 350 Restarting at 1490944. Send STORE or RETRIEVE to initiate transfer
[13:06:24] STOR XXXXXXX.video
[13:06:24] 150 Opening BINARY mode data connection for XXXXXXX.video
[13:06:29] (soft abort)
[13:06:30] 226 Transfer complete
[13:06:30] Resumed: XXXXXXX.video 657.94 MB in 881 hours 43 minutes 2 seconds (0.2 KB/s)
[13:06:30] Transferred 1 file totaling 657.94 MB in 9.48 seconds (0.2 KB/s)
[13:06:30] User Aborted

Quote:
In my opinion there seems to be some sort of bug but I am not able to reproduce it.
I'm sorry that my FTP servers are all privates and I'm not allowed to pass to you.


Thank you again.
NiGHTsC is offline  
Closed Thread

Tags
download, flashfxp, fxp, stop, 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 08:02 AM.

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