Link to home
Start Free TrialLog in
Avatar of Dee
DeeFlag for United States of America

asked on

How to ftp from one computer to another

I just got an assignment to develop an application that allows the user to scan a document and ftp it to the IP of another computer on the network.  I’ve done a little research on the net, but I don’t know where to start.  Do I need third party ftp software on both machines or can I connect through the OS?  I believe both machines have XP.  Do I need any info other than the IP address of the machine?

The app will require a user interface.   I will be developing this in vb.net.

Any advice to get me started is appreciated.
ASKER CERTIFIED SOLUTION
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello, if you remote pc have a shared folder you can use this methods to copy or move the files from one computer to other:

System.IO.File.Copy(source, destination)

Open in new window

Or
System.IO.File.Move(source, destination)

Open in new window


Just explore the System.IO.File class.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dee

ASKER

yobri, can you give me an example command line string to do this?

yv989c, thanks for your suggestion.  I am checking into this to see if I can just copy it to a network or shared folder.  Though since it is requested for specifically an ftp project for some reason, I am guess that is not feasible since I have done many projects that drop files in various locations for different applications to employ.

I'll take a look at the links posted.  Thanks.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dee

ASKER

Thanks Alex.

I still have questions to be answered from the end user mgr, but I did find out that the document to be ftp'd is going to one of our weaving looms and that ftp is supposedly the only way it will accept it.

I'm also told that the ftp is currently being done "manually" (not sure what they mean by that) and that there used to be a batch process in place that doesn't work  now and/or can't be used anymore for whatever reason.

So ... I'm waiting to get a chance to meet with the mfgr manager and check out the existing process, server, etc. before I can break any ground here.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dee

ASKER

Thanks CC.  That's my guess too.  I guess that would have to be the case?

And thanks AP.  I'll definitely look into possibility and will probably come back with questions.  I'm still waiting the meet with the person in charge so I can get going here.  

Ahhh .... the same old story ... You know the type --- not enough time in the day to meet with the person who can save them from digging themselves deeper in that enormous pit doing things the most inefficient way possible!  :O
Yeah usual business people :-)
Avatar of Dee

ASKER

normal ... usual ... business people.  Evolution will weed them all out. Then what would be called weird among a population of eggheads?  Sleep? Ha