|
try single quotes around the path name on the CD command : cd 'd:\' Don't know if it will work or not. Also, some of the FTP server code on PCs limits the paths or requires you enter the drives to be able to access remotely, so you may need to check out your server settings. -Bob Buchanan > Gary Kuznitz wrote: > > Thanks for the answer. > > I'm running the FTP from the 400 side. I tried the CD command > and it won't take the drive. It will change the directory on the C: > drive but won't accept the drive letter with the command. > > Thanks, > > Gary Kuznitz > > On 24 Jan 00, at 18:36, Matthias Oertli wrote: > > > Hi, > > Assuming you run your ftp client on the PC to log on to the ftp > server > > on the AS/400 you can either change to the drive and directory you > > want the file to end up before you start the ftp client or after you > > > started the client and logged in to the 400 you can change local > > drive/directory with LCD, e.g. LCD d:/directory followed by the GET. > > > > > If you are running the client on the 400 to log in to a PC based ftp > > > server, once you're logged in use CD to change drive/directory on > the > > PC, e.g. CD d:/directory followed by the PUT to send the AS/400 file > > > to the PC. > > > > HTH > > Regards, > > Matthias > > > > Gary Kuznitz wrote: > > > > > > Hi everyone, > > > > > > I have been trying to get a file with FTP from the 400 side to a > PC > > > D: drive. I tried using: > > > > > > GET D:/directory/file > > > > > > It doesn't like the D: part. Does anyone know how to change into > > > the D: drive from the 400 side in FTP? I have looked in all the > > > help and read the manuals and I can't find anything about changing > > > > the drive on the PC from the 400 side. > > > > > > If I do a: > > > > > > GET /directory/file > > > > > > It goes to the C: drive automatically. > > > > > > TIA, > > > > > > Gary Kuznitz > > > > > --------------------------------------------------------------------- > > Matthias Oertli <oertlim@s054.aone.net.au> +--- | This is the > > Midrange System Mailing List! | To submit a new message, send your > > mail to MIDRANGE-L@midrange.com. | To subscribe to this list send > > email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this > list > > send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be > > directed to the list owner/operator: david@midrange.com +--- > > > > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.