Transfer Files to and from an FTP Server
Click here for a larger image.
Environment: Visual C++
The application that transfers the files will give a list of local drives in the system. After you Connect to the FTP server, it connects to the root of the server. Then the root items can be expanded and the required file transfer can be performed. It resembles the Explorer window.
It uses the MFC class CFtpConnection and CInternetSession to achieve the file transfer.
Comments
update the source file,it is not working
Posted by Legacy on 09/05/2003 12:00amOriginally posted by: Dinesh
haiiii....
Update the source file, it is not working
ReplyOpenFile failure
Posted by Legacy on 11/08/2002 12:00amOriginally posted by: Tim Bendon
When running this example on and FTP server the call to OpenFile always fails. Anybody familair with this problem?
thanks
Tim
ReplyVC++ + FTP
Posted by Legacy on 11/07/2002 12:00amOriginally posted by: abeezar
Would like to know how to use auto re-connect when fTP connection is lost.
Regards
ReplyAbeezar
Pc to WorkSatation problem
Posted by Legacy on 09/26/2002 12:00amOriginally posted by: Bruno
Good Job but when I try to download a file from Pc to WorkSatation an error occurs
550 /hostdir/myfile not a plain file
550 /hostdir/myfile no such file or directory
Why it Happen ?
ReplyExpansion problem
Posted by Legacy on 06/19/2002 12:00amOriginally posted by: Jim Altemose
Excellent Work , But Some problem
Posted by Legacy on 06/17/2002 12:00amOriginally posted by: Sujit
It's really a good work Vinoj.
But when I am trying to expand some of the folder
in the left window I am unable to do so. Can you please
let me know how this problem can be solved.
And also one more request , suppose I want to go to the
Home directry of the server(Presently it always go to root)
login when I Connect to Remote server ,
can you pls let me know how can it be done.
And aslo as we can connect to multiple server here ,
So how can we show the server name in the explorer left window.
need some help here.
Posted by Legacy on 06/16/2002 12:00amOriginally posted by: vik
hi,
Replynice work with ur FTP.
i need a report on it for submission.
could u pls mail it to me,
thank u,
Vik
There's a problem
Posted by Legacy on 06/14/2002 12:00amOriginally posted by: Alexi Jordanov
I can expand some of directories of solaris ftp server. I don't have such a ptoblem with BulletProof FTP client or any other FTP client.
For example I try to expand "export" node. I see it's subfolder "home" in right view but node is not expanded.
Also I think that it'll be a good idea to add in explorer (http://www.codeguru.com/atl/deskband.html is example how you can add bars in it. For my sorrow I don't know how you can add tree nodes in "Folders" bar. If someone knows let help you)
Regards, Alex
ReplyWhat about file-resume?
Posted by Legacy on 06/13/2002 12:00amOriginally posted by: Chris
Know how to implement file-resume?
Reply