Author Topic: Remote Shell Commands  (Read 6034 times)

spacific

  • Sr. Member
  • ****
  • Posts: 250
Remote Shell Commands
« on: January 23, 2009, 10:33:12 PM »
The "Remote Shell Commands" menu items should really not be active for FTP, right?  As they cannot be issued under FTP, Yummy just hangs waiting for a response.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Remote Shell Commands
« Reply #1 on: January 24, 2009, 04:52:59 AM »
I left it active because it can be that you have an SSH account under the same login details - for example, the FTP and SFTP server built into OS X will behave that way. So, you could log in via FTP but still issue remote shell commands.

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Remote Shell Commands
« Reply #2 on: January 24, 2009, 05:36:40 AM »
Really?  That's interesting!

OK then, thanks.  (Would there be some way of detecting whether such commands are available to avoid the hanging situation when one forgets which protocol is being used?)

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Remote Shell Commands
« Reply #3 on: January 25, 2009, 03:16:17 AM »
Not really. The only way is to actually try the connection, login, etc. By that time you may as well have tried the shell command.

I'm interested why yours hangs though... when I originally implemented this, in my tests with various servers the attempt just fails if it is unsupported.

I'll re-test this, though.

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Remote Shell Commands
« Reply #4 on: January 25, 2009, 04:46:39 AM »
The ftp servers I have tried use Pure-FTPd.
When I select a folder and choose  Remote Sheel Command => Create ZIP archive  there is nothing shown in the transcript; just "Performing remote server command..." in the status area, and no response until I click on the cancel button.

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Remote Shell Commands
« Reply #5 on: May 06, 2009, 12:25:16 AM »
Hi, just been doing some remote-shell-create-zip-archive comands on an SFTP site. With fairly small directories it works fine. With larger ones (not that large: e.g. 40MB condensing to 3MB) the command apparently never finishes, with Yummy reporting "performing remote server command". After a few minutes I give up and cancel, but on refreshing the listing I find that the zip file is there and in fact was created after just a few seconds.  So Yummy is not detecting the completion of the command.  Any way you can correct this? Thanks.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Remote Shell Commands
« Reply #6 on: May 06, 2009, 01:50:57 AM »
Interesting... I'll check into that

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Remote Shell Commands
« Reply #7 on: May 17, 2009, 11:41:57 AM »
I believe I have a fix for this in the next beta :)

Wim.Koornneef

  • Full Member
  • ***
  • Posts: 37
Re: Remote Shell Commands
« Reply #8 on: May 17, 2009, 02:26:03 PM »
With fairly small directories it works fine. With larger ones (not that large: e.g. 40MB condensing to 3MB) the command apparently never finishes, with Yummy reporting "performing remote server command".

I very frequently (on a weekly basis) upload ZIPs from 2 to 100 MB each containing from hundreds to thousands of files (zoomifyied images) via SFTP and then unpack them with the remote shell command unpack archive option and I have never experienced ones the behaviour you described.

The other way (making the zip with the command line option) I do less frequently but I then also never had any problem so perhaps it is a server related problem...

Wim
 
« Last Edit: May 17, 2009, 02:29:12 PM by Wim.Koornneef »

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Remote Shell Commands
« Reply #9 on: May 17, 2009, 06:13:22 PM »
Thanks for the feedback, Wim :)

I think this is a network condition related issue, rather than the server itself. We'll see after I release the next beta, I guess!

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Remote Shell Commands
« Reply #10 on: May 18, 2009, 02:30:36 AM »
Quote
I believe I have a fix for this in the next beta

Can't wait!   :)

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Remote Shell Commands
« Reply #11 on: June 04, 2009, 03:30:17 AM »
Quote
With larger ones the command apparently never finishes

Alas, still present with 1.7.3b13.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Remote Shell Commands
« Reply #12 on: June 04, 2009, 06:45:15 AM »
Ok. Then please allow me access to your sever so I may reproduce the problem you're seeing.

I definitely fixed something in this area but you must be having a different issue.