fmCopyTo - Progress Bar

Questions about our File Management and Internet FTP plug-in
Locked
ajhunt
Posts: 266
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom
Contact:

fmCopyTo - Progress Bar

Post by ajhunt »

Hi All, I would like to display the progress of uploads using the action command "fmCopyTo" but not showing the 'cancel' button. Could anyone help with this? I just don't want any user being able to cancel the upload by pressing the display 'Cancel' button when using the option "ShowProgress=Yes". but would still like to know the progress of the update on screen. Thanks a million all. Kind Regards Anthony.
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: fmCopyTo - Progress Bar

Post by Neosoft Support »

You can create your own custom progress bar/user feedback by using FM/FTP's FMFTP_ProgressStart, FMFTP_ProgressUpdate and FMFTP_ProgressEnd subroutines. These are explained in the FM/FTP help file under "Using NeoBookFM/FTP > Special Subroutines". Scroll down to the bottom of the page to see the progress subroutines.
NeoSoft Support
ajhunt
Posts: 266
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom
Contact:

Re: fmCopyTo - Progress Bar

Post by ajhunt »

Thanks NeoSoft Team - I'll go look now. Many thanks.
User avatar
dec
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain
Contact:

Re: fmCopyTo - Progress Bar

Post by dec »

Hello,
ajhunt wrote:Thanks NeoSoft Team - I'll go look now. Many thanks.
Take a look at my npBars plugin if you like Anthony. ;)
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
ajhunt
Posts: 266
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom
Contact:

Re: fmCopyTo - Progress Bar

Post by ajhunt »

Hi NeoSoftTeam, I have looked into the sample files provided but there is not a sample .pub named "Advanced File Manager" - could you please send me a copy. Many thanks. Regards Anthony
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Re: fmCopyTo - Progress Bar

Post by Neosoft Support »

Included with FM/FTP is a sample pub called "Custom Dialog Example" which shows how to use the custom progress subroutines.
NeoSoft Support
ajhunt
Posts: 266
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom
Contact:

Re: fmCopyTo - Progress Bar

Post by ajhunt »

Hi again NeoSoftTeam, Done and works perfectly (as expected). Many thanks as always for your terrific unbeatable support. Regards Anthony
Locked