Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8362937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:03:31+00:00 2026-06-09T12:03:31+00:00

I want to transfer folder from client to server. I found the code on

  • 0

I want to transfer folder from client to server. I found the code on this link to transfer file and its working fine.

But i want to transfer multiple files and there is an error as only 1 files is transferred. I modified the code and used FolderBrowseDialogue instead of OpenFileDialogue. I have used following code to transfer file.

foreach (string f in Directory.GetFiles(dir))
{
    FTClientCode.SendFile(f);
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:03:32+00:00Added an answer on June 9, 2026 at 12:03 pm

    I found the problem. The problem was at serverside when backgroundWorker1 was calling StartServer(), so server was started only once and this function was never called again, So i wrote StartServer() at the end of StartServer() function so after getting file it server starts again and waits for next file to be received. This is not good as a function is calling itself again and again and there is no end point. But my requirement was only to receive files and do nothing else so that is why I used it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just want to transfer (send or receive) a hash from client to server.
In my java application I want to transfer some Images from client to server.
currently I'm working on this ftp transfer. http://msdn.microsoft.com/en-us/library/ms229715.aspx I have setup my server computers
i making a file transfer (server-client) application .. i have two listviewS to explore
I want to transfer a domain name to a new registrar, but this is
I want to transfer a data from one webpage to another page. But I
I want to transfer data(21M rows) from mysql database to DynamoDB. I am using
Suppose I want to transfer just a portion of a file over FTP -
I have a JavaScript app that produces a string. I want to transfer this
I want to transfer a large amount of data from F# to an SQL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.