Computing.Net > Forums > Disk Operating System > comparing files via FTP connection

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

comparing files via FTP connection

Reply to Message Icon

Name: N
Date: October 13, 2003 at 10:06:42 Pacific
OS: Windows 2000 server
CPU/Ram: 2Ghz
Comment:

there is a server that is defined to my server's IP address, so only me can do the connection there..
i have a FTP user only over there...I have a batch file that uploads files from my server's specified location to their server's specified location and the same happens in downloading from theirs to mine...

what i need now, If you could possibly create a batch file that compares the files transfered from and to my server connecting to thier server by FTP...to see whether all of them are getting transferred or not (something like counting files here and counting files there as to gimme a result).....

Is that possible?????
Thank you very much in advance...




Sponsored Link
Ads by Google

Response Number 1
Name: Miskva
Date: October 14, 2003 at 02:49:17 Pacific
Reply:

It it possible, but not via FTP (I think). FTP's set of commands is powerful .. but it is not telnet .. What are want to do, can be done via telnet no problem, possible there are FTP commands I am not aware of, check that first..

Miskva


0

Response Number 2
Name: gumletis
Date: October 16, 2003 at 12:14:21 Pacific
Reply:

its possible... sorry im not so good to english..... first you have to made a file that do all the command....
'this is the first of the batch file its doese use the username and password ((((warning the password will be shown in the file :(
ECHO (username)>>(a file name)
ECHO (password)>>(a file name)
ECHO (command)>>(a file name)
ECHO (command)>>(a file name)

'this command connecet to (the server with the command there standt in the file over this
ftp -s:(a file name) (the server)

a good fx

@echo off
ECHO gumletis>>ss.txt
ECHO imlost>>ss.txt
ECHO put index.htm>>ss.txt
ECHO quit>>ss.txt
ftp -s:ss.txt micros---.com


this only works with FTP not with telnet :( ps if you wanna go on a server fx ftp://micros---.com don't use the ftp:// just the microsoft.com okay?
hope i help with my very bad english... email me if there are some problem.....



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


NTLDR is missing??? booting problem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: comparing files via FTP connection

comparing local and ftp,http files www.computing.net/answers/dos/comparing-local-and-ftphttp-files/12479.html

FTP only when file in directory www.computing.net/answers/dos/ftp-only-when-file-in-directory/14366.html

Ms-dos ftp www.computing.net/answers/dos/msdos-ftp/13009.html