Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

370
Visualizações
Check if a file transferred successfully in WinSCP, when using the Session.PutFile function

I am trying to send some files to a remote FTP server, and I need to make sure the files actually make it there before I continue my code.

Is there a way to check if the file transferred successfully using the Session.PutFile method? It doesn't have the TransferOperationResult return type that Session.PutFiles does, and in fact returns void.

If at all possible, I would like to handle the files as Stream objects in memory, rather than saving them locally.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

The Session.PutFile raises an exception, if any error occurs.

If it does not raise any exception, the upload was successful.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda