Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automating FTP command 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I wrote a program to automatically ftp to a server.

When I do "mget", I have no problem getting all the files in the directory. But when I issued "mdelete *", it deleted only a few files. Any idea what is going on?

Thanks.
 
hi
check the permisssions on the files and the parent directory of these files.
Infact .netrc file also should have correct permissions (600) and correct
ownership to cause ftp command to work properly.
regds
Shiraz [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top