using dopus ftp, I have to always refresh twice to have the server directory updated.
is this by design or a feature or a bug?
thx,
Hans
using dopus ftp, I have to always refresh twice to have the server directory updated.
is this by design or a feature or a bug?
thx,
Hans
what does it take to get a response on this forum?
Maybe a few more details are needed? There is also a FTP log in your multi panel, that could give useful informations.
[quote="hannes2horns"]using dopus ftp, I have to always refresh twice to have the server directory updated.
is this by design or a feature or a bug?[/quote]
I've done some quick tests with both FTP and SFTP, uploading a file using another client and then pushing F5 in Opus to see if the file appears.
In both tests, I only had to push F5 once to trigger the directory to be re-read and show the new text file.
Are you doing the same thing that I did, or something slightly different?
The FTP log which Abr mentions is definitely worth looking at to see if there are any errors or other useful information. You can open it via this menu:
Linking your account is the main thing, which you've done now (thanks!).
if I wait, say 30 minutes, the next refresh does not actually refresh, but rather just re-establish the ftp connection.
That's normal; the connection will usually have timed out by then, requiring a re-connection to do anything with the site. (How long the timeout is depends on the configuration on both your side and the site's.)
Well then, shouldn't DO ftp after re-connecting issue a refresh under the cover? after all that's what I asked it to do!
It should.
What do they logs we asked you to check say?
ok, here you go.
last refresh was done 7:51 AM PDT
cleared log after that
hit refresh (F5) 9:07 AM PDT; need 2nd refresh for directory to be actually refreshed
ftp log shows:
Opening Connection saba1:21
Opening Connection saba1:21
220 saba1 FTP server (Version 4.2 Wed Dec 23 11:06:15 CST 2009) ready.
331 Password required for dude.
220 saba1 FTP server (Version 4.2 Wed Dec 23 11:06:15 CST 2009) ready.
230-Last unsuccessful login: Mon Jun 3 08:34:15 PDT 2013 on ssh from sig-9-65-79-167.mts
230-Last login: Sat Aug 17 08:51:55 PDT 2013 on ftp from sig-9-65-96-63.mts
230 User dude logged in.
331 Password required for dude.
200 Type set to A; form set to N.
230-Last unsuccessful login: Mon Jun 3 08:34:15 PDT 2013 on ssh from sig-9-65-79-167.mts
230-Last login: Sat Aug 17 09:07:46 PDT 2013 on ftp from sig-9-65-96-63.mts
230 User dude logged in.
257 "/archive5/dude" is current directory.
200 Type set to A; form set to N.
250 CWD command successful.
257 "/archive5/dude" is current directory.
257 "/archive5/dude/JOBS" is current directory.
250 CWD command successful.
257 "/archive5/dude/JOBS" is current directory.
Connection closed
Opening Connection saba1:21
227 Entering Passive Mode (9,1,142,180,244,163)
150 Opening data connection for /bin/ls.
220 saba1 FTP server (Version 4.2 Wed Dec 23 11:06:15 CST 2009) ready.
331 Password required for dude.
226 Transfer complete.
230-Last unsuccessful login: Mon Jun 3 08:34:15 PDT 2013 on ssh from sig-9-65-79-167.mts
230-Last login: Sat Aug 17 09:07:46 PDT 2013 on ftp from sig-9-65-96-63.mts
230 User dude logged in.
4947 bytes received in 0.593 seconds (7.832 Kbytes/sec)
200 Type set to A; form set to N.
257 "/archive5/dude" is current directory.
250 CWD command successful.
257 "/archive5/dude/JOBS" is current directory.
Connection closed
FWIW I have the same issue with SFTP (don't use FTP much) where you'll hit F5 and it will refresh the window fairly quickly without actually doing anything, and then hitting it again will actually login and refresh the list. Usually I'll just click the link to the folder I'm looking at in the header bar of the lister which always works.
This seems a little strange and not the 'normal' behaviour. When you send the logs, please enable DEBUG so we can see both sides of the conversation.
It does seem like you have more than one connection open. Do you have the same site open in multiple Listers or in multiple Tabs?
For speed, Opus will cache an FTP directory and only update this if it has changed. This is done when you add/change/delete files etc.
Try turning off the FTP cache from Miscellaneous - Advanced - FTP_DO_NOT_CACHE.
It will unless you also have another instance of that ftp site open in another tab or LIster, in which case it will use the same cache since the listing should not have changed.
turning ftp caching off did the trick! now refresh finally means refresh!
It seems that the but does not apply only to refreshing but also to changing folder (eg via doubleclick on folder). DOpus only reestablishes connection but does not switch to double clicked folder.