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

Re: problem with ftp_put



Sender: Brian@xxxxxxxxxx


Sorry about that.  The slash problem is just a typo in the e-mail.  I am
using "/" in the program.

By your response, am I to take it that I should be sending the complete
path and not just a file name?

Also, I only get the "not found" error when I only use just the file name
("test.savf", or "test").

If I use the full path "/QSYS.LIB/SNDVIPFTP.LIB/TEST.SAVF"  I get the
following error:
                    A path name is too long.

Pressing help on the error says, "The program is expecting a character
input field with a maximum length of 52."  The variable Path is a 52 byte
character in my program and I only count 33 characters in that text.

Brian J. Garland
Vermont Information Processing, Inc.
brian@xxxxxxxxxx



                                                                                                                                
                      Scott Klement                                                                                             
                      <klemscot@xxxxxxx        To:       ftpapi@xxxxxxxxxxxxx                                                   
                      s.com>                   cc:                                                                              
                      Sent by:                 Subject:  Re: problem with ftp_put                                               
                      owner-ftpapi@xxxx                                                                                         
                      e.ods.net                                                                                                 
                                                                                                                                
                                                                                                                                
                      10/18/2002 10:54                                                                                          
                      AM                                                                                                        
                      Please respond to                                                                                         
                      ftpapi                                                                                                    
                                                                                                                                
                                                                                                                                




Sender: Scott Klement <klemscot@xxxxxxxxxxxx>


You're close :)   You're using the wrong "slash" as a directory separator.

The following should work:

       /qsys.lib/sndvipftp.lib/test.savf

That is, of course, assuming that there is a file called "test.savf" in
the sndvipftp library.

On Fri, 18 Oct 2002 Brian@xxxxxxxxxx wrote:
>
> I have tried the following for Path and each time I get the error that it
> doesn't exist:
>       \qsys.lib\sndvipftp.lib\test.savf
>       test.savf
>       test
>

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------





-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------