 |
|
 |
HI I have a problem regarding "HOW TO TRANSFER FILES FROM CLIENT TO SERVER AND VICE VERSA" I used c# for this application. Can any body help me in this problem. It will be your greatness if u help me. CONTACT:-umarmir_123@yahoo.co.in nisar_3s@yahoo.co.in Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
you might wanna change the getFileSize to open the file at read mode rather then doing it in read/write, sometimes when the file is in use it stops the all sync with an exception.
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
dear,
If you can wait for 1-2 days. I can help you in this matter,
Bye Takecare
Sharad  [ sks1607@rediffmail.com ]
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
Did you get any reply on moving files/folder at remote server?? If yes, Pls update me.
Thanks in advance
Kapil Garg
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
 |
script fails if any file is deleted from local directory.script uploads all the files all over again. i would like 2 make a suggestion on improvement.if any of the uploaded files are deleted at remote ftp server then this script should upload that file again.
|
| Sign In·View Thread·PermaLink | 1.75/5 (3 votes) |
|
|
|
 |
|
 |
Hi Uwe,
Thanks you very very much for your component/codes. I love it very much. 
I was told to write a program for my boss to upload files to our clients. I have tested three ftp server, one is fine other two are fail. The program was broken at following line (ControlChannel.cs)
m_connection.Connect(m_server, m_port);
the warning message are like these
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in system.dll
Additional information: The requested name is valid and was found in the database, but it does not have the correct associated data being resolved for

It sounds that the program can't build a ftp connection. These FTP address are correct because I have tested them with WS-FTP software.
If I use the following simple codes, I can setup connection.
TcpClient tcpClient = new TcpClient(); try { tcpClient.Connect("ftp.fdch.com", 21); } catch (Exception e1 ) { Console.WriteLine(e1.ToString()); }
I think there is some problem to set connection using your class.
Uwe, is there any guy know what is wrong and how to fix the problem?
Thank you very much again!
Bin Li Reed Business Information
|
| Sign In·View Thread·PermaLink | 2.50/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
It would seem that the link to the project files is currently down (returns CP's every so beautiful 404 page)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Uwe,
hi. I get this program and it works on most of files, but it always can not process those files whose names contain "'". So I just make a little change on serveral lines to fix this. Also, because I found that the program just stop when one file can not be processed. I like to upload the others even if there is one file can not be uploaded. so I catched the exception when one file can not be processed and also create a file log to record these errors so that later I can view them.
Thank you for your great work!
Leon Zhou
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Uwe,
I've been using Alex's component for some time now and generally it works very well for me. However, at times, the component seems to enter a "state" where it locks up. I've never been able to catch the stinking thing with the debugger when it happens as it usually occurs after running multiple days (I have a simple service that regularly uses this component to FTP files to and from another server).
I have so many other things I need to tackle right now... did you find/fix anything down in the socket handling layers? That's all stuff I don't know much about and just don't have time for now... and I'd just as soon not go purchase an off-the-shelf component with poor service, no source code, and no guarantees that it will be any better...
Thanks!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Nice one Uwe, very useful indeed. You and your console applications though, obviously a Unix man 
I was thinking that a add-in button for VS.NET would make this thing rock even more. Just have an extra properties page for the project on creation which gets the FTP details and then whenever the user clicks the "Sync" button it does it's job (and without all the VS.NET project deploy hoopla.)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi,
When I tried to load the solution, it complains about "CustomBuildSteps.csproj" is missing from Solution.
Is this project necessary?
Kant
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi,
I tought of developping such a tool this afternoon after loosing to much time uploading on WebMatrixHosting Europe. So when I pointed your article I said cool I even have nothing to do .
The database is missing in the archive, so I tried the other one on your other article. Then the application go further but at the time of uploading the first file it crashes with this error:
Failed to send file Default.aspx FtpSync at KCommon.Net.FTP.ControlChannel.STOR(String name) at KCommon.Net.FTP.FtpFileTransferer.StartTransfer() at KCommon.Net.FTP.FtpDirectory.PutFile(String localFile, String remoteFile) at KCommon.Net.FTP.FtpDirectory.PutFile(String localFile) at FtpSync.Application.UploadFile(String filepath) at FtpSync.Application.ProcessFile(String filepath, UInt32& bytes_copied) at FtpSync.Application.ProcessFolder(String base_folder, UInt32& files_copied _count, UInt32& files_skipped_count, UInt32& bytes_copied) at FtpSync.Application.Main(String[] args)
Any idea?
Thanks.
Laurent Kempé Tech Head
--- Old programmers never die, they just branch to a new address.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Thanks I will try with this version and let you know!
Laurent Kempé Tech Head
--- Old programmers never die, they just branch to a new address.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
If you like, you could give me a temporary permission on your FTP server and I could try to publish to THIS server (since mine all work) and debug my application.
-- See me: www.magerquark.de
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |