ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / FTP functions
  • Example: Transferring a file and managing a progress bar
  • Example: Transferring a directory to the root of an FTP account and managing a progress bar
  • Example: Transferring a file and managing a progress bar (WINDEV Mobile)
Example: Transferring a file and managing a progress bar
Example: Transferring a directory to the root of an FTP account and managing a progress bar
Example: Transferring a file and managing a progress bar (WINDEV Mobile)
Minimum version required
  • Version 9
Comments
FTPSEND
s_arquivo_endereco_local is string=ftp_conf.endereco_local+TABLE_local.COL_nome_arquivo // "d:\erpmatos\Atualizacao\matosnfe.jpg"
s_arquivo_endereco_remoto is string=ftp_conf.endereco_remoto+TABLE_local.COL_nome_arquivo // "/web/_Windev_Erp_matos/matosnfe.jpg"
// TRANSFERENCIA
IF FTPSend(n_conexao,s_arquivo_endereco_local,s_arquivo_endereco_remoto,_transferencia) = False THEN
Info("erro transferencia")
END
// TRANSFERENCIA
// ESSA PROCEDURE ESTA LINKADA AO FTPSEND
PROCEDURE _transferencia(nTotal, nCurrent)
Gauge(nCurrent,nTotal) // vai gerar uma barra de progresso status
// tem de estar com status de mensagem na windows ativa
RESULT True
De matos AMARILDO
04 Jan. 2016

Last update: 05/26/2022

Send a report | Local help