Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

367
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!