How to check for a directory during FTP from WinNT to HP-UNIX


 
Thread Tools Search this Thread
Top Forums Programming How to check for a directory during FTP from WinNT to HP-UNIX
# 1  
Old 03-09-2006
How to check for a directory during FTP from WinNT to HP-UNIX

hi All,

I have to Ftp a Directory from the WinNt to Hp-Unix, before that i have to check wether the same directory is present on HP-Unix, if it is then i have to delete that,& do the fresh FTP.

The problem is that i have to implement this in a C Program,which i have to develop on WinNT Envt.

Hope U will Help me in this reagrd.
# 2  
Old 03-09-2006
Please do not post technical questions in the non-technical forums.

I have moved this thread to a more appropriate place.

Thanks
ZB
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to transfer file from Local PC to UNIX Directory without FTP?

Dear All, i am trying to get the file from windows location to unix location without using FTP and neither thru entering the user id and password. I have one unix form which is running on web application and user is entering the location and file name there now i know the file name and path. So i... (8 Replies)
Discussion started by: ripudaman.singh
8 Replies

2. Shell Programming and Scripting

Problem with ftp- how to check if the remote directory exists.?

I am trying to initiate a ftp session from my shell script in the following way. In my script, as per my requirements i am writing the required ftp commands to a file and then I am using this file to carry out the ftp process. for example temp.txt will contain cd /home/user/mydir append... (2 Replies)
Discussion started by: anijan
2 Replies

3. Shell Programming and Scripting

Unix script to MOVE via FTP a directory

Good afternoon! I need to move a bunch of files from an FTP site to my server. However mget *, dele * will not suffice as I cannot guarantee that new files are not uploaded between commands. Roughly, this is what I would like to do: (using a .netrc) ftp somehost bin prompt cd... (1 Reply)
Discussion started by: abirdd
1 Replies

4. Shell Programming and Scripting

FTP scrtip: Unix to windows directory

Hi, I'm trying to automate a ftp from a unix box to a windows directory. But i want it to count and only move the files if they are there so that i can cron it. This is what i have, but seems to be failing, can anyone spot what is going wrong? #! /usr/bin/ksh cd ????/????/par/942852... (4 Replies)
Discussion started by: dappa
4 Replies

5. IP Networking

How to Transfer a whole Directory from unix to windows using FTP?

Hi I can transfer a single file and multiple file from unix to widows using get and mget command.But i dont know How to transfer a whole directory from unix to windows using command. pls help me Ramkumar (1 Reply)
Discussion started by: ramkumarm83
1 Replies

6. Shell Programming and Scripting

FTP script for sending a file from one unix directory to another unix server director

Hi, My local server is :/usr/abcd/ Remote server is :/Usr/host/test/ I want to send files from local unix directory(All files starting with O_999) to remote host unix directory. Can any body give me the Unix Shell script to do this. One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies

7. UNIX for Dummies Questions & Answers

Automated FTP to variable directory with error check

Hi, automated FTP that have error check and each product FTP will used the same userid/password to post(transfer) the file(s) from their <product> directory at UNIX to their <product> folder at Windows. such senarios as follows: NOTE: ======= ** Variable ** * The <product> is variable... (3 Replies)
Discussion started by: songtam
3 Replies

8. IP Networking

rcp from winnt to unix

I try an RCP command from winnt to unix and it works only with 2 pc but with the two others it dosen't work....? MS-DOS return this error msg : 0826-826 The host name for your address is not known. What can I do to resolve my probleme ? Dimitri Geneva - Switzerland (2 Replies)
Discussion started by: dfrangidis
2 Replies

9. UNIX for Dummies Questions & Answers

importing database from unix to winnt

i am a unix-super-beginner (swaddled and weaned on windows) and am trying to import a database from a unix directory into winnt. can someone help me or am i a hopeless case? (4 Replies)
Discussion started by: sadiecutie
4 Replies

10. UNIX for Dummies Questions & Answers

unix to winnt file transfer

how to pass files from unix to windows nt?help (8 Replies)
Discussion started by: srinivasanvs
8 Replies
Login or Register to Ask a Question