[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ftp_get?



Its a text file on the ifs.  Am I wrong to have it go to the ifs?  Thanks.
 
I do wrklnk and get this
 
Object . . . . . . :   /QNTC/CHNT400/data/soundpath/new/SDP.TXT       
                                                                      
Type . . . . . . . . . . . . . . . . . :   DSTMF                      
                                                                      
Owner  . . . . . . . . . . . . . . . . :   QDFTOWN                    
System object is on  . . . . . . . . . :   Local                      
                                                                      
Coded character set ID . . . . . . . . :   1252                       
Hidden file  . . . . . . . . . . . . . :   No                         
PC system file . . . . . . . . . . . . :   No                         
Read only  . . . . . . . . . . . . . . :   No                         
                                                                      
Need to archive (PC) . . . . . . . . . :   Yes                        
                                                                      
Last access date/time  . . . . . . . . :   09/19/05  11:15:38         
Data change date/time  . . . . . . . . :   09/19/05  11:15:28         
Attribute change date/time . . . . . . :   09/19/05  10:52:34         

 
On 9/19/05, Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:
Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>


Type WRKOBJ mylib/myfile  (replace mylib/myfile with the name of the file
you're trying to replace)

Can you tell us the object Type and Attribute?


> I am noticing ftp_get is giving an error when the file already exists. I
> download(ftp_get) the file once and it works, I download it again
> expecting it to replace the previous downloaded file and I get the error
> and it doesnt get the file again. Error:
>   ftp_get(): Invalid object type. (Make a savefile )
>  Im downloading an ascii text file and have taken out the binary line
> ftp_binaryMode, is there an ascii equivalent I shoudl be using? Or just say
> binary *off?
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------