 |
|
 |
Thanks a lot for your work!
|
|
|
|
 |
|
 |
Thanks. Hope it was helpful!
shellraker
|
|
|
|
 |
|
 |
Hello
If you search a comfortable and reusable FTP client,
-- which is running on .NET Framework 1.1 or higher,
-- which can automatically put together splitted files on the server,
-- which allows to download only a part of a file on the server,
-- which allows to resume any broken download,
-- which automatically starts a separate thread,
-- which can be aborted any time from your main thread,
-- which supports UTF8 encoded filenames,
-- which has a built-in download scheduler,
-- which has a built-in bandwidth control,
-- which has a built-in preview function for the download of movies,
-- which automatically reconnects the server after an error has occurred,
-- which displays download progress in percent and in bytes and the remaining time,
-- which writes a detailed logging for all operations it does,
-- which is based on Wininet.dll and has one workaround for each of the 4 known Wininet.dll bugs,
-- which is very well tested and bug-free,
-- which is written by a very experienced programmer and has a very clean and well documented sourcecode,
then have a look at this project:
ElmueSoft Partial FTP Downloader[^]
Elmü
|
|
|
|
 |
|
 |
when i compiled file i got warning like Converting "double to int"
but i ignored that, now i m facing problem to create TJFTP.EXE
like this
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/tjftp.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
tjftp.exe - 4 error(s), 0 warning(s)
can u pls. help out..
|
|
|
|
 |
|
|
 |
|
 |
Hello:
Been busy for sometime and when returned found there are some changes in CodeProject. No problems to the changes.
The only trouble I have is I cannot view the messages left before for this article.
Any suggestions/advice?
Thanks in advance for help.
Ke
|
|
|
|
 |
|
 |
Hello:
Been busy for sometime and when returned found there are some changes in CodeProject. No problems to the changes.
The only trouble I have is I cannot view the messages left before.
Any suggestions/advice?
Thanks in advance for help.
Ke
|
|
|
|
 |
|
|
 |
|
 |
Dear ALL
I would like to introduce myself first, Omar Ali, MSc student in the research stage, college of Engineering, Baghdad University, Iraq.
I am making research on (Active Networking System- Security of Active Networks).I found out throughout my research that I need FTP client under windows to help me accomplishing my research.
I request your kind assistance to help providing me with answer to the following question about "TJFTP" software.
"After a successful compilation under MS VC++6 compiler, the linker is failed in linking the source code files. The linking result is shown below:
Output Window
Compiling resources...
Compiling...
tjftpdoc.cpp
csock.cpp
ftpconnect.cpp
mainfrm.cpp
f:\c projects\tjftp_src\mainfrm.cpp(122) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
f:\c projects\tjftp_src\mainfrm.cpp(123) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
stdafx.cpp
tjftp.cpp
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/TJFTPtest.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
Results
TJFTPtest.exe - 4 error(s), 2 warning(s)"
What is the problem please? I need correct building of the TJFTP code. I would like to make some modifications to the original TJFTP software (security, for example). I will, surely, refer to the original TJFTP author and site in references of my thesis. "
Knowing that I have been visited your site and find it related (in some cases) to my research.
Your kind assistance in providing me with answers to this question will help me allot to tackle and overcome the problems I am facing in my research.
I highly appreciate your kind assistance. With best regards.
MSc student
O. Ali
Iraq
|
|
|
|
 |
|
 |
Omar,
Are you doing a "Release" or a "Debug" build? Try a "Release" build and let me know if you get the same error.
I get the
f:\c projects\tjftp_src\mainfrm.cpp(122) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
f:\c projects\tjftp_src\mainfrm.cpp(123) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
warnings, also, but I ignore them in the Release build and everything works fine.
This source code was recompiled under VC.NET, so that may be the problem.
I'll try to find the original source code this weekend and post a link for it here...that may solve your problem, as the original source was written in VC 6. I'll try to have it here by 23 Jun.
Regards,
Jim
shellraker
|
|
|
|
 |
|
 |
If i am execute this application i got the 425 can't open data connection.
i had iis server 5.0,plz give me a reason and also solution.
////Realy great job.///
|
|
|
|
 |
|
 |
For us old timers who are still using the 16 bit compiler, do you have the original source code available for download?
|
|
|
|
 |
|
 |
Hi! This is a really interesting piece of work and I want to be able to understand the program flow by stepping through in debug mode - I'm a novice. The program compiles and runs fine in release mode. I noted your advice to another correspondent that it must be run in release. The reason for not using debug mode, presumably, is the error that occurs in mainview.cpp in
OnStream(WPARAM wParam, LPARAM lParam)
line 695 CString csTemp,
line 696 csDoneWrite;
This throws an error for no reason that I can see. Do you have a fix for this please? I'm using Visual C++ .NET.
Best wishes
Brian
|
|
|
|
 |
|
 |
But I could have really used this about 10 months ago.
Nice work.
"Live long and prosper." - Spock
|
|
|
|
 |
|
 |
Great piece of code to study for a beginner as i am.
The About dialog is not implemented.
I tryed to add a button but i didn't succeed.
How to implement it?
Thanks.
-- modified at 4:55 Tuesday 29th November, 2005
|
|
|
|
 |
|
 |
Thanks.
Let's make a button that shows the "About" dialog.
1. Open Resource View, expand "Dialog", and double-click on IDD_TJFTP_FORM.
2. Drag a button from the Toolbox and drop it on the dialog. Name it IDC_BUTTON_ABOUT, give it the Text "About TJFTP".
Normally, you could now right-click the button and select "Add Event Handler" to have VS write the stub-code for the button in whatever class you want. However, VS 03 apparently can't do this correctly with older, converted projects, so we have to do it manually (which is also a good exercise to understand what is going on ). We'll put the button handlers in the CMainView class.
3. In mainview.cpp, add message handler, OnClickedButtonAbout, at the end of the message map:
...
ON_BN_CLICKED(IDC_BUTTON_MAIN_EXIT, OnButtonMainExit)
// This is the new line you add
ON_BN_CLICKED(IDC_BUTTON_ABOUT, OnClickedButtonAbout)
//}}AFX_MSG_MAP
4. In mainview.h, add the OnClickedButtonAbout() message map function:
...
afx_msg void OnButtonMainExit();
//This is the new line you add
afx_msg void OnClickedButtonAbout();
//}}AFX_MSG
5. At the bottom of mainview.cpp, add the code for the button:
void CMainView::OnClickedButtonAbout()
{
//Get a pointer to the main app class
CTJFTPApp* ptr_App;
//Run the function in tjftp.cpp that opens the "About" dialog
ptr_App->OnAppAbout();
}
Rebuild and run the program. Click the button you created and you'll see the "About" dialog.
You can download the source for this at:
http://www.topjimmy.net/Public/TJFTPAbout.zip[^]
Regards,
shellraker
|
|
|
|
 |
|
 |
Many thanks for reply and the new code implementation.
Good!
Another question: how to add the "About..." item at the and of the system menu?
Thanks for your kindness.
Best regards.
Piccinano.
-- modified at 5:40 Tuesday 29th November, 2005
|
|
|
|
 |
|
 |
Thanks for your hard work!;)
|
|
|
|
 |
|
 |
Thanks
I'm looking for a FTP client that not use CInternetSession or CFtpConnection classes.
CInternetSession or CFtpConnection classes let me got problem.
Can you upload the old version for VC5?
Best regards
|
|
|
|
 |
|
|
 |
|
 |
I did it with VC 2003 and the first problems were:
mainview.cpp( Line Number: 1955, I changed to FindClose (hFind);//CloseHandle
I am sorry to say, that the mixing of GUI and working implementation in the mainview Class makes the implementation NOT resuable. But that is one key goal of software architecture.
This project was a lot of work, but why doesnt the GUI resize, and also variables are to initiliaze, and to check before use.
I hope you can stand my critics, and see the tips for improvement.
|
|
|
|
 |
|
 |
I just rechecked the source code download with VC++ 03, and it compiles fine. Are you compiling in "Release" or "Debug" mode? Should be "Release".
The reusability point is silly. As I said in the article, this project is for informational use. It was not designed to be modular, or an MFC class. If you want that, use the built in ftp classes in VS. And because FTP is event-driven, the GUI and the implementation go hand-in-hand.
As I stated in the article, the app is CFormView-derived, which you should know means that the GUI is based on a dialog, and therefore not resizable. Resizability was not a concern when I did this project. Creating a resizable app is a trivial matter, but if you need help, let me know.
As for "and also variables are to initiliaze, and to check before use", I have no idea what this means, or how it has any bearing on the intent of the article, which is to demonstrate basic FTP programming priciples.
This is an 8-year old app that was the first program I ever wrote (and helped get me an A+ on my Master's Thesis ). I have no plans (or time) for "improvement".
Shellraker
|
|
|
|
 |